In file included from /opt/gcc/gcc-10/include/c++/10.0.1/bits/move.h:57, from /opt/gcc/gcc-10/include/c++/10.0.1/bits/stl_pair.h:59, from /opt/gcc/gcc-10/include/c++/10.0.1/utility:70, from /opt/gcc/gcc-10/include/c++/10.0.1/algorithm:60, from _build/git-worktrees/git@lys-git.cisco.com/mirrors/nlohmann-json.git/v3.7.3/include/nlohmann/json.hpp:37, from presentation.cpp:1: /opt/gcc/gcc-10/include/c++/10.0.1/type_traits: In instantiation of ‘struct std::is_constructible, bool, long int, long unsigned int, double, std::allocator, serialize>, const nlohmann::basic_json, std::allocator >, bool, long int, long unsigned int, double, std::allocator, serialize>&>’: _build/git-worktrees/git@lys-git.cisco.com/mirrors/nlohmann-json.git/v3.7.3/include/nlohmann/detail/json_ref.hpp:32:79: required by substitution of ‘template, bool, long int, long unsigned int, double, std::allocator, serialize>, Args ...>::value, int>::type > nlohmann::detail::json_ref, bool, long int, long unsigned int, double, std::allocator, serialize> >::json_ref(Args&& ...) [with Args = {const nlohmann::basic_json, std::allocator >, bool, long int, long unsigned int, double, std::allocator, serialize>&}; typename std::enable_if, bool, long int, long unsigned int, double, std::allocator, serialize>, Args ...>::value, int>::type = ]’ /opt/gcc/gcc-10/include/c++/10.0.1/type_traits:897:30: required from ‘struct std::__is_constructible_impl, bool, long int, long unsigned int, double, std::allocator, serialize>, const nlohmann::basic_json, std::allocator >, bool, long int, long unsigned int, double, std::allocator, serialize>&>’ /opt/gcc/gcc-10/include/c++/10.0.1/type_traits:926:12: required from ‘struct std::__is_copy_constructible_impl, bool, long int, long unsigned int, double, std::allocator, serialize>, true>’ /opt/gcc/gcc-10/include/c++/10.0.1/type_traits:932:12: required from ‘struct std::is_copy_constructible, bool, long int, long unsigned int, double, std::allocator, serialize> >’ /opt/gcc/gcc-10/include/c++/10.0.1/type_traits:3109:25: required from ‘constexpr const bool std::is_copy_constructible_v, bool, long int, long unsigned int, double, std::allocator, serialize> >’ /opt/gcc/gcc-10/include/c++/10.0.1/variant:291:5: required from ‘constexpr const bool std::__detail::__variant::_Traits, std::allocator >, bool, long int, long unsigned int, double, std::allocator, serialize> >::_S_copy_ctor’ /opt/gcc/gcc-10/include/c++/10.0.1/variant:1245:11: required from ‘class std::variant, std::allocator >, bool, long int, long unsigned int, double, std::allocator, serialize> >’ presentation.cpp:41:13: required from here /opt/gcc/gcc-10/include/c++/10.0.1/type_traits:902:12: error: invalid use of incomplete type ‘struct std::__is_constructible_impl, bool, long int, long unsigned int, double, std::allocator, serialize>, const nlohmann::basic_json, std::allocator >, bool, long int, long unsigned int, double, std::allocator, serialize>&>’ 902 | struct is_constructible | ^~~~~~~~~~~~~~~~ /opt/gcc/gcc-10/include/c++/10.0.1/type_traits:896:12: note: declaration of ‘struct std::__is_constructible_impl, bool, long int, long unsigned int, double, std::allocator, serialize>, const nlohmann::basic_json, std::allocator >, bool, long int, long unsigned int, double, std::allocator, serialize>&>’ 896 | struct __is_constructible_impl | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /opt/gcc/gcc-10/include/c++/10.0.1/utility:70, from /opt/gcc/gcc-10/include/c++/10.0.1/algorithm:60, from _build/git-worktrees/git@lys-git.cisco.com/mirrors/nlohmann-json.git/v3.7.3/include/nlohmann/json.hpp:37, from presentation.cpp:1: /opt/gcc/gcc-10/include/c++/10.0.1/bits/stl_pair.h: In instantiation of ‘static constexpr bool std::_PCC<, _T1, _T2>::_ConstructiblePair() [with _U1 = const std::__cxx11::basic_string; _U2 = nlohmann::basic_json, bool, long int, long unsigned int, double, std::allocator, serialize>; bool = true; _T1 = const std::__cxx11::basic_string; _T2 = nlohmann::basic_json, bool, long int, long unsigned int, double, std::allocator, serialize>]’: /opt/gcc/gcc-10/include/c++/10.0.1/bits/stl_pair.h:261:35: required by substitution of ‘template() && _ImplicitlyConvertiblePair<_U1, _U2>()), bool>::type > constexpr std::pair, nlohmann::basic_json, bool, long int, long unsigned int, double, std::allocator, serialize> >::pair(const std::__cxx11::basic_string&, const nlohmann::basic_json, bool, long int, long unsigned int, double, std::allocator, serialize>&) [with _U1 = const std::__cxx11::basic_string; _U2 = nlohmann::basic_json, bool, long int, long unsigned int, double, std::allocator, serialize>; typename std::enable_if<(_ConstructiblePair<_U1, _U2>() && _ImplicitlyConvertiblePair<_U1, _U2>()), bool>::type = ]’ /opt/gcc/gcc-10/include/c++/10.0.1/bits/alloc_traits.h:504:20: required from ‘static void std::allocator_traits >::construct(std::allocator_traits >::allocator_type&, _Up*, _Args&& ...) [with _Up = std::pair, nlohmann::basic_json, bool, long int, long unsigned int, double, std::allocator, serialize> >; _Args = {std::__cxx11::basic_string, std::allocator >, nlohmann::basic_json, std::allocator >, bool, long int, long unsigned int, double, std::allocator, serialize>}; _Tp = std::_Rb_tree_node, nlohmann::basic_json, bool, long int, long unsigned int, double, std::allocator, serialize> > >; std::allocator_traits >::allocator_type = std::allocator, nlohmann::basic_json, bool, long int, long unsigned int, double, std::allocator, serialize> > > >]’ /opt/gcc/gcc-10/include/c++/10.0.1/bits/stl_tree.h:614:32: required from ‘void std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_construct_node(std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_Link_type, _Args&& ...) [with _Args = {std::__cxx11::basic_string, std::allocator >, nlohmann::basic_json, std::allocator >, bool, long int, long unsigned int, double, std::allocator, serialize>}; _Key = std::__cxx11::basic_string; _Val = std::pair, nlohmann::basic_json, bool, long int, long unsigned int, double, std::allocator, serialize> >; _KeyOfValue = std::_Select1st, nlohmann::basic_json, bool, long int, long unsigned int, double, std::allocator, serialize> > >; _Compare = std::less; _Alloc = std::allocator, nlohmann::basic_json, bool, long int, long unsigned int, double, std::allocator, serialize> > >; std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_Link_type = std::_Rb_tree_node, nlohmann::basic_json, bool, long int, long unsigned int, double, std::allocator, serialize> > >*]’ /opt/gcc/gcc-10/include/c++/10.0.1/bits/stl_tree.h:631:21: required from ‘std::_Rb_tree_node<_Val>* std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_create_node(_Args&& ...) [with _Args = {std::__cxx11::basic_string, std::allocator >, nlohmann::basic_json, std::allocator >, bool, long int, long unsigned int, double, std::allocator, serialize>}; _Key = std::__cxx11::basic_string; _Val = std::pair, nlohmann::basic_json, bool, long int, long unsigned int, double, std::allocator, serialize> >; _KeyOfValue = std::_Select1st, nlohmann::basic_json, bool, long int, long unsigned int, double, std::allocator, serialize> > >; _Compare = std::less; _Alloc = std::allocator, nlohmann::basic_json, bool, long int, long unsigned int, double, std::allocator, serialize> > >; std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_Link_type = std::_Rb_tree_node, nlohmann::basic_json, bool, long int, long unsigned int, double, std::allocator, serialize> > >*]’ /opt/gcc/gcc-10/include/c++/10.0.1/bits/stl_tree.h:2399:33: required from ‘std::pair, bool> std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_emplace_unique(_Args&& ...) [with _Args = {std::__cxx11::basic_string, std::allocator >, nlohmann::basic_json, std::allocator >, bool, long int, long unsigned int, double, std::allocator, serialize>}; _Key = std::__cxx11::basic_string; _Val = std::pair, nlohmann::basic_json, bool, long int, long unsigned int, double, std::allocator, serialize> >; _KeyOfValue = std::_Select1st, nlohmann::basic_json, bool, long int, long unsigned int, double, std::allocator, serialize> > >; _Compare = std::less; _Alloc = std::allocator, nlohmann::basic_json, bool, long int, long unsigned int, double, std::allocator, serialize> > >]’ /opt/gcc/gcc-10/include/c++/10.0.1/bits/stl_map.h:577:33: required from ‘std::pair, std::_Select1st >, _Compare, typename __gnu_cxx::__alloc_traits<_Allocator>::rebind >::other>::iterator, bool> std::map<_Key, _Tp, _Compare, _Alloc>::emplace(_Args&& ...) [with _Args = {std::__cxx11::basic_string, std::allocator >, nlohmann::basic_json, std::allocator >, bool, long int, long unsigned int, double, std::allocator, serialize>}; _Key = std::__cxx11::basic_string; _Tp = nlohmann::basic_json, bool, long int, long unsigned int, double, std::allocator, serialize>; _Compare = std::less; _Alloc = std::allocator, nlohmann::basic_json, bool, long int, long unsigned int, double, std::allocator, serialize> > >; typename std::_Rb_tree<_Key, std::pair, std::_Select1st >, _Compare, typename __gnu_cxx::__alloc_traits<_Allocator>::rebind >::other>::iterator = std::_Rb_tree, std::pair, nlohmann::basic_json, bool, long int, long unsigned int, double, std::allocator, serialize> >, std::_Select1st, nlohmann::basic_json, bool, long int, long unsigned int, double, std::allocator, serialize> > >, std::less, std::allocator, nlohmann::basic_json, bool, long int, long unsigned int, double, std::allocator, serialize> > > >::iterator]’ _build/git-worktrees/git@lys-git.cisco.com/mirrors/nlohmann-json.git/v3.7.3/include/nlohmann/json.hpp:1493:40: required from ‘nlohmann::basic_json::basic_json(nlohmann::basic_json::initializer_list_t, bool, nlohmann::basic_json::value_t) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = serialize; nlohmann::basic_json::initializer_list_t = std::initializer_list, bool, long int, long unsigned int, double, std::allocator, serialize> > >; nlohmann::basic_json::value_t = nlohmann::detail::value_t]’ presentation.cpp:38:34: required from here /opt/gcc/gcc-10/include/c++/10.0.1/bits/stl_pair.h:106:45: error: ‘value’ is not a member of ‘std::__and_, std::allocator >, const std::__cxx11::basic_string, std::allocator >&>, std::is_constructible, std::allocator >, bool, long int, long unsigned int, double, std::allocator, serialize>, const nlohmann::basic_json, std::allocator >, bool, long int, long unsigned int, double, std::allocator, serialize>&> >’ 106 | is_constructible<_T2, const _U2&>>::value; | ^~~~~ In file included from /opt/gcc/gcc-10/include/c++/10.0.1/vector:66, from /opt/gcc/gcc-10/include/c++/10.0.1/functional:62, from /opt/gcc/gcc-10/include/c++/10.0.1/pstl/glue_algorithm_defs.h:13, from /opt/gcc/gcc-10/include/c++/10.0.1/algorithm:71, from _build/git-worktrees/git@lys-git.cisco.com/mirrors/nlohmann-json.git/v3.7.3/include/nlohmann/json.hpp:37, from presentation.cpp:1: /opt/gcc/gcc-10/include/c++/10.0.1/bits/stl_uninitialized.h: In instantiation of ‘_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator, bool, long int, long unsigned int, double, std::allocator, serialize>*, std::vector, bool, long int, long unsigned int, double, std::allocator, serialize>, std::allocator, bool, long int, long unsigned int, double, std::allocator, serialize> > > >; _ForwardIterator = nlohmann::basic_json, bool, long int, long unsigned int, double, std::allocator, serialize>*]’: /opt/gcc/gcc-10/include/c++/10.0.1/bits/stl_uninitialized.h:325:37: required from ‘_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, std::allocator<_Tp>&) [with _InputIterator = __gnu_cxx::__normal_iterator, bool, long int, long unsigned int, double, std::allocator, serialize>*, std::vector, bool, long int, long unsigned int, double, std::allocator, serialize>, std::allocator, bool, long int, long unsigned int, double, std::allocator, serialize> > > >; _ForwardIterator = nlohmann::basic_json, bool, long int, long unsigned int, double, std::allocator, serialize>*; _Tp = nlohmann::basic_json, bool, long int, long unsigned int, double, std::allocator, serialize>]’ /opt/gcc/gcc-10/include/c++/10.0.1/bits/stl_vector.h:555:31: required from ‘std::vector<_Tp, _Alloc>::vector(const std::vector<_Tp, _Alloc>&) [with _Tp = nlohmann::basic_json, bool, long int, long unsigned int, double, std::allocator, serialize>; _Alloc = std::allocator, bool, long int, long unsigned int, double, std::allocator, serialize> >]’ /opt/gcc/gcc-10/include/c++/10.0.1/ext/new_allocator.h:151:4: required from ‘void __gnu_cxx::new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = std::vector, bool, long int, long unsigned int, double, std::allocator, serialize>, std::allocator, bool, long int, long unsigned int, double, std::allocator, serialize> > >; _Args = {const std::vector, std::allocator >, bool, long int, long unsigned int, double, std::allocator, serialize>, std::allocator, std::allocator >, bool, long int, long unsigned int, double, std::allocator, serialize> > >&}; _Tp = std::vector, bool, long int, long unsigned int, double, std::allocator, serialize>, std::allocator, bool, long int, long unsigned int, double, std::allocator, serialize> > >]’ /opt/gcc/gcc-10/include/c++/10.0.1/bits/alloc_traits.h:507:17: required from ‘static void std::allocator_traits >::construct(std::allocator_traits >::allocator_type&, _Up*, _Args&& ...) [with _Up = std::vector, bool, long int, long unsigned int, double, std::allocator, serialize>, std::allocator, bool, long int, long unsigned int, double, std::allocator, serialize> > >; _Args = {const std::vector, std::allocator >, bool, long int, long unsigned int, double, std::allocator, serialize>, std::allocator, std::allocator >, bool, long int, long unsigned int, double, std::allocator, serialize> > >&}; _Tp = std::vector, bool, long int, long unsigned int, double, std::allocator, serialize>, std::allocator, bool, long int, long unsigned int, double, std::allocator, serialize> > >; std::allocator_traits >::allocator_type = std::allocator, bool, long int, long unsigned int, double, std::allocator, serialize>, std::allocator, bool, long int, long unsigned int, double, std::allocator, serialize> > > >]’ _build/git-worktrees/git@lys-git.cisco.com/mirrors/nlohmann-json.git/v3.7.3/include/nlohmann/json.hpp:838:35: required from ‘static T* nlohmann::basic_json::create(Args&& ...) [with T = std::vector, bool, long int, long unsigned int, double, std::allocator, serialize>, std::allocator, bool, long int, long unsigned int, double, std::allocator, serialize> > >; Args = {const std::vector, std::allocator >, bool, long int, long unsigned int, double, std::allocator, serialize>, std::allocator, std::allocator >, bool, long int, long unsigned int, double, std::allocator, serialize> > >&}; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = serialize]’ _build/git-worktrees/git@lys-git.cisco.com/mirrors/nlohmann-json.git/v3.7.3/include/nlohmann/json.hpp:990:36: required from ‘nlohmann::basic_json::json_value::json_value(const array_t&) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = serialize; nlohmann::basic_json::array_t = std::vector, bool, long int, long unsigned int, double, std::allocator, serialize>, std::allocator, bool, long int, long unsigned int, double, std::allocator, serialize> > >]’ _build/git-worktrees/git@lys-git.cisco.com/mirrors/nlohmann-json.git/v3.7.3/include/nlohmann/json.hpp:1822:25: required from ‘nlohmann::basic_json::basic_json(const nlohmann::basic_json&) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = serialize]’ _build/git-worktrees/git@lys-git.cisco.com/mirrors/nlohmann-json.git/v3.7.3/include/nlohmann/detail/json_ref.hpp:50:17: required from ‘nlohmann::detail::json_ref::value_type nlohmann::detail::json_ref::moved_or_copied() const [with BasicJsonType = nlohmann::basic_json, bool, long int, long unsigned int, double, std::allocator, serialize>; nlohmann::detail::json_ref::value_type = nlohmann::basic_json, bool, long int, long unsigned int, double, std::allocator, serialize>]’ _build/git-worktrees/git@lys-git.cisco.com/mirrors/nlohmann-json.git/v3.7.3/include/nlohmann/json.hpp:1492:59: required from ‘nlohmann::basic_json::basic_json(nlohmann::basic_json::initializer_list_t, bool, nlohmann::basic_json::value_t) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = serialize; nlohmann::basic_json::initializer_list_t = std::initializer_list, bool, long int, long unsigned int, double, std::allocator, serialize> > >; nlohmann::basic_json::value_t = nlohmann::detail::value_t]’ presentation.cpp:38:34: required from here /opt/gcc/gcc-10/include/c++/10.0.1/bits/stl_uninitialized.h:137:72: error: ‘value’ is not a member of ‘std::is_constructible, bool, long int, long unsigned int, double, std::allocator, serialize>, const nlohmann::basic_json, std::allocator >, bool, long int, long unsigned int, double, std::allocator, serialize>&>’ 137 | static_assert(is_constructible<_ValueType2, decltype(*__first)>::value, | ^~~~~