Skip to content

Commit

Permalink
Documentation.
Browse files Browse the repository at this point in the history
  • Loading branch information
jfjlaros committed Oct 21, 2024
1 parent 07cf676 commit 5e06815
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions docs/api/tuple.rst
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ Elements of a Tuple can be retrieved in two ways, either via the ``head`` and
char c = t.tail.head;
int j = get<0>(t);
char d = get<1>(t)';
char d = get<1>(t);
Likewise, assignment of an element can be done via its member variables or with
the ``get<>()`` helper function.
Expand All @@ -56,8 +56,6 @@ the ``get<>()`` helper function.
get<0>(t) = 11;
get<1>(t) = 'd';
There are additional helper functions available for the creation of Tuples.

The function ``makeTuple()`` can be used to create a temporary Tuple to be used in a
function call.

Expand Down

0 comments on commit 5e06815

Please sign in to comment.