Advertisement
Guest User

Untitled

a guest
Jun 1st, 2018
237
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 26.82 KB | None | 0 0
  1. In file included from bug4.cpp:1:
  2. /usr/include/c++/8.1.0/functional: In instantiation of ‘std::_Bind<_Functor(_Bound_args ...)>::_Bind(_Functor&&, _Args&& ...) [with _Args = {const std::_Placeholder<1>&, std::basic_ostream<char, std::char_traits<char> >&}; _Functor = void (*)(const std::filesystem::__cxx11::path&, std::basic_ostream<char>&); _Bound_args = {std::_Placeholder<1>, std::basic_ostream<char, std::char_traits<char> >}]’:
  3. /usr/include/c++/8.1.0/functional:811:38: required from ‘typename std::_Bind_helper<std::__is_socketlike<_Func>::value, _Func, _BoundArgs ...>::type std::bind(_Func&&, _BoundArgs&& ...) [with _Func = void (*)(const std::filesystem::__cxx11::path&, std::basic_ostream<char>&); _BoundArgs = {const std::_Placeholder<1>&, std::basic_ostream<char, std::char_traits<char> >&}; typename std::_Bind_helper<std::__is_socketlike<_Func>::value, _Func, _BoundArgs ...>::type = std::_Bind<void (*(std::_Placeholder<1>, std::basic_ostream<char>))(const std::filesystem::__cxx11::path&, std::basic_ostream<char>&)>]’
  4. bug4.cpp:14:33: required from here
  5. /usr/include/c++/8.1.0/functional:467:70: error: no matching function for call to ‘std::tuple<std::_Placeholder<1>, std::basic_ostream<char, std::char_traits<char> > >::tuple(const std::_Placeholder<1>&, std::basic_ostream<char>&)’
  6. : _M_f(std::move(__f)), _M_bound_args(std::forward<_Args>(__args)...)
  7. ^
  8. In file included from /usr/include/c++/8.1.0/functional:54,
  9. from bug4.cpp:1:
  10. /usr/include/c++/8.1.0/tuple:1203:18: note: candidate: ‘template<class _Alloc, class _U1, class _U2, typename std::enable_if<(_MoveConstructibleTuple<_U1, _U2>() && (! _ImplicitlyMoveConvertibleTuple<_U1, _U2>())), bool>::type <anonymous> > std::tuple<_T1, _T2>::tuple(std::allocator_arg_t, const _Alloc&, std::pair<_U1, _U2>&&)’
  11. explicit tuple(allocator_arg_t __tag, const _Alloc& __a,
  12. ^~~~~
  13. /usr/include/c++/8.1.0/tuple:1203:18: note: template argument deduction/substitution failed:
  14. In file included from bug4.cpp:1:
  15. /usr/include/c++/8.1.0/functional:467:70: note: candidate expects 3 arguments, 2 provided
  16. : _M_f(std::move(__f)), _M_bound_args(std::forward<_Args>(__args)...)
  17. ^
  18. In file included from /usr/include/c++/8.1.0/functional:54,
  19. from bug4.cpp:1:
  20. /usr/include/c++/8.1.0/tuple:1193:9: note: candidate: ‘template<class _Alloc, class _U1, class _U2, typename std::enable_if<(_MoveConstructibleTuple<_U1, _U2>() && _ImplicitlyMoveConvertibleTuple<_U1, _U2>()), bool>::type <anonymous> > std::tuple<_T1, _T2>::tuple(std::allocator_arg_t, const _Alloc&, std::pair<_U1, _U2>&&)’
  21. tuple(allocator_arg_t __tag, const _Alloc& __a, pair<_U1, _U2>&& __in)
  22. ^~~~~
  23. /usr/include/c++/8.1.0/tuple:1193:9: note: template argument deduction/substitution failed:
  24. In file included from bug4.cpp:1:
  25. /usr/include/c++/8.1.0/functional:467:70: note: candidate expects 3 arguments, 2 provided
  26. : _M_f(std::move(__f)), _M_bound_args(std::forward<_Args>(__args)...)
  27. ^
  28. In file included from /usr/include/c++/8.1.0/functional:54,
  29. from bug4.cpp:1:
  30. /usr/include/c++/8.1.0/tuple:1183:18: note: candidate: ‘template<class _Alloc, class _U1, class _U2, typename std::enable_if<(_ConstructibleTuple<_U1, _U2>() && (! _ImplicitlyConvertibleTuple<_U1, _U2>())), bool>::type <anonymous> > std::tuple<_T1, _T2>::tuple(std::allocator_arg_t, const _Alloc&, const std::pair<_U1, _U2>&)’
  31. explicit tuple(allocator_arg_t __tag, const _Alloc& __a,
  32. ^~~~~
  33. /usr/include/c++/8.1.0/tuple:1183:18: note: template argument deduction/substitution failed:
  34. In file included from bug4.cpp:1:
  35. /usr/include/c++/8.1.0/functional:467:70: note: candidate expects 3 arguments, 2 provided
  36. : _M_f(std::move(__f)), _M_bound_args(std::forward<_Args>(__args)...)
  37. ^
  38. In file included from /usr/include/c++/8.1.0/functional:54,
  39. from bug4.cpp:1:
  40. /usr/include/c++/8.1.0/tuple:1173:9: note: candidate: ‘template<class _Alloc, class _U1, class _U2, typename std::enable_if<(_ConstructibleTuple<_U1, _U2>() && _ImplicitlyConvertibleTuple<_U1, _U2>()), bool>::type <anonymous> > std::tuple<_T1, _T2>::tuple(std::allocator_arg_t, const _Alloc&, const std::pair<_U1, _U2>&)’
  41. tuple(allocator_arg_t __tag, const _Alloc& __a,
  42. ^~~~~
  43. /usr/include/c++/8.1.0/tuple:1173:9: note: template argument deduction/substitution failed:
  44. In file included from bug4.cpp:1:
  45. /usr/include/c++/8.1.0/functional:467:70: note: candidate expects 3 arguments, 2 provided
  46. : _M_f(std::move(__f)), _M_bound_args(std::forward<_Args>(__args)...)
  47. ^
  48. In file included from /usr/include/c++/8.1.0/functional:54,
  49. from bug4.cpp:1:
  50. /usr/include/c++/8.1.0/tuple:1162:11: note: candidate: ‘template<class _Alloc, class _U1, class _U2, typename std::enable_if<(_MoveConstructibleTuple<_U1, _U2>() && (! _ImplicitlyMoveConvertibleTuple<_U1, _U2>())), bool>::type <anonymous> > std::tuple<_T1, _T2>::tuple(std::allocator_arg_t, const _Alloc&, std::tuple<_U1, _U2>&&)’
  51. explicit tuple(allocator_arg_t __tag, const _Alloc& __a,
  52. ^~~~~
  53. /usr/include/c++/8.1.0/tuple:1162:11: note: template argument deduction/substitution failed:
  54. In file included from bug4.cpp:1:
  55. /usr/include/c++/8.1.0/functional:467:70: note: candidate expects 3 arguments, 2 provided
  56. : _M_f(std::move(__f)), _M_bound_args(std::forward<_Args>(__args)...)
  57. ^
  58. In file included from /usr/include/c++/8.1.0/functional:54,
  59. from bug4.cpp:1:
  60. /usr/include/c++/8.1.0/tuple:1152:2: note: candidate: ‘template<class _Alloc, class _U1, class _U2, typename std::enable_if<(_MoveConstructibleTuple<_U1, _U2>() && _ImplicitlyMoveConvertibleTuple<_U1, _U2>()), bool>::type <anonymous> > std::tuple<_T1, _T2>::tuple(std::allocator_arg_t, const _Alloc&, std::tuple<_U1, _U2>&&)’
  61. tuple(allocator_arg_t __tag, const _Alloc& __a, tuple<_U1, _U2>&& __in)
  62. ^~~~~
  63. /usr/include/c++/8.1.0/tuple:1152:2: note: template argument deduction/substitution failed:
  64. In file included from bug4.cpp:1:
  65. /usr/include/c++/8.1.0/functional:467:70: note: candidate expects 3 arguments, 2 provided
  66. : _M_f(std::move(__f)), _M_bound_args(std::forward<_Args>(__args)...)
  67. ^
  68. In file included from /usr/include/c++/8.1.0/functional:54,
  69. from bug4.cpp:1:
  70. /usr/include/c++/8.1.0/tuple:1140:11: note: candidate: ‘template<class _Alloc, class _U1, class _U2, typename std::enable_if<(_ConstructibleTuple<_U1, _U2>() && (! _ImplicitlyConvertibleTuple<_U1, _U2>())), bool>::type <anonymous> > std::tuple<_T1, _T2>::tuple(std::allocator_arg_t, const _Alloc&, const std::tuple<_U1, _U2>&)’
  71. explicit tuple(allocator_arg_t __tag, const _Alloc& __a,
  72. ^~~~~
  73. /usr/include/c++/8.1.0/tuple:1140:11: note: template argument deduction/substitution failed:
  74. In file included from bug4.cpp:1:
  75. /usr/include/c++/8.1.0/functional:467:70: note: candidate expects 3 arguments, 2 provided
  76. : _M_f(std::move(__f)), _M_bound_args(std::forward<_Args>(__args)...)
  77. ^
  78. In file included from /usr/include/c++/8.1.0/functional:54,
  79. from bug4.cpp:1:
  80. /usr/include/c++/8.1.0/tuple:1128:2: note: candidate: ‘template<class _Alloc, class _U1, class _U2, typename std::enable_if<(_ConstructibleTuple<_U1, _U2>() && _ImplicitlyConvertibleTuple<_U1, _U2>()), bool>::type <anonymous> > std::tuple<_T1, _T2>::tuple(std::allocator_arg_t, const _Alloc&, const std::tuple<_U1, _U2>&)’
  81. tuple(allocator_arg_t __tag, const _Alloc& __a,
  82. ^~~~~
  83. /usr/include/c++/8.1.0/tuple:1128:2: note: template argument deduction/substitution failed:
  84. In file included from bug4.cpp:1:
  85. /usr/include/c++/8.1.0/functional:467:70: note: candidate expects 3 arguments, 2 provided
  86. : _M_f(std::move(__f)), _M_bound_args(std::forward<_Args>(__args)...)
  87. ^
  88. In file included from /usr/include/c++/8.1.0/functional:54,
  89. from bug4.cpp:1:
  90. /usr/include/c++/8.1.0/tuple:1119:2: note: candidate: ‘template<class _Alloc> std::tuple<_T1, _T2>::tuple(std::allocator_arg_t, const _Alloc&, std::tuple<_T1, _T2>&&)’
  91. tuple(allocator_arg_t __tag, const _Alloc& __a, tuple&& __in)
  92. ^~~~~
  93. /usr/include/c++/8.1.0/tuple:1119:2: note: template argument deduction/substitution failed:
  94. In file included from bug4.cpp:1:
  95. /usr/include/c++/8.1.0/functional:467:70: note: candidate expects 3 arguments, 2 provided
  96. : _M_f(std::move(__f)), _M_bound_args(std::forward<_Args>(__args)...)
  97. ^
  98. In file included from /usr/include/c++/8.1.0/functional:54,
  99. from bug4.cpp:1:
  100. /usr/include/c++/8.1.0/tuple:1115:2: note: candidate: ‘template<class _Alloc> std::tuple<_T1, _T2>::tuple(std::allocator_arg_t, const _Alloc&, const std::tuple<_T1, _T2>&)’
  101. tuple(allocator_arg_t __tag, const _Alloc& __a, const tuple& __in)
  102. ^~~~~
  103. /usr/include/c++/8.1.0/tuple:1115:2: note: template argument deduction/substitution failed:
  104. In file included from bug4.cpp:1:
  105. /usr/include/c++/8.1.0/functional:467:70: note: candidate expects 3 arguments, 2 provided
  106. : _M_f(std::move(__f)), _M_bound_args(std::forward<_Args>(__args)...)
  107. ^
  108. In file included from /usr/include/c++/8.1.0/functional:54,
  109. from bug4.cpp:1:
  110. /usr/include/c++/8.1.0/tuple:1109:11: note: candidate: ‘template<class _Alloc, class _U1, class _U2, typename std::enable_if<(_MoveConstructibleTuple<_U1, _U2>() && (! _ImplicitlyMoveConvertibleTuple<_U1, _U2>())), bool>::type <anonymous> > std::tuple<_T1, _T2>::tuple(std::allocator_arg_t, const _Alloc&, _U1&&, _U2&&)’
  111. explicit tuple(allocator_arg_t __tag, const _Alloc& __a,
  112. ^~~~~
  113. /usr/include/c++/8.1.0/tuple:1109:11: note: template argument deduction/substitution failed:
  114. In file included from bug4.cpp:1:
  115. /usr/include/c++/8.1.0/functional:467:70: note: candidate expects 4 arguments, 2 provided
  116. : _M_f(std::move(__f)), _M_bound_args(std::forward<_Args>(__args)...)
  117. ^
  118. In file included from /usr/include/c++/8.1.0/functional:54,
  119. from bug4.cpp:1:
  120. /usr/include/c++/8.1.0/tuple:1099:2: note: candidate: ‘template<class _Alloc, class _U1, class _U2, typename std::enable_if<(_MoveConstructibleTuple<_U1, _U2>() && _ImplicitlyMoveConvertibleTuple<_U1, _U2>()), bool>::type <anonymous> > std::tuple<_T1, _T2>::tuple(std::allocator_arg_t, const _Alloc&, _U1&&, _U2&&)’
  121. tuple(allocator_arg_t __tag, const _Alloc& __a, _U1&& __a1, _U2&& __a2)
  122. ^~~~~
  123. /usr/include/c++/8.1.0/tuple:1099:2: note: template argument deduction/substitution failed:
  124. In file included from bug4.cpp:1:
  125. /usr/include/c++/8.1.0/functional:467:70: note: candidate expects 4 arguments, 2 provided
  126. : _M_f(std::move(__f)), _M_bound_args(std::forward<_Args>(__args)...)
  127. ^
  128. In file included from /usr/include/c++/8.1.0/functional:54,
  129. from bug4.cpp:1:
  130. /usr/include/c++/8.1.0/tuple:1089:11: note: candidate: ‘template<class _Alloc, class _Dummy, typename std::enable_if<(std::_TC<std::is_same<_Dummy, void>::value, std::_Placeholder<1>, std::basic_ostream<char, std::char_traits<char> > >::_ConstructibleTuple<_Placeholder<1>, basic_ostream<char, std::char_traits<char> > >() && (! std::_TC<std::is_same<_Dummy, void>::value, std::_Placeholder<1>, std::basic_ostream<char, std::char_traits<char> > >::_ImplicitlyConvertibleTuple<_Placeholder<1>, basic_ostream<char, std::char_traits<char> > >())), bool>::type <anonymous> > std::tuple<_T1, _T2>::tuple(std::allocator_arg_t, const _Alloc&, const _T1&, const _T2&)’
  131. explicit tuple(allocator_arg_t __tag, const _Alloc& __a,
  132. ^~~~~
  133. /usr/include/c++/8.1.0/tuple:1089:11: note: template argument deduction/substitution failed:
  134. In file included from bug4.cpp:1:
  135. /usr/include/c++/8.1.0/functional:467:70: note: candidate expects 4 arguments, 2 provided
  136. : _M_f(std::move(__f)), _M_bound_args(std::forward<_Args>(__args)...)
  137. ^
  138. In file included from /usr/include/c++/8.1.0/functional:54,
  139. from bug4.cpp:1:
  140. /usr/include/c++/8.1.0/tuple:1077:2: note: candidate: ‘template<class _Alloc, class _Dummy, typename std::enable_if<(std::_TC<std::is_same<_Dummy, void>::value, std::_Placeholder<1>, std::basic_ostream<char, std::char_traits<char> > >::_ConstructibleTuple<_Placeholder<1>, basic_ostream<char, std::char_traits<char> > >() && std::_TC<std::is_same<_Dummy, void>::value, std::_Placeholder<1>, std::basic_ostream<char, std::char_traits<char> > >::_ImplicitlyConvertibleTuple<_Placeholder<1>, basic_ostream<char, std::char_traits<char> > >()), bool>::type <anonymous> > std::tuple<_T1, _T2>::tuple(std::allocator_arg_t, const _Alloc&, const _T1&, const _T2&)’
  141. tuple(allocator_arg_t __tag, const _Alloc& __a,
  142. ^~~~~
  143. /usr/include/c++/8.1.0/tuple:1077:2: note: template argument deduction/substitution failed:
  144. In file included from bug4.cpp:1:
  145. /usr/include/c++/8.1.0/functional:467:70: note: candidate expects 4 arguments, 2 provided
  146. : _M_f(std::move(__f)), _M_bound_args(std::forward<_Args>(__args)...)
  147. ^
  148. In file included from /usr/include/c++/8.1.0/functional:54,
  149. from bug4.cpp:1:
  150. /usr/include/c++/8.1.0/tuple:1066:2: note: candidate: ‘template<class _Alloc> std::tuple<_T1, _T2>::tuple(std::allocator_arg_t, const _Alloc&)’
  151. tuple(allocator_arg_t __tag, const _Alloc& __a)
  152. ^~~~~
  153. /usr/include/c++/8.1.0/tuple:1066:2: note: template argument deduction/substitution failed:
  154. In file included from bug4.cpp:1:
  155. /usr/include/c++/8.1.0/functional:467:70: note: cannot convert ‘std::forward<const std::_Placeholder<1>&>((* & __args#0))’ (type ‘const std::_Placeholder<1>’) to type ‘std::allocator_arg_t’
  156. : _M_f(std::move(__f)), _M_bound_args(std::forward<_Args>(__args)...)
  157. ^
  158. In file included from /usr/include/c++/8.1.0/functional:54,
  159. from bug4.cpp:1:
  160. /usr/include/c++/8.1.0/tuple:1059:28: note: candidate: ‘template<class _U1, class _U2, typename std::enable_if<(_MoveConstructibleTuple<_U1, _U2>() && (! _ImplicitlyMoveConvertibleTuple<_U1, _U2>())), bool>::type <anonymous> > constexpr std::tuple<_T1, _T2>::tuple(std::pair<_U1, _U2>&&)’
  161. explicit constexpr tuple(pair<_U1, _U2>&& __in)
  162. ^~~~~
  163. /usr/include/c++/8.1.0/tuple:1059:28: note: template argument deduction/substitution failed:
  164. In file included from bug4.cpp:1:
  165. /usr/include/c++/8.1.0/functional:467:70: note: types ‘std::pair<_T1, _T2>’ and ‘const std::_Placeholder<1>’ have incompatible cv-qualifiers
  166. : _M_f(std::move(__f)), _M_bound_args(std::forward<_Args>(__args)...)
  167. ^
  168. In file included from /usr/include/c++/8.1.0/functional:54,
  169. from bug4.cpp:1:
  170. /usr/include/c++/8.1.0/tuple:1049:19: note: candidate: ‘template<class _U1, class _U2, typename std::enable_if<(_MoveConstructibleTuple<_U1, _U2>() && _ImplicitlyMoveConvertibleTuple<_U1, _U2>()), bool>::type <anonymous> > constexpr std::tuple<_T1, _T2>::tuple(std::pair<_U1, _U2>&&)’
  171. constexpr tuple(pair<_U1, _U2>&& __in)
  172. ^~~~~
  173. /usr/include/c++/8.1.0/tuple:1049:19: note: template argument deduction/substitution failed:
  174. In file included from bug4.cpp:1:
  175. /usr/include/c++/8.1.0/functional:467:70: note: types ‘std::pair<_T1, _T2>’ and ‘const std::_Placeholder<1>’ have incompatible cv-qualifiers
  176. : _M_f(std::move(__f)), _M_bound_args(std::forward<_Args>(__args)...)
  177. ^
  178. In file included from /usr/include/c++/8.1.0/functional:54,
  179. from bug4.cpp:1:
  180. /usr/include/c++/8.1.0/tuple:1040:28: note: candidate: ‘template<class _U1, class _U2, typename std::enable_if<(_ConstructibleTuple<_U1, _U2>() && (! _ImplicitlyConvertibleTuple<_U1, _U2>())), bool>::type <anonymous> > constexpr std::tuple<_T1, _T2>::tuple(const std::pair<_U1, _U2>&)’
  181. explicit constexpr tuple(const pair<_U1, _U2>& __in)
  182. ^~~~~
  183. /usr/include/c++/8.1.0/tuple:1040:28: note: template argument deduction/substitution failed:
  184. In file included from bug4.cpp:1:
  185. /usr/include/c++/8.1.0/functional:467:70: note: ‘const std::_Placeholder<1>’ is not derived from ‘const std::pair<_T1, _T2>’
  186. : _M_f(std::move(__f)), _M_bound_args(std::forward<_Args>(__args)...)
  187. ^
  188. In file included from /usr/include/c++/8.1.0/functional:54,
  189. from bug4.cpp:1:
  190. /usr/include/c++/8.1.0/tuple:1031:19: note: candidate: ‘template<class _U1, class _U2, typename std::enable_if<(_ConstructibleTuple<_U1, _U2>() && _ImplicitlyConvertibleTuple<_U1, _U2>()), bool>::type <anonymous> > constexpr std::tuple<_T1, _T2>::tuple(const std::pair<_U1, _U2>&)’
  191. constexpr tuple(const pair<_U1, _U2>& __in)
  192. ^~~~~
  193. /usr/include/c++/8.1.0/tuple:1031:19: note: template argument deduction/substitution failed:
  194. In file included from bug4.cpp:1:
  195. /usr/include/c++/8.1.0/functional:467:70: note: ‘const std::_Placeholder<1>’ is not derived from ‘const std::pair<_T1, _T2>’
  196. : _M_f(std::move(__f)), _M_bound_args(std::forward<_Args>(__args)...)
  197. ^
  198. In file included from /usr/include/c++/8.1.0/functional:54,
  199. from bug4.cpp:1:
  200. /usr/include/c++/8.1.0/tuple:1022:28: note: candidate: ‘template<class _U1, class _U2, typename std::enable_if<(_MoveConstructibleTuple<_U1, _U2>() && (! _ImplicitlyMoveConvertibleTuple<_U1, _U2>())), bool>::type <anonymous> > constexpr std::tuple<_T1, _T2>::tuple(std::tuple<_U1, _U2>&&)’
  201. explicit constexpr tuple(tuple<_U1, _U2>&& __in)
  202. ^~~~~
  203. /usr/include/c++/8.1.0/tuple:1022:28: note: template argument deduction/substitution failed:
  204. In file included from bug4.cpp:1:
  205. /usr/include/c++/8.1.0/functional:467:70: note: types ‘std::tuple<_T1, _T2>’ and ‘const std::_Placeholder<1>’ have incompatible cv-qualifiers
  206. : _M_f(std::move(__f)), _M_bound_args(std::forward<_Args>(__args)...)
  207. ^
  208. In file included from /usr/include/c++/8.1.0/functional:54,
  209. from bug4.cpp:1:
  210. /usr/include/c++/8.1.0/tuple:1013:19: note: candidate: ‘template<class _U1, class _U2, typename std::enable_if<(_MoveConstructibleTuple<_U1, _U2>() && _ImplicitlyMoveConvertibleTuple<_U1, _U2>()), bool>::type <anonymous> > constexpr std::tuple<_T1, _T2>::tuple(std::tuple<_U1, _U2>&&)’
  211. constexpr tuple(tuple<_U1, _U2>&& __in)
  212. ^~~~~
  213. /usr/include/c++/8.1.0/tuple:1013:19: note: template argument deduction/substitution failed:
  214. In file included from bug4.cpp:1:
  215. /usr/include/c++/8.1.0/functional:467:70: note: types ‘std::tuple<_T1, _T2>’ and ‘const std::_Placeholder<1>’ have incompatible cv-qualifiers
  216. : _M_f(std::move(__f)), _M_bound_args(std::forward<_Args>(__args)...)
  217. ^
  218. In file included from /usr/include/c++/8.1.0/functional:54,
  219. from bug4.cpp:1:
  220. /usr/include/c++/8.1.0/tuple:1004:28: note: candidate: ‘template<class _U1, class _U2, typename std::enable_if<(_ConstructibleTuple<_U1, _U2>() && (! _ImplicitlyConvertibleTuple<_U1, _U2>())), bool>::type <anonymous> > constexpr std::tuple<_T1, _T2>::tuple(const std::tuple<_U1, _U2>&)’
  221. explicit constexpr tuple(const tuple<_U1, _U2>& __in)
  222. ^~~~~
  223. /usr/include/c++/8.1.0/tuple:1004:28: note: template argument deduction/substitution failed:
  224. In file included from bug4.cpp:1:
  225. /usr/include/c++/8.1.0/functional:467:70: note: ‘const std::_Placeholder<1>’ is not derived from ‘const std::tuple<_T1, _T2>’
  226. : _M_f(std::move(__f)), _M_bound_args(std::forward<_Args>(__args)...)
  227. ^
  228. In file included from /usr/include/c++/8.1.0/functional:54,
  229. from bug4.cpp:1:
  230. /usr/include/c++/8.1.0/tuple:995:19: note: candidate: ‘template<class _U1, class _U2, typename std::enable_if<(_ConstructibleTuple<_U1, _U2>() && _ImplicitlyConvertibleTuple<_U1, _U2>()), bool>::type <anonymous> > constexpr std::tuple<_T1, _T2>::tuple(const std::tuple<_U1, _U2>&)’
  231. constexpr tuple(const tuple<_U1, _U2>& __in)
  232. ^~~~~
  233. /usr/include/c++/8.1.0/tuple:995:19: note: template argument deduction/substitution failed:
  234. In file included from bug4.cpp:1:
  235. /usr/include/c++/8.1.0/functional:467:70: note: ‘const std::_Placeholder<1>’ is not derived from ‘const std::tuple<_T1, _T2>’
  236. : _M_f(std::move(__f)), _M_bound_args(std::forward<_Args>(__args)...)
  237. ^
  238. In file included from /usr/include/c++/8.1.0/functional:54,
  239. from bug4.cpp:1:
  240. /usr/include/c++/8.1.0/tuple:987:17: note: candidate: ‘constexpr std::tuple<_T1, _T2>::tuple(std::tuple<_T1, _T2>&&) [with _T1 = std::_Placeholder<1>; _T2 = std::basic_ostream<char>]’
  241. constexpr tuple(tuple&&) = default;
  242. ^~~~~
  243. /usr/include/c++/8.1.0/tuple:987:17: note: candidate expects 1 argument, 2 provided
  244. /usr/include/c++/8.1.0/tuple:982:28: note: candidate: ‘template<class _U1, class _U2, typename std::enable_if<((_MoveConstructibleTuple<_U1, _U2>() && (! _ImplicitlyMoveConvertibleTuple<_U1, _U2>())) && (! std::is_same<typename std::decay<_Tp>::type, std::allocator_arg_t>::value)), bool>::type <anonymous> > constexpr std::tuple<_T1, _T2>::tuple(_U1&&, _U2&&)’
  245. explicit constexpr tuple(_U1&& __a1, _U2&& __a2)
  246. ^~~~~
  247. /usr/include/c++/8.1.0/tuple:982:28: note: template argument deduction/substitution failed:
  248. /usr/include/c++/8.1.0/tuple:981:16: error: no type named ‘type’ in ‘struct std::enable_if<false, bool>’
  249. bool>::type = false>
  250. ^~~~~
  251. /usr/include/c++/8.1.0/tuple:971:19: note: candidate: ‘template<class _U1, class _U2, typename std::enable_if<((_MoveConstructibleTuple<_U1, _U2>() && _ImplicitlyMoveConvertibleTuple<_U1, _U2>()) && (! std::is_same<typename std::decay<_Tp>::type, std::allocator_arg_t>::value)), bool>::type <anonymous> > constexpr std::tuple<_T1, _T2>::tuple(_U1&&, _U2&&)’
  252. constexpr tuple(_U1&& __a1, _U2&& __a2)
  253. ^~~~~
  254. /usr/include/c++/8.1.0/tuple:971:19: note: template argument deduction/substitution failed:
  255. /usr/include/c++/8.1.0/tuple:970:16: error: no type named ‘type’ in ‘struct std::enable_if<false, bool>’
  256. bool>::type = true>
  257. ^~~~
  258. /usr/include/c++/8.1.0/tuple:956:28: note: candidate: ‘template<class _Dummy, typename std::enable_if<(std::_TC<std::is_same<_Dummy, void>::value, std::_Placeholder<1>, std::basic_ostream<char, std::char_traits<char> > >::_ConstructibleTuple<_Placeholder<1>, basic_ostream<char, std::char_traits<char> > >() && (! std::_TC<std::is_same<_Dummy, void>::value, std::_Placeholder<1>, std::basic_ostream<char, std::char_traits<char> > >::_ImplicitlyConvertibleTuple<_Placeholder<1>, basic_ostream<char, std::char_traits<char> > >())), bool>::type <anonymous> > constexpr std::tuple<_T1, _T2>::tuple(const _T1&, const _T2&)’
  259. explicit constexpr tuple(const _T1& __a1, const _T2& __a2)
  260. ^~~~~
  261. /usr/include/c++/8.1.0/tuple:956:28: note: template argument deduction/substitution failed:
  262. /usr/include/c++/8.1.0/tuple:955:16: error: no type named ‘type’ in ‘struct std::enable_if<false, bool>’
  263. bool>::type = false>
  264. ^~~~~
  265. /usr/include/c++/8.1.0/tuple:947:19: note: candidate: ‘template<class _Dummy, typename std::enable_if<(std::_TC<std::is_same<_Dummy, void>::value, std::_Placeholder<1>, std::basic_ostream<char, std::char_traits<char> > >::_ConstructibleTuple<_Placeholder<1>, basic_ostream<char, std::char_traits<char> > >() && std::_TC<std::is_same<_Dummy, void>::value, std::_Placeholder<1>, std::basic_ostream<char, std::char_traits<char> > >::_ImplicitlyConvertibleTuple<_Placeholder<1>, basic_ostream<char, std::char_traits<char> > >()), bool>::type <anonymous> > constexpr std::tuple<_T1, _T2>::tuple(const _T1&, const _T2&)’
  266. constexpr tuple(const _T1& __a1, const _T2& __a2)
  267. ^~~~~
  268. /usr/include/c++/8.1.0/tuple:947:19: note: template argument deduction/substitution failed:
  269. /usr/include/c++/8.1.0/tuple:946:16: error: no type named ‘type’ in ‘struct std::enable_if<false, bool>’
  270. bool>::type = true>
  271. ^~~~
  272. /usr/include/c++/8.1.0/tuple:933:26: note: candidate: ‘template<class _U1, class _U2, typename std::enable_if<std::__and_<std::is_default_constructible<_Tp>, std::is_default_constructible<_U2>, std::__not_<std::__and_<std::__is_implicitly_default_constructible<_U1>, std::__is_implicitly_default_constructible<_U2> > > >::value, bool>::type <anonymous> > constexpr std::tuple<_T1, _T2>::tuple()’
  273. explicit constexpr tuple()
  274. ^~~~~
  275. /usr/include/c++/8.1.0/tuple:933:26: note: template argument deduction/substitution failed:
  276. In file included from bug4.cpp:1:
  277. /usr/include/c++/8.1.0/functional:467:70: note: candidate expects 0 arguments, 2 provided
  278. : _M_f(std::move(__f)), _M_bound_args(std::forward<_Args>(__args)...)
  279. ^
  280. In file included from /usr/include/c++/8.1.0/functional:54,
  281. from bug4.cpp:1:
  282. /usr/include/c++/8.1.0/tuple:919:17: note: candidate: ‘template<class _U1, class _U2, typename std::enable_if<std::__and_<std::__is_implicitly_default_constructible<_U1>, std::__is_implicitly_default_constructible<_U2> >::value, bool>::type <anonymous> > constexpr std::tuple<_T1, _T2>::tuple()’
  283. constexpr tuple()
  284. ^~~~~
  285. /usr/include/c++/8.1.0/tuple:919:17: note: template argument deduction/substitution failed:
  286. In file included from bug4.cpp:1:
  287. /usr/include/c++/8.1.0/functional:467:70: note: candidate expects 0 arguments, 2 provided
  288. : _M_f(std::move(__f)), _M_bound_args(std::forward<_Args>(__args)...)
  289. ^
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement