Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/boostorg/compute
/ swap
Method
swap
include/boost/compute/container/array.hpp:234–237 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
232
}
233
234
void swap(array<T, N> &other)
235
{
236
::boost::compute::swap_ranges(begin(), end(), other.begin());
237
}
238
239
const buffer& get_buffer() const
240
{
Callers
3
BOOST_AUTO_TEST_CASE
Function · 0.45
BOOST_AUTO_TEST_CASE
Function · 0.45
BOOST_AUTO_TEST_CASE
Function · 0.45
Calls
2
swap_ranges
Function · 0.85
begin
Method · 0.45
Tested by
3
BOOST_AUTO_TEST_CASE
Function · 0.36
BOOST_AUTO_TEST_CASE
Function · 0.36
BOOST_AUTO_TEST_CASE
Function · 0.36