From 5e06815613cf8ae421fbecbb4bc28db38799acda Mon Sep 17 00:00:00 2001 From: "Jeroen F.J. Laros" Date: Mon, 21 Oct 2024 19:17:24 +0200 Subject: [PATCH] Documentation. --- docs/api/tuple.rst | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/docs/api/tuple.rst b/docs/api/tuple.rst index eba0255..c296427 100644 --- a/docs/api/tuple.rst +++ b/docs/api/tuple.rst @@ -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. @@ -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.