Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- In file included from bug4.cpp:1:
- /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> >}]’:
- /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>&)>]’
- bug4.cpp:14:33: required from here
- /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>&)’
- : _M_f(std::move(__f)), _M_bound_args(std::forward<_Args>(__args)...)
- ^
- In file included from /usr/include/c++/8.1.0/functional:54,
- from bug4.cpp:1:
- /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>&&)’
- explicit tuple(allocator_arg_t __tag, const _Alloc& __a,
- ^~~~~
- /usr/include/c++/8.1.0/tuple:1203:18: note: template argument deduction/substitution failed:
- In file included from bug4.cpp:1:
- /usr/include/c++/8.1.0/functional:467:70: note: candidate expects 3 arguments, 2 provided
- : _M_f(std::move(__f)), _M_bound_args(std::forward<_Args>(__args)...)
- ^
- In file included from /usr/include/c++/8.1.0/functional:54,
- from bug4.cpp:1:
- /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>&&)’
- tuple(allocator_arg_t __tag, const _Alloc& __a, pair<_U1, _U2>&& __in)
- ^~~~~
- /usr/include/c++/8.1.0/tuple:1193:9: note: template argument deduction/substitution failed:
- In file included from bug4.cpp:1:
- /usr/include/c++/8.1.0/functional:467:70: note: candidate expects 3 arguments, 2 provided
- : _M_f(std::move(__f)), _M_bound_args(std::forward<_Args>(__args)...)
- ^
- In file included from /usr/include/c++/8.1.0/functional:54,
- from bug4.cpp:1:
- /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>&)’
- explicit tuple(allocator_arg_t __tag, const _Alloc& __a,
- ^~~~~
- /usr/include/c++/8.1.0/tuple:1183:18: note: template argument deduction/substitution failed:
- In file included from bug4.cpp:1:
- /usr/include/c++/8.1.0/functional:467:70: note: candidate expects 3 arguments, 2 provided
- : _M_f(std::move(__f)), _M_bound_args(std::forward<_Args>(__args)...)
- ^
- In file included from /usr/include/c++/8.1.0/functional:54,
- from bug4.cpp:1:
- /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>&)’
- tuple(allocator_arg_t __tag, const _Alloc& __a,
- ^~~~~
- /usr/include/c++/8.1.0/tuple:1173:9: note: template argument deduction/substitution failed:
- In file included from bug4.cpp:1:
- /usr/include/c++/8.1.0/functional:467:70: note: candidate expects 3 arguments, 2 provided
- : _M_f(std::move(__f)), _M_bound_args(std::forward<_Args>(__args)...)
- ^
- In file included from /usr/include/c++/8.1.0/functional:54,
- from bug4.cpp:1:
- /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>&&)’
- explicit tuple(allocator_arg_t __tag, const _Alloc& __a,
- ^~~~~
- /usr/include/c++/8.1.0/tuple:1162:11: note: template argument deduction/substitution failed:
- In file included from bug4.cpp:1:
- /usr/include/c++/8.1.0/functional:467:70: note: candidate expects 3 arguments, 2 provided
- : _M_f(std::move(__f)), _M_bound_args(std::forward<_Args>(__args)...)
- ^
- In file included from /usr/include/c++/8.1.0/functional:54,
- from bug4.cpp:1:
- /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>&&)’
- tuple(allocator_arg_t __tag, const _Alloc& __a, tuple<_U1, _U2>&& __in)
- ^~~~~
- /usr/include/c++/8.1.0/tuple:1152:2: note: template argument deduction/substitution failed:
- In file included from bug4.cpp:1:
- /usr/include/c++/8.1.0/functional:467:70: note: candidate expects 3 arguments, 2 provided
- : _M_f(std::move(__f)), _M_bound_args(std::forward<_Args>(__args)...)
- ^
- In file included from /usr/include/c++/8.1.0/functional:54,
- from bug4.cpp:1:
- /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>&)’
- explicit tuple(allocator_arg_t __tag, const _Alloc& __a,
- ^~~~~
- /usr/include/c++/8.1.0/tuple:1140:11: note: template argument deduction/substitution failed:
- In file included from bug4.cpp:1:
- /usr/include/c++/8.1.0/functional:467:70: note: candidate expects 3 arguments, 2 provided
- : _M_f(std::move(__f)), _M_bound_args(std::forward<_Args>(__args)...)
- ^
- In file included from /usr/include/c++/8.1.0/functional:54,
- from bug4.cpp:1:
- /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>&)’
- tuple(allocator_arg_t __tag, const _Alloc& __a,
- ^~~~~
- /usr/include/c++/8.1.0/tuple:1128:2: note: template argument deduction/substitution failed:
- In file included from bug4.cpp:1:
- /usr/include/c++/8.1.0/functional:467:70: note: candidate expects 3 arguments, 2 provided
- : _M_f(std::move(__f)), _M_bound_args(std::forward<_Args>(__args)...)
- ^
- In file included from /usr/include/c++/8.1.0/functional:54,
- from bug4.cpp:1:
- /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>&&)’
- tuple(allocator_arg_t __tag, const _Alloc& __a, tuple&& __in)
- ^~~~~
- /usr/include/c++/8.1.0/tuple:1119:2: note: template argument deduction/substitution failed:
- In file included from bug4.cpp:1:
- /usr/include/c++/8.1.0/functional:467:70: note: candidate expects 3 arguments, 2 provided
- : _M_f(std::move(__f)), _M_bound_args(std::forward<_Args>(__args)...)
- ^
- In file included from /usr/include/c++/8.1.0/functional:54,
- from bug4.cpp:1:
- /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>&)’
- tuple(allocator_arg_t __tag, const _Alloc& __a, const tuple& __in)
- ^~~~~
- /usr/include/c++/8.1.0/tuple:1115:2: note: template argument deduction/substitution failed:
- In file included from bug4.cpp:1:
- /usr/include/c++/8.1.0/functional:467:70: note: candidate expects 3 arguments, 2 provided
- : _M_f(std::move(__f)), _M_bound_args(std::forward<_Args>(__args)...)
- ^
- In file included from /usr/include/c++/8.1.0/functional:54,
- from bug4.cpp:1:
- /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&&)’
- explicit tuple(allocator_arg_t __tag, const _Alloc& __a,
- ^~~~~
- /usr/include/c++/8.1.0/tuple:1109:11: note: template argument deduction/substitution failed:
- In file included from bug4.cpp:1:
- /usr/include/c++/8.1.0/functional:467:70: note: candidate expects 4 arguments, 2 provided
- : _M_f(std::move(__f)), _M_bound_args(std::forward<_Args>(__args)...)
- ^
- In file included from /usr/include/c++/8.1.0/functional:54,
- from bug4.cpp:1:
- /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&&)’
- tuple(allocator_arg_t __tag, const _Alloc& __a, _U1&& __a1, _U2&& __a2)
- ^~~~~
- /usr/include/c++/8.1.0/tuple:1099:2: note: template argument deduction/substitution failed:
- In file included from bug4.cpp:1:
- /usr/include/c++/8.1.0/functional:467:70: note: candidate expects 4 arguments, 2 provided
- : _M_f(std::move(__f)), _M_bound_args(std::forward<_Args>(__args)...)
- ^
- In file included from /usr/include/c++/8.1.0/functional:54,
- from bug4.cpp:1:
- /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&)’
- explicit tuple(allocator_arg_t __tag, const _Alloc& __a,
- ^~~~~
- /usr/include/c++/8.1.0/tuple:1089:11: note: template argument deduction/substitution failed:
- In file included from bug4.cpp:1:
- /usr/include/c++/8.1.0/functional:467:70: note: candidate expects 4 arguments, 2 provided
- : _M_f(std::move(__f)), _M_bound_args(std::forward<_Args>(__args)...)
- ^
- In file included from /usr/include/c++/8.1.0/functional:54,
- from bug4.cpp:1:
- /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&)’
- tuple(allocator_arg_t __tag, const _Alloc& __a,
- ^~~~~
- /usr/include/c++/8.1.0/tuple:1077:2: note: template argument deduction/substitution failed:
- In file included from bug4.cpp:1:
- /usr/include/c++/8.1.0/functional:467:70: note: candidate expects 4 arguments, 2 provided
- : _M_f(std::move(__f)), _M_bound_args(std::forward<_Args>(__args)...)
- ^
- In file included from /usr/include/c++/8.1.0/functional:54,
- from bug4.cpp:1:
- /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&)’
- tuple(allocator_arg_t __tag, const _Alloc& __a)
- ^~~~~
- /usr/include/c++/8.1.0/tuple:1066:2: note: template argument deduction/substitution failed:
- In file included from bug4.cpp:1:
- /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’
- : _M_f(std::move(__f)), _M_bound_args(std::forward<_Args>(__args)...)
- ^
- In file included from /usr/include/c++/8.1.0/functional:54,
- from bug4.cpp:1:
- /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>&&)’
- explicit constexpr tuple(pair<_U1, _U2>&& __in)
- ^~~~~
- /usr/include/c++/8.1.0/tuple:1059:28: note: template argument deduction/substitution failed:
- In file included from bug4.cpp:1:
- /usr/include/c++/8.1.0/functional:467:70: note: types ‘std::pair<_T1, _T2>’ and ‘const std::_Placeholder<1>’ have incompatible cv-qualifiers
- : _M_f(std::move(__f)), _M_bound_args(std::forward<_Args>(__args)...)
- ^
- In file included from /usr/include/c++/8.1.0/functional:54,
- from bug4.cpp:1:
- /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>&&)’
- constexpr tuple(pair<_U1, _U2>&& __in)
- ^~~~~
- /usr/include/c++/8.1.0/tuple:1049:19: note: template argument deduction/substitution failed:
- In file included from bug4.cpp:1:
- /usr/include/c++/8.1.0/functional:467:70: note: types ‘std::pair<_T1, _T2>’ and ‘const std::_Placeholder<1>’ have incompatible cv-qualifiers
- : _M_f(std::move(__f)), _M_bound_args(std::forward<_Args>(__args)...)
- ^
- In file included from /usr/include/c++/8.1.0/functional:54,
- from bug4.cpp:1:
- /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>&)’
- explicit constexpr tuple(const pair<_U1, _U2>& __in)
- ^~~~~
- /usr/include/c++/8.1.0/tuple:1040:28: note: template argument deduction/substitution failed:
- In file included from bug4.cpp:1:
- /usr/include/c++/8.1.0/functional:467:70: note: ‘const std::_Placeholder<1>’ is not derived from ‘const std::pair<_T1, _T2>’
- : _M_f(std::move(__f)), _M_bound_args(std::forward<_Args>(__args)...)
- ^
- In file included from /usr/include/c++/8.1.0/functional:54,
- from bug4.cpp:1:
- /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>&)’
- constexpr tuple(const pair<_U1, _U2>& __in)
- ^~~~~
- /usr/include/c++/8.1.0/tuple:1031:19: note: template argument deduction/substitution failed:
- In file included from bug4.cpp:1:
- /usr/include/c++/8.1.0/functional:467:70: note: ‘const std::_Placeholder<1>’ is not derived from ‘const std::pair<_T1, _T2>’
- : _M_f(std::move(__f)), _M_bound_args(std::forward<_Args>(__args)...)
- ^
- In file included from /usr/include/c++/8.1.0/functional:54,
- from bug4.cpp:1:
- /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>&&)’
- explicit constexpr tuple(tuple<_U1, _U2>&& __in)
- ^~~~~
- /usr/include/c++/8.1.0/tuple:1022:28: note: template argument deduction/substitution failed:
- In file included from bug4.cpp:1:
- /usr/include/c++/8.1.0/functional:467:70: note: types ‘std::tuple<_T1, _T2>’ and ‘const std::_Placeholder<1>’ have incompatible cv-qualifiers
- : _M_f(std::move(__f)), _M_bound_args(std::forward<_Args>(__args)...)
- ^
- In file included from /usr/include/c++/8.1.0/functional:54,
- from bug4.cpp:1:
- /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>&&)’
- constexpr tuple(tuple<_U1, _U2>&& __in)
- ^~~~~
- /usr/include/c++/8.1.0/tuple:1013:19: note: template argument deduction/substitution failed:
- In file included from bug4.cpp:1:
- /usr/include/c++/8.1.0/functional:467:70: note: types ‘std::tuple<_T1, _T2>’ and ‘const std::_Placeholder<1>’ have incompatible cv-qualifiers
- : _M_f(std::move(__f)), _M_bound_args(std::forward<_Args>(__args)...)
- ^
- In file included from /usr/include/c++/8.1.0/functional:54,
- from bug4.cpp:1:
- /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>&)’
- explicit constexpr tuple(const tuple<_U1, _U2>& __in)
- ^~~~~
- /usr/include/c++/8.1.0/tuple:1004:28: note: template argument deduction/substitution failed:
- In file included from bug4.cpp:1:
- /usr/include/c++/8.1.0/functional:467:70: note: ‘const std::_Placeholder<1>’ is not derived from ‘const std::tuple<_T1, _T2>’
- : _M_f(std::move(__f)), _M_bound_args(std::forward<_Args>(__args)...)
- ^
- In file included from /usr/include/c++/8.1.0/functional:54,
- from bug4.cpp:1:
- /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>&)’
- constexpr tuple(const tuple<_U1, _U2>& __in)
- ^~~~~
- /usr/include/c++/8.1.0/tuple:995:19: note: template argument deduction/substitution failed:
- In file included from bug4.cpp:1:
- /usr/include/c++/8.1.0/functional:467:70: note: ‘const std::_Placeholder<1>’ is not derived from ‘const std::tuple<_T1, _T2>’
- : _M_f(std::move(__f)), _M_bound_args(std::forward<_Args>(__args)...)
- ^
- In file included from /usr/include/c++/8.1.0/functional:54,
- from bug4.cpp:1:
- /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>]’
- constexpr tuple(tuple&&) = default;
- ^~~~~
- /usr/include/c++/8.1.0/tuple:987:17: note: candidate expects 1 argument, 2 provided
- /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&&)’
- explicit constexpr tuple(_U1&& __a1, _U2&& __a2)
- ^~~~~
- /usr/include/c++/8.1.0/tuple:982:28: note: template argument deduction/substitution failed:
- /usr/include/c++/8.1.0/tuple:981:16: error: no type named ‘type’ in ‘struct std::enable_if<false, bool>’
- bool>::type = false>
- ^~~~~
- /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&&)’
- constexpr tuple(_U1&& __a1, _U2&& __a2)
- ^~~~~
- /usr/include/c++/8.1.0/tuple:971:19: note: template argument deduction/substitution failed:
- /usr/include/c++/8.1.0/tuple:970:16: error: no type named ‘type’ in ‘struct std::enable_if<false, bool>’
- bool>::type = true>
- ^~~~
- /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&)’
- explicit constexpr tuple(const _T1& __a1, const _T2& __a2)
- ^~~~~
- /usr/include/c++/8.1.0/tuple:956:28: note: template argument deduction/substitution failed:
- /usr/include/c++/8.1.0/tuple:955:16: error: no type named ‘type’ in ‘struct std::enable_if<false, bool>’
- bool>::type = false>
- ^~~~~
- /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&)’
- constexpr tuple(const _T1& __a1, const _T2& __a2)
- ^~~~~
- /usr/include/c++/8.1.0/tuple:947:19: note: template argument deduction/substitution failed:
- /usr/include/c++/8.1.0/tuple:946:16: error: no type named ‘type’ in ‘struct std::enable_if<false, bool>’
- bool>::type = true>
- ^~~~
- /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()’
- explicit constexpr tuple()
- ^~~~~
- /usr/include/c++/8.1.0/tuple:933:26: note: template argument deduction/substitution failed:
- In file included from bug4.cpp:1:
- /usr/include/c++/8.1.0/functional:467:70: note: candidate expects 0 arguments, 2 provided
- : _M_f(std::move(__f)), _M_bound_args(std::forward<_Args>(__args)...)
- ^
- In file included from /usr/include/c++/8.1.0/functional:54,
- from bug4.cpp:1:
- /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()’
- constexpr tuple()
- ^~~~~
- /usr/include/c++/8.1.0/tuple:919:17: note: template argument deduction/substitution failed:
- In file included from bug4.cpp:1:
- /usr/include/c++/8.1.0/functional:467:70: note: candidate expects 0 arguments, 2 provided
- : _M_f(std::move(__f)), _M_bound_args(std::forward<_Args>(__args)...)
- ^
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement