Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
davidl.me
David's Wiki
Search
Search
Log in
Personal tools
Log in
C++: Difference between revisions
Page
Discussion
English
Read
View source
View history
Tools
Tools
move to sidebar
hide
Actions
Read
View source
View history
General
Special pages
Printable version
← 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,331
edits
Toggle limited content width