Advertisement
Rapptz

Untitled

Mar 30th, 2013
337
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 71.66 KB | None | 0 0
  1. In file included from C:\Users\Danny\Documents\Visual Studio 2012\Projects\CppStrayFiles\test3.cpp:1:0:
  2. c:\mingw32\include\c++\4.8.1\tuple: In instantiation of 'struct std::tuple_element<1u, std::tuple<float> >':
  3. 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> >'
  4. 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> >'
  5. 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}]'
  6. 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]'
  7. 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]'
  8. C:\Users\Danny\Documents\Visual Studio 2012\Projects\CppStrayFiles\test3.cpp:101:46: required from here
  9. c:\mingw32\include\c++\4.8.1\tuple:680:12: error: invalid use of incomplete type 'struct std::tuple_element<0u, std::tuple<> >'
  10. struct tuple_element<__i, tuple<_Head, _Tail...> >
  11. ^
  12. In file included from c:\mingw32\include\c++\4.8.1\tuple:38:0,
  13. from C:\Users\Danny\Documents\Visual Studio 2012\Projects\CppStrayFiles\test3.cpp:1:
  14. c:\mingw32\include\c++\4.8.1\utility:84:11: error: declaration of 'struct std::tuple_element<0u, std::tuple<> >'
  15. class tuple_element;
  16. ^
  17. 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]':
  18. 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]'
  19. 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]'
  20. C:\Users\Danny\Documents\Visual Studio 2012\Projects\CppStrayFiles\test3.cpp:101:46: required from here
  21. 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>&)'
  22. get<N+1, Functor, Args...>(f, i, tup);
  23. ^
  24. C:\Users\Danny\Documents\Visual Studio 2012\Projects\CppStrayFiles\test3.cpp:50:45: note: candidates are:
  25. 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 ...>&)
  26. 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 {}
  27. ^
  28. C:\Users\Danny\Documents\Visual Studio 2012\Projects\CppStrayFiles\test3.cpp:31:6: note: template argument deduction/substitution failed:
  29. 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}]':
  30. 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]'
  31. 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]'
  32. C:\Users\Danny\Documents\Visual Studio 2012\Projects\CppStrayFiles\test3.cpp:101:46: required from here
  33. 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>&)'
  34. 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 {}
  35. ^
  36. C:\Users\Danny\Documents\Visual Studio 2012\Projects\CppStrayFiles\test3.cpp:31:143: note: candidates are:
  37. In file included from c:\mingw32\include\c++\4.8.1\tuple:38:0,
  38. from C:\Users\Danny\Documents\Visual Studio 2012\Projects\CppStrayFiles\test3.cpp:1:
  39. 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>&)
  40. get(std::pair<_Tp1, _Tp2>& __in) noexcept
  41. ^
  42. c:\mingw32\include\c++\4.8.1\utility:142:5: note: template argument deduction/substitution failed:
  43. 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
  44. 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 {}
  45. ^
  46. In file included from c:\mingw32\include\c++\4.8.1\tuple:38:0,
  47. from C:\Users\Danny\Documents\Visual Studio 2012\Projects\CppStrayFiles\test3.cpp:1:
  48. 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>&&)
  49. get(std::pair<_Tp1, _Tp2>&& __in) noexcept
  50. ^
  51. c:\mingw32\include\c++\4.8.1\utility:147:5: note: template argument deduction/substitution failed:
  52. 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
  53. 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 {}
  54. ^
  55. In file included from c:\mingw32\include\c++\4.8.1\tuple:38:0,
  56. from C:\Users\Danny\Documents\Visual Studio 2012\Projects\CppStrayFiles\test3.cpp:1:
  57. 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>&)
  58. get(const std::pair<_Tp1, _Tp2>& __in) noexcept
  59. ^
  60. c:\mingw32\include\c++\4.8.1\utility:152:5: note: template argument deduction/substitution failed:
  61. 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>'
  62. 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 {}
  63. ^
  64. In file included from c:\mingw32\include\c++\4.8.1\tuple:39:0,
  65. from C:\Users\Danny\Documents\Visual Studio 2012\Projects\CppStrayFiles\test3.cpp:1:
  66. 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>&)
  67. get(array<_Tp, _Nm>& __arr) noexcept
  68. ^
  69. c:\mingw32\include\c++\4.8.1\array:268:5: note: template argument deduction/substitution failed:
  70. 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
  71. 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 {}
  72. ^
  73. In file included from c:\mingw32\include\c++\4.8.1\tuple:39:0,
  74. from C:\Users\Danny\Documents\Visual Studio 2012\Projects\CppStrayFiles\test3.cpp:1:
  75. 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>&&)
  76. get(array<_Tp, _Nm>&& __arr) noexcept
  77. ^
  78. c:\mingw32\include\c++\4.8.1\array:277:5: note: template argument deduction/substitution failed:
  79. 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
  80. 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 {}
  81. ^
  82. In file included from c:\mingw32\include\c++\4.8.1\tuple:39:0,
  83. from C:\Users\Danny\Documents\Visual Studio 2012\Projects\CppStrayFiles\test3.cpp:1:
  84. 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>&)
  85. get(const array<_Tp, _Nm>& __arr) noexcept
  86. ^
  87. c:\mingw32\include\c++\4.8.1\array:285:5: note: template argument deduction/substitution failed:
  88. 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>'
  89. 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 {}
  90. ^
  91. In file included from C:\Users\Danny\Documents\Visual Studio 2012\Projects\CppStrayFiles\test3.cpp:1:0:
  92. 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 ...>&)
  93. get(tuple<_Elements...>& __t) noexcept
  94. ^
  95. c:\mingw32\include\c++\4.8.1\tuple:757:5: note: template argument deduction/substitution failed:
  96. 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
  97. 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 {}
  98. ^
  99. In file included from C:\Users\Danny\Documents\Visual Studio 2012\Projects\CppStrayFiles\test3.cpp:1:0:
  100. 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 ...>&)
  101. get(const tuple<_Elements...>& __t) noexcept
  102. ^
  103. c:\mingw32\include\c++\4.8.1\tuple:764:5: note: template argument deduction/substitution failed:
  104. 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}]':
  105. 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]'
  106. 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]'
  107. C:\Users\Danny\Documents\Visual Studio 2012\Projects\CppStrayFiles\test3.cpp:101:46: required from here
  108. 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> >'
  109. 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}]':
  110. 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]'
  111. 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]'
  112. C:\Users\Danny\Documents\Visual Studio 2012\Projects\CppStrayFiles\test3.cpp:101:46: required from here
  113. 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 ...>&&)
  114. get(tuple<_Elements...>&& __t) noexcept
  115. ^
  116. c:\mingw32\include\c++\4.8.1\tuple:771:5: note: template argument deduction/substitution failed:
  117. 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
  118. 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 {}
  119. ^
  120. 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]':
  121. 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]'
  122. 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]'
  123. C:\Users\Danny\Documents\Visual Studio 2012\Projects\CppStrayFiles\test3.cpp:101:46: required from here
  124. 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 ...>&)
  125. 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 {
  126. ^
  127. C:\Users\Danny\Documents\Visual Studio 2012\Projects\CppStrayFiles\test3.cpp:34:6: note: template argument deduction/substitution failed:
  128. 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}]':
  129. 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]'
  130. 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]'
  131. C:\Users\Danny\Documents\Visual Studio 2012\Projects\CppStrayFiles\test3.cpp:101:46: required from here
  132. 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>&)'
  133. 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 {
  134. ^
  135. C:\Users\Danny\Documents\Visual Studio 2012\Projects\CppStrayFiles\test3.cpp:34:143: note: candidates are:
  136. In file included from c:\mingw32\include\c++\4.8.1\tuple:38:0,
  137. from C:\Users\Danny\Documents\Visual Studio 2012\Projects\CppStrayFiles\test3.cpp:1:
  138. 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>&)
  139. get(std::pair<_Tp1, _Tp2>& __in) noexcept
  140. ^
  141. c:\mingw32\include\c++\4.8.1\utility:142:5: note: template argument deduction/substitution failed:
  142. 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
  143. 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 {
  144. ^
  145. In file included from c:\mingw32\include\c++\4.8.1\tuple:38:0,
  146. from C:\Users\Danny\Documents\Visual Studio 2012\Projects\CppStrayFiles\test3.cpp:1:
  147. 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>&&)
  148. get(std::pair<_Tp1, _Tp2>&& __in) noexcept
  149. ^
  150. c:\mingw32\include\c++\4.8.1\utility:147:5: note: template argument deduction/substitution failed:
  151. 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
  152. 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 {
  153. ^
  154. In file included from c:\mingw32\include\c++\4.8.1\tuple:38:0,
  155. from C:\Users\Danny\Documents\Visual Studio 2012\Projects\CppStrayFiles\test3.cpp:1:
  156. 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>&)
  157. get(const std::pair<_Tp1, _Tp2>& __in) noexcept
  158. ^
  159. c:\mingw32\include\c++\4.8.1\utility:152:5: note: template argument deduction/substitution failed:
  160. 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>'
  161. 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 {
  162. ^
  163. In file included from c:\mingw32\include\c++\4.8.1\tuple:39:0,
  164. from C:\Users\Danny\Documents\Visual Studio 2012\Projects\CppStrayFiles\test3.cpp:1:
  165. 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>&)
  166. get(array<_Tp, _Nm>& __arr) noexcept
  167. ^
  168. c:\mingw32\include\c++\4.8.1\array:268:5: note: template argument deduction/substitution failed:
  169. 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
  170. 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 {
  171. ^
  172. In file included from c:\mingw32\include\c++\4.8.1\tuple:39:0,
  173. from C:\Users\Danny\Documents\Visual Studio 2012\Projects\CppStrayFiles\test3.cpp:1:
  174. 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>&&)
  175. get(array<_Tp, _Nm>&& __arr) noexcept
  176. ^
  177. c:\mingw32\include\c++\4.8.1\array:277:5: note: template argument deduction/substitution failed:
  178. 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
  179. 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 {
  180. ^
  181. In file included from c:\mingw32\include\c++\4.8.1\tuple:39:0,
  182. from C:\Users\Danny\Documents\Visual Studio 2012\Projects\CppStrayFiles\test3.cpp:1:
  183. 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>&)
  184. get(const array<_Tp, _Nm>& __arr) noexcept
  185. ^
  186. c:\mingw32\include\c++\4.8.1\array:285:5: note: template argument deduction/substitution failed:
  187. 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>'
  188. 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 {
  189. ^
  190. In file included from C:\Users\Danny\Documents\Visual Studio 2012\Projects\CppStrayFiles\test3.cpp:1:0:
  191. 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 ...>&)
  192. get(tuple<_Elements...>& __t) noexcept
  193. ^
  194. c:\mingw32\include\c++\4.8.1\tuple:757:5: note: template argument deduction/substitution failed:
  195. 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
  196. 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 {
  197. ^
  198. In file included from C:\Users\Danny\Documents\Visual Studio 2012\Projects\CppStrayFiles\test3.cpp:1:0:
  199. 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 ...>&)
  200. get(const tuple<_Elements...>& __t) noexcept
  201. ^
  202. c:\mingw32\include\c++\4.8.1\tuple:764:5: note: template argument deduction/substitution failed:
  203. 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}]':
  204. 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]'
  205. 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]'
  206. C:\Users\Danny\Documents\Visual Studio 2012\Projects\CppStrayFiles\test3.cpp:101:46: required from here
  207. 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> >'
  208. 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}]':
  209. 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]'
  210. 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]'
  211. C:\Users\Danny\Documents\Visual Studio 2012\Projects\CppStrayFiles\test3.cpp:101:46: required from here
  212. 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 ...>&&)
  213. get(tuple<_Elements...>&& __t) noexcept
  214. ^
  215. c:\mingw32\include\c++\4.8.1\tuple:771:5: note: template argument deduction/substitution failed:
  216. 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
  217. 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 {
  218. ^
  219. 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]':
  220. 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]'
  221. 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]'
  222. C:\Users\Danny\Documents\Visual Studio 2012\Projects\CppStrayFiles\test3.cpp:101:46: required from here
  223. 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 ...>&)
  224. 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 {}
  225. ^
  226. C:\Users\Danny\Documents\Visual Studio 2012\Projects\CppStrayFiles\test3.cpp:43:6: note: template argument deduction/substitution failed:
  227. 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}]':
  228. 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]'
  229. 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]'
  230. C:\Users\Danny\Documents\Visual Studio 2012\Projects\CppStrayFiles\test3.cpp:101:46: required from here
  231. 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>&)'
  232. 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 {}
  233. ^
  234. C:\Users\Danny\Documents\Visual Studio 2012\Projects\CppStrayFiles\test3.cpp:43:137: note: candidates are:
  235. In file included from c:\mingw32\include\c++\4.8.1\tuple:38:0,
  236. from C:\Users\Danny\Documents\Visual Studio 2012\Projects\CppStrayFiles\test3.cpp:1:
  237. 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>&)
  238. get(std::pair<_Tp1, _Tp2>& __in) noexcept
  239. ^
  240. c:\mingw32\include\c++\4.8.1\utility:142:5: note: template argument deduction/substitution failed:
  241. 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>'
  242. 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 {}
  243. ^
  244. In file included from c:\mingw32\include\c++\4.8.1\tuple:38:0,
  245. from C:\Users\Danny\Documents\Visual Studio 2012\Projects\CppStrayFiles\test3.cpp:1:
  246. 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>&&)
  247. get(std::pair<_Tp1, _Tp2>&& __in) noexcept
  248. ^
  249. c:\mingw32\include\c++\4.8.1\utility:147:5: note: template argument deduction/substitution failed:
  250. 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>'
  251. 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 {}
  252. ^
  253. In file included from c:\mingw32\include\c++\4.8.1\tuple:38:0,
  254. from C:\Users\Danny\Documents\Visual Studio 2012\Projects\CppStrayFiles\test3.cpp:1:
  255. 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>&)
  256. get(const std::pair<_Tp1, _Tp2>& __in) noexcept
  257. ^
  258. c:\mingw32\include\c++\4.8.1\utility:152:5: note: template argument deduction/substitution failed:
  259. 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>'
  260. 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 {}
  261. ^
  262. In file included from c:\mingw32\include\c++\4.8.1\tuple:39:0,
  263. from C:\Users\Danny\Documents\Visual Studio 2012\Projects\CppStrayFiles\test3.cpp:1:
  264. 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>&)
  265. get(array<_Tp, _Nm>& __arr) noexcept
  266. ^
  267. c:\mingw32\include\c++\4.8.1\array:268:5: note: template argument deduction/substitution failed:
  268. 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>'
  269. 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 {}
  270. ^
  271. In file included from c:\mingw32\include\c++\4.8.1\tuple:39:0,
  272. from C:\Users\Danny\Documents\Visual Studio 2012\Projects\CppStrayFiles\test3.cpp:1:
  273. 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>&&)
  274. get(array<_Tp, _Nm>&& __arr) noexcept
  275. ^
  276. c:\mingw32\include\c++\4.8.1\array:277:5: note: template argument deduction/substitution failed:
  277. 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>'
  278. 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 {}
  279. ^
  280. In file included from c:\mingw32\include\c++\4.8.1\tuple:39:0,
  281. from C:\Users\Danny\Documents\Visual Studio 2012\Projects\CppStrayFiles\test3.cpp:1:
  282. 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>&)
  283. get(const array<_Tp, _Nm>& __arr) noexcept
  284. ^
  285. c:\mingw32\include\c++\4.8.1\array:285:5: note: template argument deduction/substitution failed:
  286. 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>'
  287. 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 {}
  288. ^
  289. In file included from C:\Users\Danny\Documents\Visual Studio 2012\Projects\CppStrayFiles\test3.cpp:1:0:
  290. 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 ...>&)
  291. get(tuple<_Elements...>& __t) noexcept
  292. ^
  293. c:\mingw32\include\c++\4.8.1\tuple:757:5: note: template argument deduction/substitution failed:
  294. 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}]':
  295. 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]'
  296. 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]'
  297. C:\Users\Danny\Documents\Visual Studio 2012\Projects\CppStrayFiles\test3.cpp:101:46: required from here
  298. 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> >'
  299. 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}]':
  300. 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]'
  301. 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]'
  302. C:\Users\Danny\Documents\Visual Studio 2012\Projects\CppStrayFiles\test3.cpp:101:46: required from here
  303. 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 ...>&)
  304. get(const tuple<_Elements...>& __t) noexcept
  305. ^
  306. c:\mingw32\include\c++\4.8.1\tuple:764:5: note: template argument deduction/substitution failed:
  307. 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}]':
  308. 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]'
  309. 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]'
  310. C:\Users\Danny\Documents\Visual Studio 2012\Projects\CppStrayFiles\test3.cpp:101:46: required from here
  311. 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> >'
  312. 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}]':
  313. 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]'
  314. 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]'
  315. C:\Users\Danny\Documents\Visual Studio 2012\Projects\CppStrayFiles\test3.cpp:101:46: required from here
  316. 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 ...>&&)
  317. get(tuple<_Elements...>&& __t) noexcept
  318. ^
  319. c:\mingw32\include\c++\4.8.1\tuple:771:5: note: template argument deduction/substitution failed:
  320. 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}]':
  321. 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]'
  322. 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]'
  323. C:\Users\Danny\Documents\Visual Studio 2012\Projects\CppStrayFiles\test3.cpp:101:46: required from here
  324. 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> >'
  325. 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]':
  326. 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]'
  327. 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]'
  328. C:\Users\Danny\Documents\Visual Studio 2012\Projects\CppStrayFiles\test3.cpp:101:46: required from here
  329. 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 ...>&)
  330. 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 {
  331. ^
  332. C:\Users\Danny\Documents\Visual Studio 2012\Projects\CppStrayFiles\test3.cpp:46:6: note: substitution of deduced template arguments resulted in errors seen above
  333. In file included from C:\Users\Danny\Documents\Visual Studio 2012\Projects\CppStrayFiles\test3.cpp:1:0:
  334. 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 ...>&&)
  335. get(tuple<_Elements...>&& __t) noexcept
  336. ^
  337. c:\mingw32\include\c++\4.8.1\tuple:771:5: note: template argument deduction/substitution failed:
  338. C:\Users\Danny\Documents\Visual Studio 2012\Projects\CppStrayFiles\test3.cpp:50:45: note: 'get_element' is not derived from 'std::tuple<_Elements ...>'
  339. get<N+1, Functor, Args...>(f, i, tup);
  340. ^
  341. In file included from C:\Users\Danny\Documents\Visual Studio 2012\Projects\CppStrayFiles\test3.cpp:1:0:
  342. 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 ...>&)
  343. get(const tuple<_Elements...>& __t) noexcept
  344. ^
  345. c:\mingw32\include\c++\4.8.1\tuple:764:5: note: template argument deduction/substitution failed:
  346. C:\Users\Danny\Documents\Visual Studio 2012\Projects\CppStrayFiles\test3.cpp:50:45: note: 'get_element' is not derived from 'const std::tuple<_Elements ...>'
  347. get<N+1, Functor, Args...>(f, i, tup);
  348. ^
  349. In file included from C:\Users\Danny\Documents\Visual Studio 2012\Projects\CppStrayFiles\test3.cpp:1:0:
  350. 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 ...>&)
  351. get(tuple<_Elements...>& __t) noexcept
  352. ^
  353. c:\mingw32\include\c++\4.8.1\tuple:757:5: note: template argument deduction/substitution failed:
  354. C:\Users\Danny\Documents\Visual Studio 2012\Projects\CppStrayFiles\test3.cpp:50:45: note: 'get_element' is not derived from 'std::tuple<_Elements ...>'
  355. get<N+1, Functor, Args...>(f, i, tup);
  356. ^
  357. In file included from c:\mingw32\include\c++\4.8.1\tuple:39:0,
  358. from C:\Users\Danny\Documents\Visual Studio 2012\Projects\CppStrayFiles\test3.cpp:1:
  359. 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>&)
  360. get(const array<_Tp, _Nm>& __arr) noexcept
  361. ^
  362. c:\mingw32\include\c++\4.8.1\array:285:5: note: template argument deduction/substitution failed:
  363. C:\Users\Danny\Documents\Visual Studio 2012\Projects\CppStrayFiles\test3.cpp:50:45: error: wrong number of template arguments (5, should be 3)
  364. get<N+1, Functor, Args...>(f, i, tup);
  365. ^
  366. In file included from c:\mingw32\include\c++\4.8.1\tuple:39:0,
  367. from C:\Users\Danny\Documents\Visual Studio 2012\Projects\CppStrayFiles\test3.cpp:1:
  368. 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>&&)
  369. get(array<_Tp, _Nm>&& __arr) noexcept
  370. ^
  371. c:\mingw32\include\c++\4.8.1\array:277:5: note: template argument deduction/substitution failed:
  372. C:\Users\Danny\Documents\Visual Studio 2012\Projects\CppStrayFiles\test3.cpp:50:45: error: wrong number of template arguments (5, should be 3)
  373. get<N+1, Functor, Args...>(f, i, tup);
  374. ^
  375. In file included from c:\mingw32\include\c++\4.8.1\tuple:39:0,
  376. from C:\Users\Danny\Documents\Visual Studio 2012\Projects\CppStrayFiles\test3.cpp:1:
  377. 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>&)
  378. get(array<_Tp, _Nm>& __arr) noexcept
  379. ^
  380. c:\mingw32\include\c++\4.8.1\array:268:5: note: template argument deduction/substitution failed:
  381. C:\Users\Danny\Documents\Visual Studio 2012\Projects\CppStrayFiles\test3.cpp:50:45: error: wrong number of template arguments (5, should be 3)
  382. get<N+1, Functor, Args...>(f, i, tup);
  383. ^
  384. In file included from c:\mingw32\include\c++\4.8.1\tuple:38:0,
  385. from C:\Users\Danny\Documents\Visual Studio 2012\Projects\CppStrayFiles\test3.cpp:1:
  386. 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>&)
  387. get(const std::pair<_Tp1, _Tp2>& __in) noexcept
  388. ^
  389. c:\mingw32\include\c++\4.8.1\utility:152:5: note: template argument deduction/substitution failed:
  390. C:\Users\Danny\Documents\Visual Studio 2012\Projects\CppStrayFiles\test3.cpp:50:45: error: wrong number of template arguments (5, should be 3)
  391. get<N+1, Functor, Args...>(f, i, tup);
  392. ^
  393. In file included from c:\mingw32\include\c++\4.8.1\tuple:38:0,
  394. from C:\Users\Danny\Documents\Visual Studio 2012\Projects\CppStrayFiles\test3.cpp:1:
  395. 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>&&)
  396. get(std::pair<_Tp1, _Tp2>&& __in) noexcept
  397. ^
  398. c:\mingw32\include\c++\4.8.1\utility:147:5: note: template argument deduction/substitution failed:
  399. C:\Users\Danny\Documents\Visual Studio 2012\Projects\CppStrayFiles\test3.cpp:50:45: error: wrong number of template arguments (5, should be 3)
  400. get<N+1, Functor, Args...>(f, i, tup);
  401. ^
  402. In file included from c:\mingw32\include\c++\4.8.1\tuple:38:0,
  403. from C:\Users\Danny\Documents\Visual Studio 2012\Projects\CppStrayFiles\test3.cpp:1:
  404. 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>&)
  405. get(std::pair<_Tp1, _Tp2>& __in) noexcept
  406. ^
  407. c:\mingw32\include\c++\4.8.1\utility:142:5: note: template argument deduction/substitution failed:
  408. C:\Users\Danny\Documents\Visual Studio 2012\Projects\CppStrayFiles\test3.cpp:50:45: error: wrong number of template arguments (5, should be 3)
  409. get<N+1, Functor, Args...>(f, i, tup);
  410. ^
  411. 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]':
  412. C:\Users\Danny\Documents\Visual Studio 2012\Projects\CppStrayFiles\test3.cpp:51:1: warning: control reaches end of non-void function [-Wreturn-type]
  413. }
  414. ^
  415. 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]':
  416. C:\Users\Danny\Documents\Visual Studio 2012\Projects\CppStrayFiles\test3.cpp:51:1: warning: control reaches end of non-void function [-Wreturn-type]
  417. }
  418. ^
  419. 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]':
  420. C:\Users\Danny\Documents\Visual Studio 2012\Projects\CppStrayFiles\test3.cpp:51:1: warning: control reaches end of non-void function [-Wreturn-type]
  421. }
  422. ^
  423. [Finished in 0.8s with exit code 1]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement