summaryrefslogtreecommitdiff
path: root/include/lib/modernjson/detail/iterators/internal_iterator.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/lib/modernjson/detail/iterators/internal_iterator.hpp')
-rw-r--r--include/lib/modernjson/detail/iterators/internal_iterator.hpp25
1 files changed, 0 insertions, 25 deletions
diff --git a/include/lib/modernjson/detail/iterators/internal_iterator.hpp b/include/lib/modernjson/detail/iterators/internal_iterator.hpp
deleted file mode 100644
index e1c12a8..0000000
--- a/include/lib/modernjson/detail/iterators/internal_iterator.hpp
+++ /dev/null
@@ -1,25 +0,0 @@
-#pragma once
-
-#include <lib/modernjson/detail/iterators/primitive_iterator.hpp>
-
-namespace nlohmann
-{
-namespace detail
-{
-/*!
-@brief an iterator value
-
-@note This structure could easily be a union, but MSVC currently does not allow
-unions members with complex constructors, see https://github.com/nlohmann/json/pull/105.
-*/
-template<typename BasicJsonType> struct internal_iterator
-{
- /// iterator for JSON objects
- typename BasicJsonType::object_t::iterator object_iterator {};
- /// iterator for JSON arrays
- typename BasicJsonType::array_t::iterator array_iterator {};
- /// generic iterator for all other types
- primitive_iterator_t primitive_iterator {};
-};
-} // namespace detail
-} // namespace nlohmann