From e935a33a4d6dd965444e88c816989eeef61b480f Mon Sep 17 00:00:00 2001 From: Bananymous Date: Thu, 7 Dec 2023 10:15:18 +0200 Subject: [PATCH] BAN: add value_type to iterators --- BAN/include/BAN/Iterators.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/BAN/include/BAN/Iterators.h b/BAN/include/BAN/Iterators.h index 1e614232de..fe014e161e 100644 --- a/BAN/include/BAN/Iterators.h +++ b/BAN/include/BAN/Iterators.h @@ -8,6 +8,9 @@ namespace BAN template class IteratorSimpleGeneral { + public: + using value_type = T; + public: IteratorSimpleGeneral() = default; template> @@ -102,6 +105,8 @@ namespace BAN using InnerIterator = either_or_t; using OuterIterator = either_or_t; + using value_type = T; + public: IteratorDoubleGeneral() = default; template>