Home
Random
Log in
Settings
About David's Wiki
Disclaimers
David's Wiki
Search
C++: Difference between revisions
Page
Discussion
← Older edit
Newer edit →
C++
(view source)
Revision as of 22:24, 3 February 2020
45 bytes added
,
3 February 2020
→Deallocate
Revision as of 22:11, 3 February 2020
(
view source
)
David
(
talk
|
contribs
)
(
→Execution
)
← Older edit
Revision as of 22:24, 3 February 2020
(
view source
)
David
(
talk
|
contribs
)
(
→Deallocate
)
Newer edit →
Line 233:
Line 233:
// Or alternatively
// Or alternatively
// std::vector<float>().swap(my_vector);
// std::vector<float>().swap(my_vector);
// std::swap(my_vector, std::vector<float>);
// Swap for cl::Buffer
// Swap for cl::Buffer
David
Bureaucrats
,
Interface administrators
,
Administrators
5,337
edits