Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- In file included from C:\Users\Danny\Documents\Visual Studio 2012\Projects\CppStrayFiles\test3.cpp:1:0:
- c:\mingw32\include\c++\4.8.1\tuple: In instantiation of 'struct std::tuple_element<1u, std::tuple<float> >':
- c:\mingw32\include\c++\4.8.1\tuple:680:12: recursively required from 'struct std::tuple_element<2u, std::tuple<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, float> >'
- c:\mingw32\include\c++\4.8.1\tuple:680:12: required from 'struct std::tuple_element<3u, std::tuple<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, float> >'
- c:\mingw32\include\c++\4.8.1\tuple:771:5: required by substitution of 'template<unsigned int __i, class ... _Elements> constexpr typename std::__add_r_ref<typename std::tuple_element<__i, std::tuple<_Elements ...> >::type>::type std::get(std::tuple<_Elements ...>&&) [with unsigned int __i = 3u; _Elements = {std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, float}]'
- C:\Users\Danny\Documents\Visual Studio 2012\Projects\CppStrayFiles\test3.cpp:50:45: recursively required from 'typename std::enable_if<(N < sizeof (Args ...)), decltype (f(get<N>(tup)))>::type get(Functor, size_t, std::tuple<_Tail ...>&) [with unsigned int N = 1u; Functor = get_element; Args = {std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, float}; typename std::enable_if<(N < sizeof (Args ...)), decltype (f(get<N>(tup)))>::type = std::basic_string<char>; size_t = unsigned int]'
- C:\Users\Danny\Documents\Visual Studio 2012\Projects\CppStrayFiles\test3.cpp:50:45: required from 'typename std::enable_if<(N < sizeof (Args ...)), decltype (f(get<N>(tup)))>::type get(Functor, size_t, std::tuple<_Tail ...>&) [with unsigned int N = 0u; Functor = get_element; Args = {std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, float}; typename std::enable_if<(N < sizeof (Args ...)), decltype (f(get<N>(tup)))>::type = std::basic_string<char>; size_t = unsigned int]'
- C:\Users\Danny\Documents\Visual Studio 2012\Projects\CppStrayFiles\test3.cpp:101:46: required from here
- c:\mingw32\include\c++\4.8.1\tuple:680:12: error: invalid use of incomplete type 'struct std::tuple_element<0u, std::tuple<> >'
- struct tuple_element<__i, tuple<_Head, _Tail...> >
- ^
- In file included from c:\mingw32\include\c++\4.8.1\tuple:38:0,
- from C:\Users\Danny\Documents\Visual Studio 2012\Projects\CppStrayFiles\test3.cpp:1:
- c:\mingw32\include\c++\4.8.1\utility:84:11: error: declaration of 'struct std::tuple_element<0u, std::tuple<> >'
- class tuple_element;
- ^
- C:\Users\Danny\Documents\Visual Studio 2012\Projects\CppStrayFiles\test3.cpp: In instantiation of 'typename std::enable_if<(N < sizeof (Args ...)), decltype (f(get<N>(tup)))>::type get(Functor, size_t, std::tuple<_Tail ...>&) [with unsigned int N = 2u; Functor = get_element; Args = {std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, float}; typename std::enable_if<(N < sizeof (Args ...)), decltype (f(get<N>(tup)))>::type = float; size_t = unsigned int]':
- C:\Users\Danny\Documents\Visual Studio 2012\Projects\CppStrayFiles\test3.cpp:50:45: recursively required from 'typename std::enable_if<(N < sizeof (Args ...)), decltype (f(get<N>(tup)))>::type get(Functor, size_t, std::tuple<_Tail ...>&) [with unsigned int N = 1u; Functor = get_element; Args = {std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, float}; typename std::enable_if<(N < sizeof (Args ...)), decltype (f(get<N>(tup)))>::type = std::basic_string<char>; size_t = unsigned int]'
- C:\Users\Danny\Documents\Visual Studio 2012\Projects\CppStrayFiles\test3.cpp:50:45: required from 'typename std::enable_if<(N < sizeof (Args ...)), decltype (f(get<N>(tup)))>::type get(Functor, size_t, std::tuple<_Tail ...>&) [with unsigned int N = 0u; Functor = get_element; Args = {std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, float}; typename std::enable_if<(N < sizeof (Args ...)), decltype (f(get<N>(tup)))>::type = std::basic_string<char>; size_t = unsigned int]'
- C:\Users\Danny\Documents\Visual Studio 2012\Projects\CppStrayFiles\test3.cpp:101:46: required from here
- C:\Users\Danny\Documents\Visual Studio 2012\Projects\CppStrayFiles\test3.cpp:50:45: error: no matching function for call to 'get(get_element&, const size_t&, std::tuple<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, float>&)'
- get<N+1, Functor, Args...>(f, i, tup);
- ^
- C:\Users\Danny\Documents\Visual Studio 2012\Projects\CppStrayFiles\test3.cpp:50:45: note: candidates are:
- C:\Users\Danny\Documents\Visual Studio 2012\Projects\CppStrayFiles\test3.cpp:31:6: note: template<unsigned int N, class Functor, class ... Args> typename std::enable_if<(N == sizeof (Args ...)), decltype (f(get<N>(tup)))>::type get(Functor, size_t, const std::tuple<_Tail ...>&)
- auto get(Functor f, const size_t i, const std::tuple<Args...>& tup)-> typename std::enable_if<N == sizeof...(Args), decltype(f(std::get<N>(tup)))>::type {}
- ^
- C:\Users\Danny\Documents\Visual Studio 2012\Projects\CppStrayFiles\test3.cpp:31:6: note: template argument deduction/substitution failed:
- C:\Users\Danny\Documents\Visual Studio 2012\Projects\CppStrayFiles\test3.cpp: In substitution of 'template<unsigned int N, class Functor, class ... Args> typename std::enable_if<(N == sizeof (Args ...)), decltype (f(get<N>(tup)))>::type get(Functor, size_t, const std::tuple<_Tail ...>&) [with unsigned int N = 3u; Functor = get_element; Args = {std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, float}]':
- C:\Users\Danny\Documents\Visual Studio 2012\Projects\CppStrayFiles\test3.cpp:50:45: recursively required from 'typename std::enable_if<(N < sizeof (Args ...)), decltype (f(get<N>(tup)))>::type get(Functor, size_t, std::tuple<_Tail ...>&) [with unsigned int N = 1u; Functor = get_element; Args = {std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, float}; typename std::enable_if<(N < sizeof (Args ...)), decltype (f(get<N>(tup)))>::type = std::basic_string<char>; size_t = unsigned int]'
- C:\Users\Danny\Documents\Visual Studio 2012\Projects\CppStrayFiles\test3.cpp:50:45: required from 'typename std::enable_if<(N < sizeof (Args ...)), decltype (f(get<N>(tup)))>::type get(Functor, size_t, std::tuple<_Tail ...>&) [with unsigned int N = 0u; Functor = get_element; Args = {std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, float}; typename std::enable_if<(N < sizeof (Args ...)), decltype (f(get<N>(tup)))>::type = std::basic_string<char>; size_t = unsigned int]'
- C:\Users\Danny\Documents\Visual Studio 2012\Projects\CppStrayFiles\test3.cpp:101:46: required from here
- C:\Users\Danny\Documents\Visual Studio 2012\Projects\CppStrayFiles\test3.cpp:31:143: error: no matching function for call to 'get(const std::tuple<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, float>&)'
- auto get(Functor f, const size_t i, const std::tuple<Args...>& tup)-> typename std::enable_if<N == sizeof...(Args), decltype(f(std::get<N>(tup)))>::type {}
- ^
- C:\Users\Danny\Documents\Visual Studio 2012\Projects\CppStrayFiles\test3.cpp:31:143: note: candidates are:
- In file included from c:\mingw32\include\c++\4.8.1\tuple:38:0,
- from C:\Users\Danny\Documents\Visual Studio 2012\Projects\CppStrayFiles\test3.cpp:1:
- c:\mingw32\include\c++\4.8.1\utility:142:5: note: template<unsigned int _Int, class _Tp1, class _Tp2> constexpr typename std::tuple_element<_Int, std::pair<_Tp1, _Tp2> >::type& std::get(std::pair<_Tp1, _Tp2>&)
- get(std::pair<_Tp1, _Tp2>& __in) noexcept
- ^
- c:\mingw32\include\c++\4.8.1\utility:142:5: note: template argument deduction/substitution failed:
- C:\Users\Danny\Documents\Visual Studio 2012\Projects\CppStrayFiles\test3.cpp:31:143: note: types 'std::pair<_Tp1, _Tp2>' and 'const std::tuple<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, float>' have incompatible cv-qualifiers
- auto get(Functor f, const size_t i, const std::tuple<Args...>& tup)-> typename std::enable_if<N == sizeof...(Args), decltype(f(std::get<N>(tup)))>::type {}
- ^
- In file included from c:\mingw32\include\c++\4.8.1\tuple:38:0,
- from C:\Users\Danny\Documents\Visual Studio 2012\Projects\CppStrayFiles\test3.cpp:1:
- c:\mingw32\include\c++\4.8.1\utility:147:5: note: template<unsigned int _Int, class _Tp1, class _Tp2> constexpr typename std::tuple_element<_Int, std::pair<_Tp1, _Tp2> >::type&& std::get(std::pair<_Tp1, _Tp2>&&)
- get(std::pair<_Tp1, _Tp2>&& __in) noexcept
- ^
- c:\mingw32\include\c++\4.8.1\utility:147:5: note: template argument deduction/substitution failed:
- C:\Users\Danny\Documents\Visual Studio 2012\Projects\CppStrayFiles\test3.cpp:31:143: note: types 'std::pair<_Tp1, _Tp2>' and 'const std::tuple<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, float>' have incompatible cv-qualifiers
- auto get(Functor f, const size_t i, const std::tuple<Args...>& tup)-> typename std::enable_if<N == sizeof...(Args), decltype(f(std::get<N>(tup)))>::type {}
- ^
- In file included from c:\mingw32\include\c++\4.8.1\tuple:38:0,
- from C:\Users\Danny\Documents\Visual Studio 2012\Projects\CppStrayFiles\test3.cpp:1:
- c:\mingw32\include\c++\4.8.1\utility:152:5: note: template<unsigned int _Int, class _Tp1, class _Tp2> constexpr const typename std::tuple_element<_Int, std::pair<_Tp1, _Tp2> >::type& std::get(const std::pair<_Tp1, _Tp2>&)
- get(const std::pair<_Tp1, _Tp2>& __in) noexcept
- ^
- c:\mingw32\include\c++\4.8.1\utility:152:5: note: template argument deduction/substitution failed:
- C:\Users\Danny\Documents\Visual Studio 2012\Projects\CppStrayFiles\test3.cpp:31:143: note: 'const std::tuple<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, float>' is not derived from 'const std::pair<_Tp1, _Tp2>'
- auto get(Functor f, const size_t i, const std::tuple<Args...>& tup)-> typename std::enable_if<N == sizeof...(Args), decltype(f(std::get<N>(tup)))>::type {}
- ^
- In file included from c:\mingw32\include\c++\4.8.1\tuple:39:0,
- from C:\Users\Danny\Documents\Visual Studio 2012\Projects\CppStrayFiles\test3.cpp:1:
- c:\mingw32\include\c++\4.8.1\array:268:5: note: template<unsigned int _Int, class _Tp, unsigned int _Nm> constexpr _Tp& std::get(std::array<_Tp, _Nm>&)
- get(array<_Tp, _Nm>& __arr) noexcept
- ^
- c:\mingw32\include\c++\4.8.1\array:268:5: note: template argument deduction/substitution failed:
- C:\Users\Danny\Documents\Visual Studio 2012\Projects\CppStrayFiles\test3.cpp:31:143: note: types 'std::array<_Tp, _Nm>' and 'const std::tuple<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, float>' have incompatible cv-qualifiers
- auto get(Functor f, const size_t i, const std::tuple<Args...>& tup)-> typename std::enable_if<N == sizeof...(Args), decltype(f(std::get<N>(tup)))>::type {}
- ^
- In file included from c:\mingw32\include\c++\4.8.1\tuple:39:0,
- from C:\Users\Danny\Documents\Visual Studio 2012\Projects\CppStrayFiles\test3.cpp:1:
- c:\mingw32\include\c++\4.8.1\array:277:5: note: template<unsigned int _Int, class _Tp, unsigned int _Nm> constexpr _Tp&& std::get(std::array<_Tp, _Nm>&&)
- get(array<_Tp, _Nm>&& __arr) noexcept
- ^
- c:\mingw32\include\c++\4.8.1\array:277:5: note: template argument deduction/substitution failed:
- C:\Users\Danny\Documents\Visual Studio 2012\Projects\CppStrayFiles\test3.cpp:31:143: note: types 'std::array<_Tp, _Nm>' and 'const std::tuple<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, float>' have incompatible cv-qualifiers
- auto get(Functor f, const size_t i, const std::tuple<Args...>& tup)-> typename std::enable_if<N == sizeof...(Args), decltype(f(std::get<N>(tup)))>::type {}
- ^
- In file included from c:\mingw32\include\c++\4.8.1\tuple:39:0,
- from C:\Users\Danny\Documents\Visual Studio 2012\Projects\CppStrayFiles\test3.cpp:1:
- c:\mingw32\include\c++\4.8.1\array:285:5: note: template<unsigned int _Int, class _Tp, unsigned int _Nm> constexpr const _Tp& std::get(const std::array<_Tp, _Nm>&)
- get(const array<_Tp, _Nm>& __arr) noexcept
- ^
- c:\mingw32\include\c++\4.8.1\array:285:5: note: template argument deduction/substitution failed:
- C:\Users\Danny\Documents\Visual Studio 2012\Projects\CppStrayFiles\test3.cpp:31:143: note: 'const std::tuple<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, float>' is not derived from 'const std::array<_Tp, _Nm>'
- auto get(Functor f, const size_t i, const std::tuple<Args...>& tup)-> typename std::enable_if<N == sizeof...(Args), decltype(f(std::get<N>(tup)))>::type {}
- ^
- In file included from C:\Users\Danny\Documents\Visual Studio 2012\Projects\CppStrayFiles\test3.cpp:1:0:
- c:\mingw32\include\c++\4.8.1\tuple:757:5: note: template<unsigned int __i, class ... _Elements> constexpr typename std::__add_ref<typename std::tuple_element<__i, std::tuple<_Elements ...> >::type>::type std::get(std::tuple<_Elements ...>&)
- get(tuple<_Elements...>& __t) noexcept
- ^
- c:\mingw32\include\c++\4.8.1\tuple:757:5: note: template argument deduction/substitution failed:
- C:\Users\Danny\Documents\Visual Studio 2012\Projects\CppStrayFiles\test3.cpp:31:143: note: types 'std::tuple<_Elements ...>' and 'const std::tuple<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, float>' have incompatible cv-qualifiers
- auto get(Functor f, const size_t i, const std::tuple<Args...>& tup)-> typename std::enable_if<N == sizeof...(Args), decltype(f(std::get<N>(tup)))>::type {}
- ^
- In file included from C:\Users\Danny\Documents\Visual Studio 2012\Projects\CppStrayFiles\test3.cpp:1:0:
- c:\mingw32\include\c++\4.8.1\tuple:764:5: note: template<unsigned int __i, class ... _Elements> constexpr typename std::__add_c_ref<typename std::tuple_element<__i, std::tuple<_Elements ...> >::type>::type std::get(const std::tuple<_Elements ...>&)
- get(const tuple<_Elements...>& __t) noexcept
- ^
- c:\mingw32\include\c++\4.8.1\tuple:764:5: note: template argument deduction/substitution failed:
- c:\mingw32\include\c++\4.8.1\tuple: In substitution of 'template<unsigned int __i, class ... _Elements> constexpr typename std::__add_c_ref<typename std::tuple_element<__i, std::tuple<_Elements ...> >::type>::type std::get(const std::tuple<_Elements ...>&) [with unsigned int __i = 3u; _Elements = {std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, float}]':
- C:\Users\Danny\Documents\Visual Studio 2012\Projects\CppStrayFiles\test3.cpp:50:45: recursively required from 'typename std::enable_if<(N < sizeof (Args ...)), decltype (f(get<N>(tup)))>::type get(Functor, size_t, std::tuple<_Tail ...>&) [with unsigned int N = 1u; Functor = get_element; Args = {std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, float}; typename std::enable_if<(N < sizeof (Args ...)), decltype (f(get<N>(tup)))>::type = std::basic_string<char>; size_t = unsigned int]'
- C:\Users\Danny\Documents\Visual Studio 2012\Projects\CppStrayFiles\test3.cpp:50:45: required from 'typename std::enable_if<(N < sizeof (Args ...)), decltype (f(get<N>(tup)))>::type get(Functor, size_t, std::tuple<_Tail ...>&) [with unsigned int N = 0u; Functor = get_element; Args = {std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, float}; typename std::enable_if<(N < sizeof (Args ...)), decltype (f(get<N>(tup)))>::type = std::basic_string<char>; size_t = unsigned int]'
- C:\Users\Danny\Documents\Visual Studio 2012\Projects\CppStrayFiles\test3.cpp:101:46: required from here
- c:\mingw32\include\c++\4.8.1\tuple:764:5: error: no type named 'type' in 'struct std::tuple_element<3u, std::tuple<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, float> >'
- C:\Users\Danny\Documents\Visual Studio 2012\Projects\CppStrayFiles\test3.cpp: In substitution of 'template<unsigned int N, class Functor, class ... Args> typename std::enable_if<(N == sizeof (Args ...)), decltype (f(get<N>(tup)))>::type get(Functor, size_t, const std::tuple<_Tail ...>&) [with unsigned int N = 3u; Functor = get_element; Args = {std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, float}]':
- C:\Users\Danny\Documents\Visual Studio 2012\Projects\CppStrayFiles\test3.cpp:50:45: recursively required from 'typename std::enable_if<(N < sizeof (Args ...)), decltype (f(get<N>(tup)))>::type get(Functor, size_t, std::tuple<_Tail ...>&) [with unsigned int N = 1u; Functor = get_element; Args = {std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, float}; typename std::enable_if<(N < sizeof (Args ...)), decltype (f(get<N>(tup)))>::type = std::basic_string<char>; size_t = unsigned int]'
- C:\Users\Danny\Documents\Visual Studio 2012\Projects\CppStrayFiles\test3.cpp:50:45: required from 'typename std::enable_if<(N < sizeof (Args ...)), decltype (f(get<N>(tup)))>::type get(Functor, size_t, std::tuple<_Tail ...>&) [with unsigned int N = 0u; Functor = get_element; Args = {std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, float}; typename std::enable_if<(N < sizeof (Args ...)), decltype (f(get<N>(tup)))>::type = std::basic_string<char>; size_t = unsigned int]'
- C:\Users\Danny\Documents\Visual Studio 2012\Projects\CppStrayFiles\test3.cpp:101:46: required from here
- c:\mingw32\include\c++\4.8.1\tuple:771:5: note: template<unsigned int __i, class ... _Elements> constexpr typename std::__add_r_ref<typename std::tuple_element<__i, std::tuple<_Elements ...> >::type>::type std::get(std::tuple<_Elements ...>&&)
- get(tuple<_Elements...>&& __t) noexcept
- ^
- c:\mingw32\include\c++\4.8.1\tuple:771:5: note: template argument deduction/substitution failed:
- C:\Users\Danny\Documents\Visual Studio 2012\Projects\CppStrayFiles\test3.cpp:31:143: note: types 'std::tuple<_Elements ...>' and 'const std::tuple<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, float>' have incompatible cv-qualifiers
- auto get(Functor f, const size_t i, const std::tuple<Args...>& tup)-> typename std::enable_if<N == sizeof...(Args), decltype(f(std::get<N>(tup)))>::type {}
- ^
- C:\Users\Danny\Documents\Visual Studio 2012\Projects\CppStrayFiles\test3.cpp: In instantiation of 'typename std::enable_if<(N < sizeof (Args ...)), decltype (f(get<N>(tup)))>::type get(Functor, size_t, std::tuple<_Tail ...>&) [with unsigned int N = 2u; Functor = get_element; Args = {std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, float}; typename std::enable_if<(N < sizeof (Args ...)), decltype (f(get<N>(tup)))>::type = float; size_t = unsigned int]':
- C:\Users\Danny\Documents\Visual Studio 2012\Projects\CppStrayFiles\test3.cpp:50:45: recursively required from 'typename std::enable_if<(N < sizeof (Args ...)), decltype (f(get<N>(tup)))>::type get(Functor, size_t, std::tuple<_Tail ...>&) [with unsigned int N = 1u; Functor = get_element; Args = {std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, float}; typename std::enable_if<(N < sizeof (Args ...)), decltype (f(get<N>(tup)))>::type = std::basic_string<char>; size_t = unsigned int]'
- C:\Users\Danny\Documents\Visual Studio 2012\Projects\CppStrayFiles\test3.cpp:50:45: required from 'typename std::enable_if<(N < sizeof (Args ...)), decltype (f(get<N>(tup)))>::type get(Functor, size_t, std::tuple<_Tail ...>&) [with unsigned int N = 0u; Functor = get_element; Args = {std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, float}; typename std::enable_if<(N < sizeof (Args ...)), decltype (f(get<N>(tup)))>::type = std::basic_string<char>; size_t = unsigned int]'
- C:\Users\Danny\Documents\Visual Studio 2012\Projects\CppStrayFiles\test3.cpp:101:46: required from here
- C:\Users\Danny\Documents\Visual Studio 2012\Projects\CppStrayFiles\test3.cpp:34:6: note: template<unsigned int N, class Functor, class ... Args> typename std::enable_if<(N < sizeof (Args ...)), decltype (f(get<N>(tup)))>::type get(Functor, size_t, const std::tuple<_Tail ...>&)
- auto get(Functor f, const size_t i, const std::tuple<Args...>& tup) -> typename std::enable_if<N < sizeof...(Args), decltype(f(std::get<N>(tup)))>::type {
- ^
- C:\Users\Danny\Documents\Visual Studio 2012\Projects\CppStrayFiles\test3.cpp:34:6: note: template argument deduction/substitution failed:
- C:\Users\Danny\Documents\Visual Studio 2012\Projects\CppStrayFiles\test3.cpp: In substitution of 'template<unsigned int N, class Functor, class ... Args> typename std::enable_if<(N < sizeof (Args ...)), decltype (f(get<N>(tup)))>::type get(Functor, size_t, const std::tuple<_Tail ...>&) [with unsigned int N = 3u; Functor = get_element; Args = {std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, float}]':
- C:\Users\Danny\Documents\Visual Studio 2012\Projects\CppStrayFiles\test3.cpp:50:45: recursively required from 'typename std::enable_if<(N < sizeof (Args ...)), decltype (f(get<N>(tup)))>::type get(Functor, size_t, std::tuple<_Tail ...>&) [with unsigned int N = 1u; Functor = get_element; Args = {std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, float}; typename std::enable_if<(N < sizeof (Args ...)), decltype (f(get<N>(tup)))>::type = std::basic_string<char>; size_t = unsigned int]'
- C:\Users\Danny\Documents\Visual Studio 2012\Projects\CppStrayFiles\test3.cpp:50:45: required from 'typename std::enable_if<(N < sizeof (Args ...)), decltype (f(get<N>(tup)))>::type get(Functor, size_t, std::tuple<_Tail ...>&) [with unsigned int N = 0u; Functor = get_element; Args = {std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, float}; typename std::enable_if<(N < sizeof (Args ...)), decltype (f(get<N>(tup)))>::type = std::basic_string<char>; size_t = unsigned int]'
- C:\Users\Danny\Documents\Visual Studio 2012\Projects\CppStrayFiles\test3.cpp:101:46: required from here
- C:\Users\Danny\Documents\Visual Studio 2012\Projects\CppStrayFiles\test3.cpp:34:143: error: no matching function for call to 'get(const std::tuple<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, float>&)'
- auto get(Functor f, const size_t i, const std::tuple<Args...>& tup) -> typename std::enable_if<N < sizeof...(Args), decltype(f(std::get<N>(tup)))>::type {
- ^
- C:\Users\Danny\Documents\Visual Studio 2012\Projects\CppStrayFiles\test3.cpp:34:143: note: candidates are:
- In file included from c:\mingw32\include\c++\4.8.1\tuple:38:0,
- from C:\Users\Danny\Documents\Visual Studio 2012\Projects\CppStrayFiles\test3.cpp:1:
- c:\mingw32\include\c++\4.8.1\utility:142:5: note: template<unsigned int _Int, class _Tp1, class _Tp2> constexpr typename std::tuple_element<_Int, std::pair<_Tp1, _Tp2> >::type& std::get(std::pair<_Tp1, _Tp2>&)
- get(std::pair<_Tp1, _Tp2>& __in) noexcept
- ^
- c:\mingw32\include\c++\4.8.1\utility:142:5: note: template argument deduction/substitution failed:
- C:\Users\Danny\Documents\Visual Studio 2012\Projects\CppStrayFiles\test3.cpp:34:143: note: types 'std::pair<_Tp1, _Tp2>' and 'const std::tuple<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, float>' have incompatible cv-qualifiers
- auto get(Functor f, const size_t i, const std::tuple<Args...>& tup) -> typename std::enable_if<N < sizeof...(Args), decltype(f(std::get<N>(tup)))>::type {
- ^
- In file included from c:\mingw32\include\c++\4.8.1\tuple:38:0,
- from C:\Users\Danny\Documents\Visual Studio 2012\Projects\CppStrayFiles\test3.cpp:1:
- c:\mingw32\include\c++\4.8.1\utility:147:5: note: template<unsigned int _Int, class _Tp1, class _Tp2> constexpr typename std::tuple_element<_Int, std::pair<_Tp1, _Tp2> >::type&& std::get(std::pair<_Tp1, _Tp2>&&)
- get(std::pair<_Tp1, _Tp2>&& __in) noexcept
- ^
- c:\mingw32\include\c++\4.8.1\utility:147:5: note: template argument deduction/substitution failed:
- C:\Users\Danny\Documents\Visual Studio 2012\Projects\CppStrayFiles\test3.cpp:34:143: note: types 'std::pair<_Tp1, _Tp2>' and 'const std::tuple<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, float>' have incompatible cv-qualifiers
- auto get(Functor f, const size_t i, const std::tuple<Args...>& tup) -> typename std::enable_if<N < sizeof...(Args), decltype(f(std::get<N>(tup)))>::type {
- ^
- In file included from c:\mingw32\include\c++\4.8.1\tuple:38:0,
- from C:\Users\Danny\Documents\Visual Studio 2012\Projects\CppStrayFiles\test3.cpp:1:
- c:\mingw32\include\c++\4.8.1\utility:152:5: note: template<unsigned int _Int, class _Tp1, class _Tp2> constexpr const typename std::tuple_element<_Int, std::pair<_Tp1, _Tp2> >::type& std::get(const std::pair<_Tp1, _Tp2>&)
- get(const std::pair<_Tp1, _Tp2>& __in) noexcept
- ^
- c:\mingw32\include\c++\4.8.1\utility:152:5: note: template argument deduction/substitution failed:
- C:\Users\Danny\Documents\Visual Studio 2012\Projects\CppStrayFiles\test3.cpp:34:143: note: 'const std::tuple<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, float>' is not derived from 'const std::pair<_Tp1, _Tp2>'
- auto get(Functor f, const size_t i, const std::tuple<Args...>& tup) -> typename std::enable_if<N < sizeof...(Args), decltype(f(std::get<N>(tup)))>::type {
- ^
- In file included from c:\mingw32\include\c++\4.8.1\tuple:39:0,
- from C:\Users\Danny\Documents\Visual Studio 2012\Projects\CppStrayFiles\test3.cpp:1:
- c:\mingw32\include\c++\4.8.1\array:268:5: note: template<unsigned int _Int, class _Tp, unsigned int _Nm> constexpr _Tp& std::get(std::array<_Tp, _Nm>&)
- get(array<_Tp, _Nm>& __arr) noexcept
- ^
- c:\mingw32\include\c++\4.8.1\array:268:5: note: template argument deduction/substitution failed:
- C:\Users\Danny\Documents\Visual Studio 2012\Projects\CppStrayFiles\test3.cpp:34:143: note: types 'std::array<_Tp, _Nm>' and 'const std::tuple<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, float>' have incompatible cv-qualifiers
- auto get(Functor f, const size_t i, const std::tuple<Args...>& tup) -> typename std::enable_if<N < sizeof...(Args), decltype(f(std::get<N>(tup)))>::type {
- ^
- In file included from c:\mingw32\include\c++\4.8.1\tuple:39:0,
- from C:\Users\Danny\Documents\Visual Studio 2012\Projects\CppStrayFiles\test3.cpp:1:
- c:\mingw32\include\c++\4.8.1\array:277:5: note: template<unsigned int _Int, class _Tp, unsigned int _Nm> constexpr _Tp&& std::get(std::array<_Tp, _Nm>&&)
- get(array<_Tp, _Nm>&& __arr) noexcept
- ^
- c:\mingw32\include\c++\4.8.1\array:277:5: note: template argument deduction/substitution failed:
- C:\Users\Danny\Documents\Visual Studio 2012\Projects\CppStrayFiles\test3.cpp:34:143: note: types 'std::array<_Tp, _Nm>' and 'const std::tuple<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, float>' have incompatible cv-qualifiers
- auto get(Functor f, const size_t i, const std::tuple<Args...>& tup) -> typename std::enable_if<N < sizeof...(Args), decltype(f(std::get<N>(tup)))>::type {
- ^
- In file included from c:\mingw32\include\c++\4.8.1\tuple:39:0,
- from C:\Users\Danny\Documents\Visual Studio 2012\Projects\CppStrayFiles\test3.cpp:1:
- c:\mingw32\include\c++\4.8.1\array:285:5: note: template<unsigned int _Int, class _Tp, unsigned int _Nm> constexpr const _Tp& std::get(const std::array<_Tp, _Nm>&)
- get(const array<_Tp, _Nm>& __arr) noexcept
- ^
- c:\mingw32\include\c++\4.8.1\array:285:5: note: template argument deduction/substitution failed:
- C:\Users\Danny\Documents\Visual Studio 2012\Projects\CppStrayFiles\test3.cpp:34:143: note: 'const std::tuple<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, float>' is not derived from 'const std::array<_Tp, _Nm>'
- auto get(Functor f, const size_t i, const std::tuple<Args...>& tup) -> typename std::enable_if<N < sizeof...(Args), decltype(f(std::get<N>(tup)))>::type {
- ^
- In file included from C:\Users\Danny\Documents\Visual Studio 2012\Projects\CppStrayFiles\test3.cpp:1:0:
- c:\mingw32\include\c++\4.8.1\tuple:757:5: note: template<unsigned int __i, class ... _Elements> constexpr typename std::__add_ref<typename std::tuple_element<__i, std::tuple<_Elements ...> >::type>::type std::get(std::tuple<_Elements ...>&)
- get(tuple<_Elements...>& __t) noexcept
- ^
- c:\mingw32\include\c++\4.8.1\tuple:757:5: note: template argument deduction/substitution failed:
- C:\Users\Danny\Documents\Visual Studio 2012\Projects\CppStrayFiles\test3.cpp:34:143: note: types 'std::tuple<_Elements ...>' and 'const std::tuple<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, float>' have incompatible cv-qualifiers
- auto get(Functor f, const size_t i, const std::tuple<Args...>& tup) -> typename std::enable_if<N < sizeof...(Args), decltype(f(std::get<N>(tup)))>::type {
- ^
- In file included from C:\Users\Danny\Documents\Visual Studio 2012\Projects\CppStrayFiles\test3.cpp:1:0:
- c:\mingw32\include\c++\4.8.1\tuple:764:5: note: template<unsigned int __i, class ... _Elements> constexpr typename std::__add_c_ref<typename std::tuple_element<__i, std::tuple<_Elements ...> >::type>::type std::get(const std::tuple<_Elements ...>&)
- get(const tuple<_Elements...>& __t) noexcept
- ^
- c:\mingw32\include\c++\4.8.1\tuple:764:5: note: template argument deduction/substitution failed:
- c:\mingw32\include\c++\4.8.1\tuple: In substitution of 'template<unsigned int __i, class ... _Elements> constexpr typename std::__add_c_ref<typename std::tuple_element<__i, std::tuple<_Elements ...> >::type>::type std::get(const std::tuple<_Elements ...>&) [with unsigned int __i = 3u; _Elements = {std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, float}]':
- C:\Users\Danny\Documents\Visual Studio 2012\Projects\CppStrayFiles\test3.cpp:50:45: recursively required from 'typename std::enable_if<(N < sizeof (Args ...)), decltype (f(get<N>(tup)))>::type get(Functor, size_t, std::tuple<_Tail ...>&) [with unsigned int N = 1u; Functor = get_element; Args = {std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, float}; typename std::enable_if<(N < sizeof (Args ...)), decltype (f(get<N>(tup)))>::type = std::basic_string<char>; size_t = unsigned int]'
- C:\Users\Danny\Documents\Visual Studio 2012\Projects\CppStrayFiles\test3.cpp:50:45: required from 'typename std::enable_if<(N < sizeof (Args ...)), decltype (f(get<N>(tup)))>::type get(Functor, size_t, std::tuple<_Tail ...>&) [with unsigned int N = 0u; Functor = get_element; Args = {std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, float}; typename std::enable_if<(N < sizeof (Args ...)), decltype (f(get<N>(tup)))>::type = std::basic_string<char>; size_t = unsigned int]'
- C:\Users\Danny\Documents\Visual Studio 2012\Projects\CppStrayFiles\test3.cpp:101:46: required from here
- c:\mingw32\include\c++\4.8.1\tuple:764:5: error: no type named 'type' in 'struct std::tuple_element<3u, std::tuple<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, float> >'
- C:\Users\Danny\Documents\Visual Studio 2012\Projects\CppStrayFiles\test3.cpp: In substitution of 'template<unsigned int N, class Functor, class ... Args> typename std::enable_if<(N < sizeof (Args ...)), decltype (f(get<N>(tup)))>::type get(Functor, size_t, const std::tuple<_Tail ...>&) [with unsigned int N = 3u; Functor = get_element; Args = {std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, float}]':
- C:\Users\Danny\Documents\Visual Studio 2012\Projects\CppStrayFiles\test3.cpp:50:45: recursively required from 'typename std::enable_if<(N < sizeof (Args ...)), decltype (f(get<N>(tup)))>::type get(Functor, size_t, std::tuple<_Tail ...>&) [with unsigned int N = 1u; Functor = get_element; Args = {std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, float}; typename std::enable_if<(N < sizeof (Args ...)), decltype (f(get<N>(tup)))>::type = std::basic_string<char>; size_t = unsigned int]'
- C:\Users\Danny\Documents\Visual Studio 2012\Projects\CppStrayFiles\test3.cpp:50:45: required from 'typename std::enable_if<(N < sizeof (Args ...)), decltype (f(get<N>(tup)))>::type get(Functor, size_t, std::tuple<_Tail ...>&) [with unsigned int N = 0u; Functor = get_element; Args = {std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, float}; typename std::enable_if<(N < sizeof (Args ...)), decltype (f(get<N>(tup)))>::type = std::basic_string<char>; size_t = unsigned int]'
- C:\Users\Danny\Documents\Visual Studio 2012\Projects\CppStrayFiles\test3.cpp:101:46: required from here
- c:\mingw32\include\c++\4.8.1\tuple:771:5: note: template<unsigned int __i, class ... _Elements> constexpr typename std::__add_r_ref<typename std::tuple_element<__i, std::tuple<_Elements ...> >::type>::type std::get(std::tuple<_Elements ...>&&)
- get(tuple<_Elements...>&& __t) noexcept
- ^
- c:\mingw32\include\c++\4.8.1\tuple:771:5: note: template argument deduction/substitution failed:
- C:\Users\Danny\Documents\Visual Studio 2012\Projects\CppStrayFiles\test3.cpp:34:143: note: types 'std::tuple<_Elements ...>' and 'const std::tuple<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, float>' have incompatible cv-qualifiers
- auto get(Functor f, const size_t i, const std::tuple<Args...>& tup) -> typename std::enable_if<N < sizeof...(Args), decltype(f(std::get<N>(tup)))>::type {
- ^
- C:\Users\Danny\Documents\Visual Studio 2012\Projects\CppStrayFiles\test3.cpp: In instantiation of 'typename std::enable_if<(N < sizeof (Args ...)), decltype (f(get<N>(tup)))>::type get(Functor, size_t, std::tuple<_Tail ...>&) [with unsigned int N = 2u; Functor = get_element; Args = {std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, float}; typename std::enable_if<(N < sizeof (Args ...)), decltype (f(get<N>(tup)))>::type = float; size_t = unsigned int]':
- C:\Users\Danny\Documents\Visual Studio 2012\Projects\CppStrayFiles\test3.cpp:50:45: recursively required from 'typename std::enable_if<(N < sizeof (Args ...)), decltype (f(get<N>(tup)))>::type get(Functor, size_t, std::tuple<_Tail ...>&) [with unsigned int N = 1u; Functor = get_element; Args = {std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, float}; typename std::enable_if<(N < sizeof (Args ...)), decltype (f(get<N>(tup)))>::type = std::basic_string<char>; size_t = unsigned int]'
- C:\Users\Danny\Documents\Visual Studio 2012\Projects\CppStrayFiles\test3.cpp:50:45: required from 'typename std::enable_if<(N < sizeof (Args ...)), decltype (f(get<N>(tup)))>::type get(Functor, size_t, std::tuple<_Tail ...>&) [with unsigned int N = 0u; Functor = get_element; Args = {std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, float}; typename std::enable_if<(N < sizeof (Args ...)), decltype (f(get<N>(tup)))>::type = std::basic_string<char>; size_t = unsigned int]'
- C:\Users\Danny\Documents\Visual Studio 2012\Projects\CppStrayFiles\test3.cpp:101:46: required from here
- C:\Users\Danny\Documents\Visual Studio 2012\Projects\CppStrayFiles\test3.cpp:43:6: note: template<unsigned int N, class Functor, class ... Args> typename std::enable_if<(N == sizeof (Args ...)), decltype (f(get<N>(tup)))>::type get(Functor, size_t, std::tuple<_Tail ...>&)
- auto get(Functor f, const size_t i, std::tuple<Args...>& tup)-> typename std::enable_if<N == sizeof...(Args), decltype(f(std::get<N>(tup)))>::type {}
- ^
- C:\Users\Danny\Documents\Visual Studio 2012\Projects\CppStrayFiles\test3.cpp:43:6: note: template argument deduction/substitution failed:
- C:\Users\Danny\Documents\Visual Studio 2012\Projects\CppStrayFiles\test3.cpp: In substitution of 'template<unsigned int N, class Functor, class ... Args> typename std::enable_if<(N == sizeof (Args ...)), decltype (f(get<N>(tup)))>::type get(Functor, size_t, std::tuple<_Tail ...>&) [with unsigned int N = 3u; Functor = get_element; Args = {std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, float}]':
- C:\Users\Danny\Documents\Visual Studio 2012\Projects\CppStrayFiles\test3.cpp:50:45: recursively required from 'typename std::enable_if<(N < sizeof (Args ...)), decltype (f(get<N>(tup)))>::type get(Functor, size_t, std::tuple<_Tail ...>&) [with unsigned int N = 1u; Functor = get_element; Args = {std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, float}; typename std::enable_if<(N < sizeof (Args ...)), decltype (f(get<N>(tup)))>::type = std::basic_string<char>; size_t = unsigned int]'
- C:\Users\Danny\Documents\Visual Studio 2012\Projects\CppStrayFiles\test3.cpp:50:45: required from 'typename std::enable_if<(N < sizeof (Args ...)), decltype (f(get<N>(tup)))>::type get(Functor, size_t, std::tuple<_Tail ...>&) [with unsigned int N = 0u; Functor = get_element; Args = {std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, float}; typename std::enable_if<(N < sizeof (Args ...)), decltype (f(get<N>(tup)))>::type = std::basic_string<char>; size_t = unsigned int]'
- C:\Users\Danny\Documents\Visual Studio 2012\Projects\CppStrayFiles\test3.cpp:101:46: required from here
- C:\Users\Danny\Documents\Visual Studio 2012\Projects\CppStrayFiles\test3.cpp:43:137: error: no matching function for call to 'get(std::tuple<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, float>&)'
- auto get(Functor f, const size_t i, std::tuple<Args...>& tup)-> typename std::enable_if<N == sizeof...(Args), decltype(f(std::get<N>(tup)))>::type {}
- ^
- C:\Users\Danny\Documents\Visual Studio 2012\Projects\CppStrayFiles\test3.cpp:43:137: note: candidates are:
- In file included from c:\mingw32\include\c++\4.8.1\tuple:38:0,
- from C:\Users\Danny\Documents\Visual Studio 2012\Projects\CppStrayFiles\test3.cpp:1:
- c:\mingw32\include\c++\4.8.1\utility:142:5: note: template<unsigned int _Int, class _Tp1, class _Tp2> constexpr typename std::tuple_element<_Int, std::pair<_Tp1, _Tp2> >::type& std::get(std::pair<_Tp1, _Tp2>&)
- get(std::pair<_Tp1, _Tp2>& __in) noexcept
- ^
- c:\mingw32\include\c++\4.8.1\utility:142:5: note: template argument deduction/substitution failed:
- C:\Users\Danny\Documents\Visual Studio 2012\Projects\CppStrayFiles\test3.cpp:43:137: note: 'std::tuple<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, float>' is not derived from 'std::pair<_Tp1, _Tp2>'
- auto get(Functor f, const size_t i, std::tuple<Args...>& tup)-> typename std::enable_if<N == sizeof...(Args), decltype(f(std::get<N>(tup)))>::type {}
- ^
- In file included from c:\mingw32\include\c++\4.8.1\tuple:38:0,
- from C:\Users\Danny\Documents\Visual Studio 2012\Projects\CppStrayFiles\test3.cpp:1:
- c:\mingw32\include\c++\4.8.1\utility:147:5: note: template<unsigned int _Int, class _Tp1, class _Tp2> constexpr typename std::tuple_element<_Int, std::pair<_Tp1, _Tp2> >::type&& std::get(std::pair<_Tp1, _Tp2>&&)
- get(std::pair<_Tp1, _Tp2>&& __in) noexcept
- ^
- c:\mingw32\include\c++\4.8.1\utility:147:5: note: template argument deduction/substitution failed:
- C:\Users\Danny\Documents\Visual Studio 2012\Projects\CppStrayFiles\test3.cpp:43:137: note: 'std::tuple<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, float>' is not derived from 'std::pair<_Tp1, _Tp2>'
- auto get(Functor f, const size_t i, std::tuple<Args...>& tup)-> typename std::enable_if<N == sizeof...(Args), decltype(f(std::get<N>(tup)))>::type {}
- ^
- In file included from c:\mingw32\include\c++\4.8.1\tuple:38:0,
- from C:\Users\Danny\Documents\Visual Studio 2012\Projects\CppStrayFiles\test3.cpp:1:
- c:\mingw32\include\c++\4.8.1\utility:152:5: note: template<unsigned int _Int, class _Tp1, class _Tp2> constexpr const typename std::tuple_element<_Int, std::pair<_Tp1, _Tp2> >::type& std::get(const std::pair<_Tp1, _Tp2>&)
- get(const std::pair<_Tp1, _Tp2>& __in) noexcept
- ^
- c:\mingw32\include\c++\4.8.1\utility:152:5: note: template argument deduction/substitution failed:
- C:\Users\Danny\Documents\Visual Studio 2012\Projects\CppStrayFiles\test3.cpp:43:137: note: 'std::tuple<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, float>' is not derived from 'const std::pair<_Tp1, _Tp2>'
- auto get(Functor f, const size_t i, std::tuple<Args...>& tup)-> typename std::enable_if<N == sizeof...(Args), decltype(f(std::get<N>(tup)))>::type {}
- ^
- In file included from c:\mingw32\include\c++\4.8.1\tuple:39:0,
- from C:\Users\Danny\Documents\Visual Studio 2012\Projects\CppStrayFiles\test3.cpp:1:
- c:\mingw32\include\c++\4.8.1\array:268:5: note: template<unsigned int _Int, class _Tp, unsigned int _Nm> constexpr _Tp& std::get(std::array<_Tp, _Nm>&)
- get(array<_Tp, _Nm>& __arr) noexcept
- ^
- c:\mingw32\include\c++\4.8.1\array:268:5: note: template argument deduction/substitution failed:
- C:\Users\Danny\Documents\Visual Studio 2012\Projects\CppStrayFiles\test3.cpp:43:137: note: 'std::tuple<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, float>' is not derived from 'std::array<_Tp, _Nm>'
- auto get(Functor f, const size_t i, std::tuple<Args...>& tup)-> typename std::enable_if<N == sizeof...(Args), decltype(f(std::get<N>(tup)))>::type {}
- ^
- In file included from c:\mingw32\include\c++\4.8.1\tuple:39:0,
- from C:\Users\Danny\Documents\Visual Studio 2012\Projects\CppStrayFiles\test3.cpp:1:
- c:\mingw32\include\c++\4.8.1\array:277:5: note: template<unsigned int _Int, class _Tp, unsigned int _Nm> constexpr _Tp&& std::get(std::array<_Tp, _Nm>&&)
- get(array<_Tp, _Nm>&& __arr) noexcept
- ^
- c:\mingw32\include\c++\4.8.1\array:277:5: note: template argument deduction/substitution failed:
- C:\Users\Danny\Documents\Visual Studio 2012\Projects\CppStrayFiles\test3.cpp:43:137: note: 'std::tuple<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, float>' is not derived from 'std::array<_Tp, _Nm>'
- auto get(Functor f, const size_t i, std::tuple<Args...>& tup)-> typename std::enable_if<N == sizeof...(Args), decltype(f(std::get<N>(tup)))>::type {}
- ^
- In file included from c:\mingw32\include\c++\4.8.1\tuple:39:0,
- from C:\Users\Danny\Documents\Visual Studio 2012\Projects\CppStrayFiles\test3.cpp:1:
- c:\mingw32\include\c++\4.8.1\array:285:5: note: template<unsigned int _Int, class _Tp, unsigned int _Nm> constexpr const _Tp& std::get(const std::array<_Tp, _Nm>&)
- get(const array<_Tp, _Nm>& __arr) noexcept
- ^
- c:\mingw32\include\c++\4.8.1\array:285:5: note: template argument deduction/substitution failed:
- C:\Users\Danny\Documents\Visual Studio 2012\Projects\CppStrayFiles\test3.cpp:43:137: note: 'std::tuple<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, float>' is not derived from 'const std::array<_Tp, _Nm>'
- auto get(Functor f, const size_t i, std::tuple<Args...>& tup)-> typename std::enable_if<N == sizeof...(Args), decltype(f(std::get<N>(tup)))>::type {}
- ^
- In file included from C:\Users\Danny\Documents\Visual Studio 2012\Projects\CppStrayFiles\test3.cpp:1:0:
- c:\mingw32\include\c++\4.8.1\tuple:757:5: note: template<unsigned int __i, class ... _Elements> constexpr typename std::__add_ref<typename std::tuple_element<__i, std::tuple<_Elements ...> >::type>::type std::get(std::tuple<_Elements ...>&)
- get(tuple<_Elements...>& __t) noexcept
- ^
- c:\mingw32\include\c++\4.8.1\tuple:757:5: note: template argument deduction/substitution failed:
- c:\mingw32\include\c++\4.8.1\tuple: In substitution of 'template<unsigned int __i, class ... _Elements> constexpr typename std::__add_ref<typename std::tuple_element<__i, std::tuple<_Elements ...> >::type>::type std::get(std::tuple<_Elements ...>&) [with unsigned int __i = 3u; _Elements = {std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, float}]':
- C:\Users\Danny\Documents\Visual Studio 2012\Projects\CppStrayFiles\test3.cpp:50:45: recursively required from 'typename std::enable_if<(N < sizeof (Args ...)), decltype (f(get<N>(tup)))>::type get(Functor, size_t, std::tuple<_Tail ...>&) [with unsigned int N = 1u; Functor = get_element; Args = {std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, float}; typename std::enable_if<(N < sizeof (Args ...)), decltype (f(get<N>(tup)))>::type = std::basic_string<char>; size_t = unsigned int]'
- C:\Users\Danny\Documents\Visual Studio 2012\Projects\CppStrayFiles\test3.cpp:50:45: required from 'typename std::enable_if<(N < sizeof (Args ...)), decltype (f(get<N>(tup)))>::type get(Functor, size_t, std::tuple<_Tail ...>&) [with unsigned int N = 0u; Functor = get_element; Args = {std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, float}; typename std::enable_if<(N < sizeof (Args ...)), decltype (f(get<N>(tup)))>::type = std::basic_string<char>; size_t = unsigned int]'
- C:\Users\Danny\Documents\Visual Studio 2012\Projects\CppStrayFiles\test3.cpp:101:46: required from here
- c:\mingw32\include\c++\4.8.1\tuple:757:5: error: no type named 'type' in 'struct std::tuple_element<3u, std::tuple<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, float> >'
- C:\Users\Danny\Documents\Visual Studio 2012\Projects\CppStrayFiles\test3.cpp: In substitution of 'template<unsigned int N, class Functor, class ... Args> typename std::enable_if<(N == sizeof (Args ...)), decltype (f(get<N>(tup)))>::type get(Functor, size_t, std::tuple<_Tail ...>&) [with unsigned int N = 3u; Functor = get_element; Args = {std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, float}]':
- C:\Users\Danny\Documents\Visual Studio 2012\Projects\CppStrayFiles\test3.cpp:50:45: recursively required from 'typename std::enable_if<(N < sizeof (Args ...)), decltype (f(get<N>(tup)))>::type get(Functor, size_t, std::tuple<_Tail ...>&) [with unsigned int N = 1u; Functor = get_element; Args = {std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, float}; typename std::enable_if<(N < sizeof (Args ...)), decltype (f(get<N>(tup)))>::type = std::basic_string<char>; size_t = unsigned int]'
- C:\Users\Danny\Documents\Visual Studio 2012\Projects\CppStrayFiles\test3.cpp:50:45: required from 'typename std::enable_if<(N < sizeof (Args ...)), decltype (f(get<N>(tup)))>::type get(Functor, size_t, std::tuple<_Tail ...>&) [with unsigned int N = 0u; Functor = get_element; Args = {std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, float}; typename std::enable_if<(N < sizeof (Args ...)), decltype (f(get<N>(tup)))>::type = std::basic_string<char>; size_t = unsigned int]'
- C:\Users\Danny\Documents\Visual Studio 2012\Projects\CppStrayFiles\test3.cpp:101:46: required from here
- c:\mingw32\include\c++\4.8.1\tuple:764:5: note: template<unsigned int __i, class ... _Elements> constexpr typename std::__add_c_ref<typename std::tuple_element<__i, std::tuple<_Elements ...> >::type>::type std::get(const std::tuple<_Elements ...>&)
- get(const tuple<_Elements...>& __t) noexcept
- ^
- c:\mingw32\include\c++\4.8.1\tuple:764:5: note: template argument deduction/substitution failed:
- c:\mingw32\include\c++\4.8.1\tuple: In substitution of 'template<unsigned int __i, class ... _Elements> constexpr typename std::__add_c_ref<typename std::tuple_element<__i, std::tuple<_Elements ...> >::type>::type std::get(const std::tuple<_Elements ...>&) [with unsigned int __i = 3u; _Elements = {std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, float}]':
- C:\Users\Danny\Documents\Visual Studio 2012\Projects\CppStrayFiles\test3.cpp:50:45: recursively required from 'typename std::enable_if<(N < sizeof (Args ...)), decltype (f(get<N>(tup)))>::type get(Functor, size_t, std::tuple<_Tail ...>&) [with unsigned int N = 1u; Functor = get_element; Args = {std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, float}; typename std::enable_if<(N < sizeof (Args ...)), decltype (f(get<N>(tup)))>::type = std::basic_string<char>; size_t = unsigned int]'
- C:\Users\Danny\Documents\Visual Studio 2012\Projects\CppStrayFiles\test3.cpp:50:45: required from 'typename std::enable_if<(N < sizeof (Args ...)), decltype (f(get<N>(tup)))>::type get(Functor, size_t, std::tuple<_Tail ...>&) [with unsigned int N = 0u; Functor = get_element; Args = {std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, float}; typename std::enable_if<(N < sizeof (Args ...)), decltype (f(get<N>(tup)))>::type = std::basic_string<char>; size_t = unsigned int]'
- C:\Users\Danny\Documents\Visual Studio 2012\Projects\CppStrayFiles\test3.cpp:101:46: required from here
- c:\mingw32\include\c++\4.8.1\tuple:764:5: error: no type named 'type' in 'struct std::tuple_element<3u, std::tuple<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, float> >'
- C:\Users\Danny\Documents\Visual Studio 2012\Projects\CppStrayFiles\test3.cpp: In substitution of 'template<unsigned int N, class Functor, class ... Args> typename std::enable_if<(N == sizeof (Args ...)), decltype (f(get<N>(tup)))>::type get(Functor, size_t, std::tuple<_Tail ...>&) [with unsigned int N = 3u; Functor = get_element; Args = {std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, float}]':
- C:\Users\Danny\Documents\Visual Studio 2012\Projects\CppStrayFiles\test3.cpp:50:45: recursively required from 'typename std::enable_if<(N < sizeof (Args ...)), decltype (f(get<N>(tup)))>::type get(Functor, size_t, std::tuple<_Tail ...>&) [with unsigned int N = 1u; Functor = get_element; Args = {std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, float}; typename std::enable_if<(N < sizeof (Args ...)), decltype (f(get<N>(tup)))>::type = std::basic_string<char>; size_t = unsigned int]'
- C:\Users\Danny\Documents\Visual Studio 2012\Projects\CppStrayFiles\test3.cpp:50:45: required from 'typename std::enable_if<(N < sizeof (Args ...)), decltype (f(get<N>(tup)))>::type get(Functor, size_t, std::tuple<_Tail ...>&) [with unsigned int N = 0u; Functor = get_element; Args = {std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, float}; typename std::enable_if<(N < sizeof (Args ...)), decltype (f(get<N>(tup)))>::type = std::basic_string<char>; size_t = unsigned int]'
- C:\Users\Danny\Documents\Visual Studio 2012\Projects\CppStrayFiles\test3.cpp:101:46: required from here
- c:\mingw32\include\c++\4.8.1\tuple:771:5: note: template<unsigned int __i, class ... _Elements> constexpr typename std::__add_r_ref<typename std::tuple_element<__i, std::tuple<_Elements ...> >::type>::type std::get(std::tuple<_Elements ...>&&)
- get(tuple<_Elements...>&& __t) noexcept
- ^
- c:\mingw32\include\c++\4.8.1\tuple:771:5: note: template argument deduction/substitution failed:
- c:\mingw32\include\c++\4.8.1\tuple: In substitution of 'template<unsigned int __i, class ... _Elements> constexpr typename std::__add_r_ref<typename std::tuple_element<__i, std::tuple<_Elements ...> >::type>::type std::get(std::tuple<_Elements ...>&&) [with unsigned int __i = 3u; _Elements = {std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, float}]':
- C:\Users\Danny\Documents\Visual Studio 2012\Projects\CppStrayFiles\test3.cpp:50:45: recursively required from 'typename std::enable_if<(N < sizeof (Args ...)), decltype (f(get<N>(tup)))>::type get(Functor, size_t, std::tuple<_Tail ...>&) [with unsigned int N = 1u; Functor = get_element; Args = {std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, float}; typename std::enable_if<(N < sizeof (Args ...)), decltype (f(get<N>(tup)))>::type = std::basic_string<char>; size_t = unsigned int]'
- C:\Users\Danny\Documents\Visual Studio 2012\Projects\CppStrayFiles\test3.cpp:50:45: required from 'typename std::enable_if<(N < sizeof (Args ...)), decltype (f(get<N>(tup)))>::type get(Functor, size_t, std::tuple<_Tail ...>&) [with unsigned int N = 0u; Functor = get_element; Args = {std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, float}; typename std::enable_if<(N < sizeof (Args ...)), decltype (f(get<N>(tup)))>::type = std::basic_string<char>; size_t = unsigned int]'
- C:\Users\Danny\Documents\Visual Studio 2012\Projects\CppStrayFiles\test3.cpp:101:46: required from here
- c:\mingw32\include\c++\4.8.1\tuple:771:5: error: no type named 'type' in 'struct std::tuple_element<3u, std::tuple<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, float> >'
- C:\Users\Danny\Documents\Visual Studio 2012\Projects\CppStrayFiles\test3.cpp: In instantiation of 'typename std::enable_if<(N < sizeof (Args ...)), decltype (f(get<N>(tup)))>::type get(Functor, size_t, std::tuple<_Tail ...>&) [with unsigned int N = 2u; Functor = get_element; Args = {std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, float}; typename std::enable_if<(N < sizeof (Args ...)), decltype (f(get<N>(tup)))>::type = float; size_t = unsigned int]':
- C:\Users\Danny\Documents\Visual Studio 2012\Projects\CppStrayFiles\test3.cpp:50:45: recursively required from 'typename std::enable_if<(N < sizeof (Args ...)), decltype (f(get<N>(tup)))>::type get(Functor, size_t, std::tuple<_Tail ...>&) [with unsigned int N = 1u; Functor = get_element; Args = {std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, float}; typename std::enable_if<(N < sizeof (Args ...)), decltype (f(get<N>(tup)))>::type = std::basic_string<char>; size_t = unsigned int]'
- C:\Users\Danny\Documents\Visual Studio 2012\Projects\CppStrayFiles\test3.cpp:50:45: required from 'typename std::enable_if<(N < sizeof (Args ...)), decltype (f(get<N>(tup)))>::type get(Functor, size_t, std::tuple<_Tail ...>&) [with unsigned int N = 0u; Functor = get_element; Args = {std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, float}; typename std::enable_if<(N < sizeof (Args ...)), decltype (f(get<N>(tup)))>::type = std::basic_string<char>; size_t = unsigned int]'
- C:\Users\Danny\Documents\Visual Studio 2012\Projects\CppStrayFiles\test3.cpp:101:46: required from here
- C:\Users\Danny\Documents\Visual Studio 2012\Projects\CppStrayFiles\test3.cpp:46:6: note: template<unsigned int N, class Functor, class ... Args> typename std::enable_if<(N < sizeof (Args ...)), decltype (f(get<N>(tup)))>::type get(Functor, size_t, std::tuple<_Tail ...>&)
- auto get(Functor f, const size_t i, std::tuple<Args...>& tup) -> typename std::enable_if<N < sizeof...(Args), decltype(f(std::get<N>(tup)))>::type {
- ^
- C:\Users\Danny\Documents\Visual Studio 2012\Projects\CppStrayFiles\test3.cpp:46:6: note: substitution of deduced template arguments resulted in errors seen above
- In file included from C:\Users\Danny\Documents\Visual Studio 2012\Projects\CppStrayFiles\test3.cpp:1:0:
- c:\mingw32\include\c++\4.8.1\tuple:771:5: note: template<unsigned int __i, class ... _Elements> constexpr typename std::__add_r_ref<typename std::tuple_element<__i, std::tuple<_Elements ...> >::type>::type std::get(std::tuple<_Elements ...>&&)
- get(tuple<_Elements...>&& __t) noexcept
- ^
- c:\mingw32\include\c++\4.8.1\tuple:771:5: note: template argument deduction/substitution failed:
- C:\Users\Danny\Documents\Visual Studio 2012\Projects\CppStrayFiles\test3.cpp:50:45: note: 'get_element' is not derived from 'std::tuple<_Elements ...>'
- get<N+1, Functor, Args...>(f, i, tup);
- ^
- In file included from C:\Users\Danny\Documents\Visual Studio 2012\Projects\CppStrayFiles\test3.cpp:1:0:
- c:\mingw32\include\c++\4.8.1\tuple:764:5: note: template<unsigned int __i, class ... _Elements> constexpr typename std::__add_c_ref<typename std::tuple_element<__i, std::tuple<_Elements ...> >::type>::type std::get(const std::tuple<_Elements ...>&)
- get(const tuple<_Elements...>& __t) noexcept
- ^
- c:\mingw32\include\c++\4.8.1\tuple:764:5: note: template argument deduction/substitution failed:
- C:\Users\Danny\Documents\Visual Studio 2012\Projects\CppStrayFiles\test3.cpp:50:45: note: 'get_element' is not derived from 'const std::tuple<_Elements ...>'
- get<N+1, Functor, Args...>(f, i, tup);
- ^
- In file included from C:\Users\Danny\Documents\Visual Studio 2012\Projects\CppStrayFiles\test3.cpp:1:0:
- c:\mingw32\include\c++\4.8.1\tuple:757:5: note: template<unsigned int __i, class ... _Elements> constexpr typename std::__add_ref<typename std::tuple_element<__i, std::tuple<_Elements ...> >::type>::type std::get(std::tuple<_Elements ...>&)
- get(tuple<_Elements...>& __t) noexcept
- ^
- c:\mingw32\include\c++\4.8.1\tuple:757:5: note: template argument deduction/substitution failed:
- C:\Users\Danny\Documents\Visual Studio 2012\Projects\CppStrayFiles\test3.cpp:50:45: note: 'get_element' is not derived from 'std::tuple<_Elements ...>'
- get<N+1, Functor, Args...>(f, i, tup);
- ^
- In file included from c:\mingw32\include\c++\4.8.1\tuple:39:0,
- from C:\Users\Danny\Documents\Visual Studio 2012\Projects\CppStrayFiles\test3.cpp:1:
- c:\mingw32\include\c++\4.8.1\array:285:5: note: template<unsigned int _Int, class _Tp, unsigned int _Nm> constexpr const _Tp& std::get(const std::array<_Tp, _Nm>&)
- get(const array<_Tp, _Nm>& __arr) noexcept
- ^
- c:\mingw32\include\c++\4.8.1\array:285:5: note: template argument deduction/substitution failed:
- C:\Users\Danny\Documents\Visual Studio 2012\Projects\CppStrayFiles\test3.cpp:50:45: error: wrong number of template arguments (5, should be 3)
- get<N+1, Functor, Args...>(f, i, tup);
- ^
- In file included from c:\mingw32\include\c++\4.8.1\tuple:39:0,
- from C:\Users\Danny\Documents\Visual Studio 2012\Projects\CppStrayFiles\test3.cpp:1:
- c:\mingw32\include\c++\4.8.1\array:277:5: note: template<unsigned int _Int, class _Tp, unsigned int _Nm> constexpr _Tp&& std::get(std::array<_Tp, _Nm>&&)
- get(array<_Tp, _Nm>&& __arr) noexcept
- ^
- c:\mingw32\include\c++\4.8.1\array:277:5: note: template argument deduction/substitution failed:
- C:\Users\Danny\Documents\Visual Studio 2012\Projects\CppStrayFiles\test3.cpp:50:45: error: wrong number of template arguments (5, should be 3)
- get<N+1, Functor, Args...>(f, i, tup);
- ^
- In file included from c:\mingw32\include\c++\4.8.1\tuple:39:0,
- from C:\Users\Danny\Documents\Visual Studio 2012\Projects\CppStrayFiles\test3.cpp:1:
- c:\mingw32\include\c++\4.8.1\array:268:5: note: template<unsigned int _Int, class _Tp, unsigned int _Nm> constexpr _Tp& std::get(std::array<_Tp, _Nm>&)
- get(array<_Tp, _Nm>& __arr) noexcept
- ^
- c:\mingw32\include\c++\4.8.1\array:268:5: note: template argument deduction/substitution failed:
- C:\Users\Danny\Documents\Visual Studio 2012\Projects\CppStrayFiles\test3.cpp:50:45: error: wrong number of template arguments (5, should be 3)
- get<N+1, Functor, Args...>(f, i, tup);
- ^
- In file included from c:\mingw32\include\c++\4.8.1\tuple:38:0,
- from C:\Users\Danny\Documents\Visual Studio 2012\Projects\CppStrayFiles\test3.cpp:1:
- c:\mingw32\include\c++\4.8.1\utility:152:5: note: template<unsigned int _Int, class _Tp1, class _Tp2> constexpr const typename std::tuple_element<_Int, std::pair<_Tp1, _Tp2> >::type& std::get(const std::pair<_Tp1, _Tp2>&)
- get(const std::pair<_Tp1, _Tp2>& __in) noexcept
- ^
- c:\mingw32\include\c++\4.8.1\utility:152:5: note: template argument deduction/substitution failed:
- C:\Users\Danny\Documents\Visual Studio 2012\Projects\CppStrayFiles\test3.cpp:50:45: error: wrong number of template arguments (5, should be 3)
- get<N+1, Functor, Args...>(f, i, tup);
- ^
- In file included from c:\mingw32\include\c++\4.8.1\tuple:38:0,
- from C:\Users\Danny\Documents\Visual Studio 2012\Projects\CppStrayFiles\test3.cpp:1:
- c:\mingw32\include\c++\4.8.1\utility:147:5: note: template<unsigned int _Int, class _Tp1, class _Tp2> constexpr typename std::tuple_element<_Int, std::pair<_Tp1, _Tp2> >::type&& std::get(std::pair<_Tp1, _Tp2>&&)
- get(std::pair<_Tp1, _Tp2>&& __in) noexcept
- ^
- c:\mingw32\include\c++\4.8.1\utility:147:5: note: template argument deduction/substitution failed:
- C:\Users\Danny\Documents\Visual Studio 2012\Projects\CppStrayFiles\test3.cpp:50:45: error: wrong number of template arguments (5, should be 3)
- get<N+1, Functor, Args...>(f, i, tup);
- ^
- In file included from c:\mingw32\include\c++\4.8.1\tuple:38:0,
- from C:\Users\Danny\Documents\Visual Studio 2012\Projects\CppStrayFiles\test3.cpp:1:
- c:\mingw32\include\c++\4.8.1\utility:142:5: note: template<unsigned int _Int, class _Tp1, class _Tp2> constexpr typename std::tuple_element<_Int, std::pair<_Tp1, _Tp2> >::type& std::get(std::pair<_Tp1, _Tp2>&)
- get(std::pair<_Tp1, _Tp2>& __in) noexcept
- ^
- c:\mingw32\include\c++\4.8.1\utility:142:5: note: template argument deduction/substitution failed:
- C:\Users\Danny\Documents\Visual Studio 2012\Projects\CppStrayFiles\test3.cpp:50:45: error: wrong number of template arguments (5, should be 3)
- get<N+1, Functor, Args...>(f, i, tup);
- ^
- C:\Users\Danny\Documents\Visual Studio 2012\Projects\CppStrayFiles\test3.cpp: In function 'typename std::enable_if<(N < sizeof (Args ...)), decltype (f(get<N>(tup)))>::type get(Functor, size_t, std::tuple<_Tail ...>&) [with unsigned int N = 0u; Functor = get_element; Args = {std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, float}; typename std::enable_if<(N < sizeof (Args ...)), decltype (f(get<N>(tup)))>::type = std::basic_string<char>; size_t = unsigned int]':
- C:\Users\Danny\Documents\Visual Studio 2012\Projects\CppStrayFiles\test3.cpp:51:1: warning: control reaches end of non-void function [-Wreturn-type]
- }
- ^
- C:\Users\Danny\Documents\Visual Studio 2012\Projects\CppStrayFiles\test3.cpp: In function 'typename std::enable_if<(N < sizeof (Args ...)), decltype (f(get<N>(tup)))>::type get(Functor, size_t, std::tuple<_Tail ...>&) [with unsigned int N = 1u; Functor = get_element; Args = {std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, float}; typename std::enable_if<(N < sizeof (Args ...)), decltype (f(get<N>(tup)))>::type = std::basic_string<char>; size_t = unsigned int]':
- C:\Users\Danny\Documents\Visual Studio 2012\Projects\CppStrayFiles\test3.cpp:51:1: warning: control reaches end of non-void function [-Wreturn-type]
- }
- ^
- C:\Users\Danny\Documents\Visual Studio 2012\Projects\CppStrayFiles\test3.cpp: In function 'typename std::enable_if<(N < sizeof (Args ...)), decltype (f(get<N>(tup)))>::type get(Functor, size_t, std::tuple<_Tail ...>&) [with unsigned int N = 2u; Functor = get_element; Args = {std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, float}; typename std::enable_if<(N < sizeof (Args ...)), decltype (f(get<N>(tup)))>::type = float; size_t = unsigned int]':
- C:\Users\Danny\Documents\Visual Studio 2012\Projects\CppStrayFiles\test3.cpp:51:1: warning: control reaches end of non-void function [-Wreturn-type]
- }
- ^
- [Finished in 0.8s with exit code 1]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement