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 17:45, 24 October 2019
33 bytes added
,
24 October 2019
→Deallocate
Revision as of 17:37, 24 October 2019
(
view source
)
David
(
talk
|
contribs
)
(
→Deallocate
)
← Older edit
Revision as of 17:45, 24 October 2019
(
view source
)
David
(
talk
|
contribs
)
(
→Deallocate
)
Newer edit →
Line 191:
Line 191:
{
{
// Moves ownership to temp
// Moves ownership to temp
cl::Buffer temp = my_buf;
cl::Buffer temp(my_buf);
// or
cl::Buffer temp = my_buf;
}
}
David
Bureaucrats
,
Interface administrators
,
Administrators
5,321
edits