Skip to content

Commit

Permalink
UniqueToken.rst: fix constructors
Browse files Browse the repository at this point in the history
  • Loading branch information
ajpowelsnl committed Nov 11, 2024
1 parent 25a2ef3 commit 0156d10
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions docs/source/API/core/parallel-dispatch/UniqueToken.rst
Original file line number Diff line number Diff line change
Expand Up @@ -38,13 +38,14 @@ Constructors

.. code-block:: cpp
UniqueToken(size_t max_size, ExecutionSpace execution_space = ExecutionSpace())
UniqueToken(size_t max_size, ExecutionSpace execution_space = ExecutionSpace{})
// Scope is instance
.. code-block:: cpp
UniqueToken(size_t max_size, ExecutionSpace execution_space = ExecutionSpace()) requires(TokenScope == Global);
// Scope is global
UniqueToken(ExecutionSpace execution_space = ExecutionSpace{});
// Scope is instance or global
Public Member Functions
Expand Down

0 comments on commit 0156d10

Please sign in to comment.