From 944e93dc3332f2a61abe32b23452fe3e1a2bcc8c Mon Sep 17 00:00:00 2001 From: Alejandro Gallo Date: Fri, 15 Oct 2021 18:58:55 +0200 Subject: [PATCH] Define FAKE_TUPLE --- atrip.org | 2 ++ include/atrip/Tuples.hpp | 2 ++ 2 files changed, 4 insertions(+) diff --git a/atrip.org b/atrip.org index 2500ea0..0f68b9d 100644 --- a/atrip.org +++ b/atrip.org @@ -1416,6 +1416,8 @@ whereas a partial tuple is a two dimensional subset of these three. using ABCTuple = std::array; using PartialTuple = std::array; using ABCTuples = std::vector; + +constexpr ABCTuple FAKE_TUPLE = {0, 0, 0}; #+end_src *** Naive list diff --git a/include/atrip/Tuples.hpp b/include/atrip/Tuples.hpp index a538389..dc1297d 100644 --- a/include/atrip/Tuples.hpp +++ b/include/atrip/Tuples.hpp @@ -15,6 +15,8 @@ namespace atrip { using ABCTuple = std::array; using PartialTuple = std::array; using ABCTuples = std::vector; + +constexpr ABCTuple FAKE_TUPLE = {0, 0, 0}; // Tuples types:1 ends here // [[file:../../atrip.org::*Naive list][Naive list:1]]