Skip to content

Commit

Permalink
Fix a typo in multi_ptr::operator= documentation
Browse files Browse the repository at this point in the history
Cherry pick #642 from sycl-2020
(cherry picked from commit 05469ac)
  • Loading branch information
tomdeakin authored and gmlueck committed Nov 7, 2024
1 parent 8424248 commit b246ce2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions adoc/chapters/programming_interface.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -10135,7 +10135,7 @@ operator=(const multi_ptr<value_type, AS, IsDecorated>&)
----
a@ Available only when: [code]#(Space == access::address_space::generic_space && AS != access::address_space::constant_space)#.

Assigns the value of the left hand side [code]#multi_ptr# into the [code]#generic_ptr#.
Assigns the value of the right hand side [code]#multi_ptr# into the [code]#generic_ptr#.

a@
[source]
Expand All @@ -10148,7 +10148,7 @@ operator=(multi_ptr<value_type, AS, IsDecorated>&&)
a@ Available only when:
[code]#(Space == access::address_space::generic_space && AS != access::address_space::constant_space)#.

Move the value of the left hand side [code]#multi_ptr# into the [code]#generic_ptr#.
Move the value of the right hand side [code]#multi_ptr# into the [code]#generic_ptr#.

a@
[source]
Expand Down

0 comments on commit b246ce2

Please sign in to comment.