foo.cc: In function 'int main()':
foo.cc:28:37: error: 'xfm' was not declared in this scope; did you mean 'fm'?
28 | fz+=xfm; }
| ^~~
| fm
foo.cc:25:37: warning: unused variable 'x' [-Wunused-variable]
25 | int x=ans.top();
| ^
foo.cc:42:39: error: 'tfm' was not declared in this scope; did you mean 'fm'?
42 | fz=fz-tfm;
| ^~~
| fm
foo.cc:47:34: error: no match for 'operator<<' (operand types are 'std::basic_ostream<char>' and '<unresolved overloaded function type>')
47 | cout<<"["<<ans.front<<"]";
| ~~~~~~~~~^~~~~~~~~~~
| | |
| | <unresolved overloaded function type>
| std::basic_ostream<char>
In file included from /nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/istream:39,
from /nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/sstream:38,
from /nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/complex:45,
from /nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/ccomplex:39,
from stdc++.h:54:
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/ostream:108:7: note: candidate: 'std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(__ostream_type& (*)(__ostream_type&)) [with _CharT = char; _Traits = std::char_traits<char>; __ostream_type = std::basic_ostream<char>]'
108 | operator<<(__ostream_type& (*__pf)(__ostream_type&))
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/ostream:108:36: note: no known conversion for argument 1 from '<unresolved overloaded function type>' to 'std::basic_ostream<char>::__ostream_type& (*)(std::basic_ostream<char>::__ostream_type&)' {aka 'std::basic_ostream<char>& (*)(std::basic_ostream<char>&)'}
108 | operator<<(__ostream_type& (*__pf)(__ostream_type&))
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/ostream:117:7: note: candidate: 'std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(__ios_type& (*)(__ios_type&)) [with _CharT = char; _Traits = std::char_traits<char>; __ostream_type = std::basic_ostream<char>; __ios_type = std::basic_ios<char>]'
117 | operator<<(__ios_type& (*__pf)(__ios_type&))
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/ostream:117:32: note: no known conversion for argument 1 from '<unresolved overloaded function type>' to 'std::basic_ostream<char>::__ios_type& (*)(std::basic_ostream<char>::__ios_type&)' {aka 'std::basic_ios<char>& (*)(std::basic_ios<char>&)'}
117 | operator<<(__ios_type& (*__pf)(__ios_type&))
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/ostream:127:7: note: candidate: 'std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(std::ios_base& (*)(std::ios_base&)) [with _CharT = char; _Traits = std::char_traits<char>; __ostream_type = std::basic_ostream<char>]'
127 | operator<<(ios_base& (*__pf) (ios_base&))
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/ostream:127:30: note: no known conversion for argument 1 from '<unresolved overloaded function type>' to 'std::ios_base& (*)(std::ios_base&)'
127 | operator<<(ios_base& (*__pf) (ios_base&))
| ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/ostream:166:7: note: candidate: 'std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(long int) [with _CharT = char; _Traits = std::char_traits<char>; __ostream_type = std::basic_ostream<char>]'
166 | operator<<(long __n)
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/ostream:166:23: note: no known conversion for argument 1 from '<unresolved overloaded function type>' to 'long int'
166 | operator<<(long __n)
| ~~~~~^~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/ostream:170:7: note: candidate: 'std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(long unsigned int) [with _CharT = char; _Traits = std::char_traits<char>; __ostream_type = std::basic_ostream<char>]'
170 | operator<<(unsigned long __n)
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/ostream:170:32: note: no known conversion for argument 1 from '<unresolved overloaded function type>' to 'long unsigned int'
170 | operator<<(unsigned long __n)
| ~~~~~~~~~~~~~~^~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/ostream:174:7: note: candidate: 'std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(bool) [with _CharT = char; _Traits = std::char_traits<char>; __ostream_type = std::basic_ostream<char>]'
174 | operator<<(bool __n)
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/ostream:174:23: note: no known conversion for argument 1 from '<unresolved overloaded function type>' to 'bool'
174 | operator<<(bool __n)
| ~~~~~^~~
In file included from /nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/ostream:833:
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/ostream.tcc:91:5: note: candidate: 'std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT, _Traits>::operator<<(short int) [with _CharT = char; _Traits = std::char_traits<char>]'
91 | basic_ostream<_CharT, _Traits>::
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/ostream.tcc:92:22: note: no known conversion for argument 1 from '<unresolved overloaded function type>' to 'short int'
92 | operator<<(short __n)
| ~~~~~~^~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/ostream:181:7: note: candidate: 'std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(short unsigned int) [with _CharT = char; _Traits = std::char_traits<char>; __ostream_type = std::basic_ostream<char>]'
181 | operator<<(unsigned short __n)
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/ostream:181:33: note: no known conversion for argument 1 from '<unresolved overloaded function type>' to 'short unsigned int'
181 | operator<<(unsigned short __n)
| ~~~~~~~~~~~~~~~^~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/ostream.tcc:105:5: note: candidate: 'std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT, _Traits>::operator<<(int) [with _CharT = char; _Traits = std::char_traits<char>]'
105 | basic_ostream<_CharT, _Traits>::
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/ostream.tcc:106:20: note: no known conversion for argument 1 from '<unresolved overloaded function type>' to 'int'
106 | operator<<(int __n)
| ~~~~^~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/ostream:192:7: note: candidate: 'std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(unsigned int) [with _CharT = char; _Traits = std::char_traits<char>; __ostream_type = std::basic_ostream<char>]'
192 | operator<<(unsigned int __n)
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/ostream:192:31: note: no known conversion for argument 1 from '<unresolved overloaded function type>' to 'unsigned int'
192 | operator<<(unsigned int __n)
| ~~~~~~~~~~~~~^~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/ostream:201:7: note: candidate: 'std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(long long int) [with _CharT = char; _Traits = std::char_traits<char>; __ostream_type = std::basic_ostream<char>]'
201 | operator<<(long long __n)
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/ostream:201:28: note: no known conversion for argument 1 from '<unresolved overloaded function type>' to 'long long int'
201 | operator<<(long long __n)
| ~~~~~~~~~~^~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/ostream:205:7: note: candidate: 'std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(long long unsigned int) [with _CharT = char; _Traits = std::char_traits<char>; __ostream_type = std::basic_ostream<char>]'
205 | operator<<(unsigned long long __n)
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/ostream:205:37: note: no known conversion for argument 1 from '<unresolved overloaded function type>' to 'long long unsigned int'
205 | operator<<(unsigned long long __n)
| ~~~~~~~~~~~~~~~~~~~^~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/ostream:220:7: note: candidate: 'std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(double) [with _CharT = char; _Traits = std::char_traits<char>; __ostream_type = std::basic_ostream<char>]'
220 | operator<<(double __f)
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/ostream:220:25: note: no known conversion for argument 1 from '<unresolved overloaded function type>' to 'double'
220 | operator<<(double __f)
| ~~~~~~~^~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/ostream:224:7: note: candidate: 'std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(float) [with _CharT = char; _Traits = std::char_traits<char>; __ostream_type = std::basic_ostream<char>]'
224 | operator<<(float __f)
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/ostream:224:24: note: no known conversion for argument 1 from '<unresolved overloaded function type>' to 'float'
224 | operator<<(float __f)
| ~~~~~~^~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/ostream:232:7: note: candidate: 'std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(long double) [with _CharT = char; _Traits = std::char_traits<char>; __ostream_type = std::basic_ostream<char>]'
232 | operator<<(long double __f)
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/ostream:232:30: note: no known conversion for argument 1 from '<unresolved overloaded function type>' to 'long double'
232 | operator<<(long double __f)
| ~~~~~~~~~~~~^~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/ostream:245:7: note: candidate: 'std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(const void*) [with _CharT = char; _Traits = std::char_traits<char>; __ostream_type = std::basic_ostream<char>]'
245 | operator<<(const void* __p)
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/ostream:245:30: note: no known conversion for argument 1 from '<unresolved overloaded function type>' to 'const void*'
245 | operator<<(const void* __p)
| ~~~~~~~~~~~~^~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/ostream.tcc:119:5: note: candidate: 'std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT, _Traits>::operator<<(__streambuf_type*) [with _CharT = char; _Traits = std::char_traits<char>; __streambuf_type = std::basic_streambuf<char>]'
119 | basic_ostream<_CharT, _Traits>::
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/ostream.tcc:120:34: note: no known conversion for argument 1 from '<unresolved overloaded function type>' to 'std::basic_ostream<char>::__streambuf_type*' {aka 'std::basic_streambuf<char>*'}
120 | operator<<(__streambuf_type* __sbin)
| ~~~~~~~~~~~~~~~~~~^~~~~~
In file included from /nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/regex:66,
from stdc++.h:110:
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/regex.h:1675:5: note: candidate: 'template<class _Ch_type, class _Ch_traits, class _Bi_iter> std::basic_ostream<_CharT, _Traits>& std::__cxx11::operator<<(std::basic_ostream<_CharT, _Traits>&, const sub_match<_Bi_iter>&)'
1675 | operator<<(basic_ostream<_Ch_type, _Ch_traits>& __os,
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/regex.h:1675:5: note: template argument deduction/substitution failed:
foo.cc:47:40: note: mismatched types 'const std::__cxx11::sub_match<_Bi_iter>' and 'const __gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)() const' {aka 'const int& (std::queue<int>::*)() const'}
47 | cout<<"["<<ans.front<<"]";
| ^~~~~
foo.cc:47:40: note: mismatched types 'const std::__cxx11::sub_match<_Bi_iter>' and '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)()' {aka 'int& (std::queue<int>::*)()'}
foo.cc:47:40: note: couldn't deduce template parameter '_Bi_iter'
In file included from /nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/string:53,
from /nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/locale_classes.h:40,
from /nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/ios_base.h:41,
from /nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/ios:42,
from /nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/istream:38:
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/basic_string.h:3883:5: note: candidate: 'template<class _CharT, class _Traits, class _Alloc> std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, const __cxx11::basic_string<_CharT, _Traits, _Alloc>&)'
3883 | operator<<(basic_ostream<_CharT, _Traits>& __os,
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/basic_string.h:3883:5: note: template argument deduction/substitution failed:
foo.cc:47:40: note: mismatched types 'const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>' and 'const __gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)() const' {aka 'const int& (std::queue<int>::*)() const'}
47 | cout<<"["<<ans.front<<"]";
| ^~~~~
foo.cc:47:40: note: mismatched types 'const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>' and '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)()' {aka 'int& (std::queue<int>::*)()'}
foo.cc:47:40: note: couldn't deduce template parameter '_Alloc'
In file included from /nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/ios_base.h:46:
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/system_error:279:5: note: candidate: 'template<class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, const error_code&)'
279 | operator<<(basic_ostream<_CharT, _Traits>& __os, const error_code& __e)
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/system_error:279:5: note: template argument deduction/substitution failed:
foo.cc:47:40: note: cannot convert 'ans.std::queue<int>::front' (type '<unresolved overloaded function type>') to type 'const std::error_code&'
47 | cout<<"["<<ans.front<<"]";
| ~~~~^~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/ostream:507:5: note: candidate: 'std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, _CharT) [with _CharT = char; _Traits = char_traits<char>]'
507 | operator<<(basic_ostream<_CharT, _Traits>& __out, _CharT __c)
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/ostream:507:62: note: no known conversion for argument 2 from '<unresolved overloaded function type>' to 'char'
507 | operator<<(basic_ostream<_CharT, _Traits>& __out, _CharT __c)
| ~~~~~~~^~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/ostream:517:5: note: candidate: 'template<class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, char)'
517 | operator<<(basic_ostream<_CharT, _Traits>& __out, char __c)
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/ostream:517:5: note: template argument deduction/substitution failed:
foo.cc:47:40: note: cannot convert 'ans.std::queue<int>::front' (type '<unresolved overloaded function type>') to type 'char'
47 | cout<<"["<<ans.front<<"]";
| ~~~~^~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/ostream:523:5: note: candidate: 'template<class _Traits> std::basic_ostream<char, _Traits>& std::operator<<(basic_ostream<char, _Traits>&, char)'
523 | operator<<(basic_ostream<char, _Traits>& __out, char __c)
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/ostream:523:5: note: template argument deduction/substitution failed:
foo.cc:47:40: note: cannot convert 'ans.std::queue<int>::front' (type '<unresolved overloaded function type>') to type 'char'
47 | cout<<"["<<ans.front<<"]";
| ~~~~^~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/ostream:534:5: note: candidate: 'template<class _Traits> std::basic_ostream<char, _Traits>& std::operator<<(basic_ostream<char, _Traits>&, signed char)'
534 | operator<<(basic_ostream<char, _Traits>& __out, signed char __c)
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/ostream:534:5: note: template argument deduction/substitution failed:
foo.cc:47:40: note: cannot convert 'ans.std::queue<int>::front' (type '<unresolved overloaded function type>') to type 'signed char'
47 | cout<<"["<<ans.front<<"]";
| ~~~~^~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/ostream:539:5: note: candidate: 'template<class _Traits> std::basic_ostream<char, _Traits>& std::operator<<(basic_ostream<char, _Traits>&, unsigned char)'
539 | operator<<(basic_ostream<char, _Traits>& __out, unsigned char __c)
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/ostream:539:5: note: template argument deduction/substitution failed:
foo.cc:47:40: note: cannot convert 'ans.std::queue<int>::front' (type '<unresolved overloaded function type>') to type 'unsigned char'
47 | cout<<"["<<ans.front<<"]";
| ~~~~^~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/ostream:598:5: note: candidate: 'std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, const _CharT*) [with _CharT = char; _Traits = char_traits<char>]'
598 | operator<<(basic_ostream<_CharT, _Traits>& __out, const _CharT* __s)
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/ostream:598:69: note: no known conversion for argument 2 from '<unresolved overloaded function type>' to 'const char*'
598 | operator<<(basic_ostream<_CharT, _Traits>& __out, const _CharT* __s)
| ~~~~~~~~~~~~~~^~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/ostream.tcc:302:5: note: candidate: 'template<class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, const char*)'
302 | operator<<(basic_ostream<_CharT, _Traits>& __out, const char* __s)
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/ostream.tcc:302:5: note: template argument deduction/substitution failed:
foo.cc:47:40: note: cannot convert 'ans.std::queue<int>::front' (type '<unresolved overloaded function type>') to type 'const char*'
47 | cout<<"["<<ans.front<<"]";
| ~~~~^~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/ostream:615:5: note: candidate: 'template<class _Traits> std::basic_ostream<char, _Traits>& std::operator<<(basic_ostream<char, _Traits>&, const char*)'
615 | operator<<(basic_ostream<char, _Traits>& __out, const char* __s)
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/ostream:615:5: note: template argument deduction/substitution failed:
foo.cc:47:40: note: cannot convert 'ans.std::queue<int>::front' (type '<unresolved overloaded function type>') to type 'const char*'
47 | cout<<"["<<ans.front<<"]";
| ~~~~^~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/ostream:628:5: note: candidate: 'template<class _Traits> std::basic_ostream<char, _Traits>& std::operator<<(basic_ostream<char, _Traits>&, const signed char*)'
628 | operator<<(basic_ostream<char, _Traits>& __out, const signed char* __s)
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/ostream:628:5: note: template argument deduction/substitution failed:
foo.cc:47:40: note: cannot convert 'ans.std::queue<int>::front' (type '<unresolved overloaded function type>') to type 'const signed char*'
47 | cout<<"["<<ans.front<<"]";
| ~~~~^~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/ostream:633:5: note: candidate: 'template<class _Traits> std::basic_ostream<char, _Traits>& std::operator<<(basic_ostream<char, _Traits>&, const unsigned char*)'
633 | operator<<(basic_ostream<char, _Traits>& __out, const unsigned char* __s)
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/ostream:633:5: note: template argument deduction/substitution failed:
foo.cc:47:40: note: cannot convert 'ans.std::queue<int>::front' (type '<unresolved overloaded function type>') to type 'const unsigned char*'
47 | cout<<"["<<ans.front<<"]";
| ~~~~^~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/ostream:754:5: note: candidate: 'template<class _Ostream, class _Tp> _Ostream&& std::operator<<(_Ostream&&, const _Tp&)'
754 | operator<<(_Ostream&& __os, const _Tp& __x)
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/ostream:754:5: note: template argument deduction/substitution failed:
foo.cc:47:40: note: couldn't deduce template parameter '_Tp'
47 | cout<<"["<<ans.front<<"]";
| ^~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/complex:555:5: note: candidate: 'template<class _Tp, class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, const complex<_Tp>&)'
555 | operator<<(basic_ostream<_CharT, _Traits>& __os, const complex<_Tp>& __x)
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/complex:555:5: note: template argument deduction/substitution failed:
foo.cc:47:40: note: mismatched types 'const std::complex<_Tp>' and 'const __gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)() const' {aka 'const int& (std::queue<int>::*)() const'}
47 | cout<<"["<<ans.front<<"]";
| ^~~~~
foo.cc:47:40: note: mismatched types 'const std::complex<_Tp>' and '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)()' {aka 'int& (std::queue<int>::*)()'}
foo.cc:47:40: note: couldn't deduce template parameter '_Tp'
In file included from stdc++.h:66:
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bitset:1540:5: note: candidate: 'template<class _CharT, class _Traits, long unsigned int _Nb> std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, const bitset<_Nb>&)'
1540 | operator<<(std::basic_ostream<_CharT, _Traits>& __os,
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bitset:1540:5: note: template argument deduction/substitution failed:
foo.cc:47:40: note: mismatched types 'const std::bitset<_Nb>' and 'const __gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)() const' {aka 'const int& (std::queue<int>::*)() const'}
47 | cout<<"["<<ans.front<<"]";
| ^~~~~
foo.cc:47:40: note: mismatched types 'const std::bitset<_Nb>' and '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)()' {aka 'int& (std::queue<int>::*)()'}
foo.cc:47:40: note: couldn't deduce template parameter '_Nb'
In file included from stdc++.h:72:
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/iomanip:79:5: note: candidate: 'template<class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, _Resetiosflags)'
79 | operator<<(basic_ostream<_CharT, _Traits>& __os, _Resetiosflags __f)
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/iomanip:79:5: note: template argument deduction/substitution failed:
foo.cc:47:40: note: cannot convert 'ans.std::queue<int>::front' (type '<unresolved overloaded function type>') to type 'std::_Resetiosflags'
47 | cout<<"["<<ans.front<<"]";
| ~~~~^~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/iomanip:109:5: note: candidate: 'template<class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, _Setiosflags)'
109 | operator<<(basic_ostream<_CharT, _Traits>& __os, _Setiosflags __f)
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/iomanip:109:5: note: template argument deduction/substitution failed:
foo.cc:47:40: note: cannot convert 'ans.std::queue<int>::front' (type '<unresolved overloaded function type>') to type 'std::_Setiosflags'
47 | cout<<"["<<ans.front<<"]";
| ~~~~^~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/iomanip:143:5: note: candidate: 'template<class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, _Setbase)'
143 | operator<<(basic_ostream<_CharT, _Traits>& __os, _Setbase __f)
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/iomanip:143:5: note: template argument deduction/substitution failed:
foo.cc:47:40: note: cannot convert 'ans.std::queue<int>::front' (type '<unresolved overloaded function type>') to type 'std::_Setbase'
47 | cout<<"["<<ans.front<<"]";
| ~~~~^~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/iomanip:178:5: note: candidate: 'std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, _Setfill<_CharT>) [with _CharT = char; _Traits = char_traits<char>]'
178 | operator<<(basic_ostream<_CharT, _Traits>& __os, _Setfill<_CharT> __f)
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/iomanip:178:71: note: no known conversion for argument 2 from '<unresolved overloaded function type>' to 'std::_Setfill<char>'
178 | operator<<(basic_ostream<_CharT, _Traits>& __os, _Setfill<_CharT> __f)
| ~~~~~~~~~~~~~~~~~^~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/iomanip:208:5: note: candidate: 'template<class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, _Setprecision)'
208 | operator<<(basic_ostream<_CharT, _Traits>& __os, _Setprecision __f)
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/iomanip:208:5: note: template argument deduction/substitution failed:
foo.cc:47:40: note: cannot convert 'ans.std::queue<int>::front' (type '<unresolved overloaded function type>') to type 'std::_Setprecision'
47 | cout<<"["<<ans.front<<"]";
| ~~~~^~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/iomanip:238:5: note: candidate: 'template<class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, _Setw)'
238 | operator<<(basic_ostream<_CharT, _Traits>& __os, _Setw __f)
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/iomanip:238:5: note: template argument deduction/substitution failed:
foo.cc:47:40: note: cannot convert 'ans.std::queue<int>::front' (type '<unresolved overloaded function type>') to type 'std::_Setw'
47 | cout<<"["<<ans.front<<"]";
| ~~~~^~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/iomanip:311:5: note: candidate: 'template<class _CharT, class _Traits, class _MoneyT> std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, _Put_money<_MoneyT>)'
311 | operator<<(basic_ostream<_CharT, _Traits>& __os, _Put_money<_MoneyT> __f)
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/iomanip:311:5: note: template argument deduction/substitution failed:
foo.cc:47:40: note: mismatched types 'std::_Put_money<_MoneyT>' and 'const __gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)() const' {aka 'const int& (std::queue<int>::*)() const'}
47 | cout<<"["<<ans.front<<"]";
| ^~~~~
foo.cc:47:40: note: mismatched types 'std::_Put_money<_MoneyT>' and '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)()' {aka 'int& (std::queue<int>::*)()'}
foo.cc:47:40: note: couldn't deduce template parameter '_MoneyT'
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/iomanip:363:5: note: candidate: 'std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, _Put_time<_CharT>) [with _CharT = char; _Traits = char_traits<char>]'
363 | operator<<(basic_ostream<_CharT, _Traits>& __os, _Put_time<_CharT> __f)
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/iomanip:363:72: note: no known conversion for argument 2 from '<unresolved overloaded function type>' to 'std::_Put_time<char>'
363 | operator<<(basic_ostream<_CharT, _Traits>& __os, _Put_time<_CharT> __f)
| ~~~~~~~~~~~~~~~~~~^~~
In file included from /nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/memory:77,
from stdc++.h:82:
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/shared_ptr.h:70:5: note: candidate: 'template<class _Ch, class _Tr, class _Tp, __gnu_cxx::_Lock_policy _Lp> std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, const __shared_ptr<_Tp, _Lp>&)'
70 | operator<<(std::basic_ostream<_Ch, _Tr>& __os,
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/shared_ptr.h:70:5: note: template argument deduction/substitution failed:
foo.cc:47:40: note: mismatched types 'const std::__shared_ptr<_Tp, _Lp>' and 'const __gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)() const' {aka 'const int& (std::queue<int>::*)() const'}
47 | cout<<"["<<ans.front<<"]";
| ^~~~~
foo.cc:47:40: note: mismatched types 'const std::__shared_ptr<_Tp, _Lp>' and '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)()' {aka 'int& (std::queue<int>::*)()'}
foo.cc:47:40: note: couldn't deduce template parameter '_Tp'
In file included from /nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/valarray:603,
from stdc++.h:95:
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/valarray_after.h:413:5: note: candidate: 'template<class _Dom1, class _Dom2> std::_Expr<std::__detail::_BinClos<std::__shift_left, std::_Expr, std::_Expr, _Dom1, _Dom2>, typename std::__fun<std::__shift_left, typename _Dom1::value_type>::result_type> std::operator<<(const _Expr<_Dom1, typename _Dom1::value_type>&, const _Expr<_Dom2, typename _Dom2::value_type>&)'
413 | _DEFINE_EXPR_BINARY_OPERATOR(<<, struct std::__shift_left)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/valarray_after.h:413:5: note: template argument deduction/substitution failed:
foo.cc:47:40: note: 'std::basic_ostream<char>' is not derived from 'const std::_Expr<_Dom1, typename _Dom1::value_type>'
47 | cout<<"["<<ans.front<<"]";
| ^~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/valarray_after.h:413:5: note: candidate: 'template<class _Dom> std::_Expr<std::__detail::_BinClos<std::__shift_left, std::_Expr, std::_Constant, _Dom, typename _Dom::value_type>, typename std::__fun<std::__shift_left, typename _Dom1::value_type>::result_type> std::operator<<(const _Expr<_Dom1, typename _Dom1::value_type>&, const typename _Dom::value_type&)'
413 | _DEFINE_EXPR_BINARY_OPERATOR(<<, struct std::__shift_left)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/valarray_after.h:413:5: note: template argument deduction/substitution failed:
foo.cc:47:40: note: 'std::basic_ostream<char>' is not derived from 'const std::_Expr<_Dom1, typename _Dom1::value_type>'
47 | cout<<"["<<ans.front<<"]";
| ^~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/valarray_after.h:413:5: note: candidate: 'template<class _Dom> std::_Expr<std::__detail::_BinClos<std::__shift_left, std::_Constant, std::_Expr, typename _Dom::value_type, _Dom>, typename std::__fun<std::__shift_left, typename _Dom1::value_type>::result_type> std::operator<<(const typename _Dom::value_type&, const _Expr<_Dom1, typename _Dom1::value_type>&)'
413 | _DEFINE_EXPR_BINARY_OPERATOR(<<, struct std::__shift_left)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/valarray_after.h:413:5: note: template argument deduction/substitution failed:
foo.cc:47:40: note: mismatched types 'const std::_Expr<_Dom1, typename _Dom1::value_type>' and 'const __gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)() const' {aka 'const int& (std::queue<int>::*)() const'}
47 | cout<<"["<<ans.front<<"]";
| ^~~~~
foo.cc:47:40: note: mismatched types 'const std::_Expr<_Dom1, typename _Dom1::value_type>' and '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)()' {aka 'int& (std::queue<int>::*)()'}
foo.cc:47:40: note: couldn't deduce template parameter '_Dom'
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/valarray_after.h:413:5: note: candidate: 'template<class _Dom> std::_Expr<std::__detail::_BinClos<std::__shift_left, std::_Expr, std::_ValArray, _Dom, typename _Dom::value_type>, typename std::__fun<std::__shift_left, typename _Dom1::value_type>::result_type> std::operator<<(const _Expr<_Dom1, typename _Dom1::value_type>&, const valarray<typename _Dom::value_type>&)'
413 | _DEFINE_EXPR_BINARY_OPERATOR(<<, struct std::__shift_left)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/valarray_after.h:413:5: note: template argument deduction/substitution failed:
foo.cc:47:40: note: 'std::basic_ostream<char>' is not derived from 'const std::_Expr<_Dom1, typename _Dom1::value_type>'
47 | cout<<"["<<ans.front<<"]";
| ^~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/valarray_after.h:413:5: note: candidate: 'template<class _Dom> std::_Expr<std::__detail::_BinClos<std::__shift_left, std::_ValArray, std::_Expr, typename _Dom::value_type, _Dom>, typename std::__fun<std::__shift_left, typename _Dom1::value_type>::result_type> std::operator<<(const valarray<typename _Dom::value_type>&, const _Expr<_Dom1, typename _Dom1::value_type>&)'
413 | _DEFINE_EXPR_BINARY_OPERATOR(<<, struct std::__shift_left)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/valarray_after.h:413:5: note: template argument deduction/substitution failed:
foo.cc:47:40: note: mismatched types 'const std::_Expr<_Dom1, typename _Dom1::value_type>' and 'const __gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)() const' {aka 'const int& (std::queue<int>::*)() const'}
47 | cout<<"["<<ans.front<<"]";
| ^~~~~
foo.cc:47:40: note: mismatched types 'const std::_Expr<_Dom1, typename _Dom1::value_type>' and '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)()' {aka 'int& (std::queue<int>::*)()'}
foo.cc:47:40: note: couldn't deduce template parameter '_Dom'
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/valarray:1193:1: note: candidate: 'template<class _Tp> std::_Expr<std::__detail::_BinClos<std::__shift_left, std::_ValArray, std::_ValArray, _Tp, _Tp>, typename std::__fun<std::__shift_left, _Tp>::result_type> std::operator<<(const valarray<_Tp>&, const valarray<_Tp>&)'
1193 | _DEFINE_BINARY_OPERATOR(<<, __shift_left)
| ^~~~~~~~~~~~~~~~~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/valarray:1193:1: note: template argument deduction/substitution failed:
foo.cc:47:40: note: 'std::basic_ostream<char>' is not derived from 'const std::valarray<_Tp>'
47 | cout<<"["<<ans.front<<"]";
| ^~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/valarray:1193:1: note: candidate: 'template<class _Tp> std::_Expr<std::__detail::_BinClos<std::__shift_left, std::_ValArray, std::_Constant, _Tp, _Tp>, typename std::__fun<std::__shift_left, _Tp>::result_type> std::operator<<(const valarray<_Tp>&, const typename valarray<_Tp>::value_type&)'
1193 | _DEFINE_BINARY_OPERATOR(<<, __shift_left)
| ^~~~~~~~~~~~~~~~~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/valarray:1193:1: note: template argument deduction/substitution failed:
foo.cc:47:40: note: 'std::basic_ostream<char>' is not derived from 'const std::valarray<_Tp>'
47 | cout<<"["<<ans.front<<"]";
| ^~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/valarray:1193:1: note: candidate: 'template<class _Tp> std::_Expr<std::__detail::_BinClos<std::__shift_left, std::_Constant, std::_ValArray, _Tp, _Tp>, typename std::__fun<std::__shift_left, _Tp>::result_type> std::operator<<(const typename valarray<_Tp>::value_type&, const valarray<_Tp>&)'
1193 | _DEFINE_BINARY_OPERATOR(<<, __shift_left)
| ^~~~~~~~~~~~~~~~~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/valarray:1193:1: note: template argument deduction/substitution failed:
foo.cc:47:40: note: mismatched types 'const std::valarray<_Tp>' and 'const __gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)() const' {aka 'const int& (std::queue<int>::*)() const'}
47 | cout<<"["<<ans.front<<"]";
| ^~~~~
foo.cc:47:40: note: mismatched types 'const std::valarray<_Tp>' and '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)()' {aka 'int& (std::queue<int>::*)()'}
foo.cc:47:40: note: couldn't deduce template parameter '_Tp'
In file included from /nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/random:49,
from stdc++.h:108:
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/random.h:1312:5: note: candidate: 'template<class _RandomNumberEngine, long unsigned int __w, class _UIntType, class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, const independent_bits_engine<_RandomNumberEngine, __w, _UIntType>&)'
1312 | operator<<(std::basic_ostream<_CharT, _Traits>& __os,
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/random.h:1312:5: note: template argument deduction/substitution failed:
foo.cc:47:40: note: mismatched types 'const std::independent_bits_engine<_RandomNumberEngine, __w, _UIntType>' and 'const __gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)() const' {aka 'const int& (std::queue<int>::*)() const'}
47 | cout<<"["<<ans.front<<"]";
| ^~~~~
foo.cc:47:40: note: mismatched types 'const std::independent_bits_engine<_RandomNumberEngine, __w, _UIntType>' and '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)()' {aka 'int& (std::queue<int>::*)()'}
foo.cc:47:40: note: couldn't deduce template parameter '_RandomNumberEngine'
In file included from /nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/random:51:
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/random.tcc:907:5: note: candidate: 'template<class _IntType, class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, const uniform_int_distribution<_IntType>&)'
907 | operator<<(std::basic_ostream<_CharT, _Traits>& __os,
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/random.tcc:907:5: note: template argument deduction/substitution failed:
foo.cc:47:40: note: mismatched types 'const std::uniform_int_distribution<_IntType>' and 'const __gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)() const' {aka 'const int& (std::queue<int>::*)() const'}
47 | cout<<"["<<ans.front<<"]";
| ^~~~~
foo.cc:47:40: note: mismatched types 'const std::uniform_int_distribution<_IntType>' and '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)()' {aka 'int& (std::queue<int>::*)()'}
foo.cc:47:40: note: couldn't deduce template parameter '_IntType'
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/random.tcc:965:5: note: candidate: 'template<class _RealType, class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, const uniform_real_distribution<_IntType>&)'
965 | operator<<(std::basic_ostream<_CharT, _Traits>& __os,
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/random.tcc:965:5: note: template argument deduction/substitution failed:
foo.cc:47:40: note: mismatched types 'const std::uniform_real_distribution<_IntType>' and 'const __gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)() const' {aka 'const int& (std::queue<int>::*)() const'}
47 | cout<<"["<<ans.front<<"]";
| ^~~~~
foo.cc:47:40: note: mismatched types 'const std::uniform_real_distribution<_IntType>' and '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)()' {aka 'int& (std::queue<int>::*)()'}
foo.cc:47:40: note: couldn't deduce template parameter '_RealType'
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/random.tcc:2150:5: note: candidate: 'template<class _RealType, class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, const cauchy_distribution<_RealType>&)'
2150 | operator<<(std::basic_ostream<_CharT, _Traits>& __os,
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/random.tcc:2150:5: note: template argument deduction/substitution failed:
foo.cc:47:40: note: mismatched types 'const std::cauchy_distribution<_RealType>' and 'const __gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)() const' {aka 'const int& (std::queue<int>::*)() const'}
47 | cout<<"["<<ans.front<<"]";
| ^~~~~
foo.cc:47:40: note: mismatched types 'const std::cauchy_distribution<_RealType>' and '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)()' {aka 'int& (std::queue<int>::*)()'}
foo.cc:47:40: note: couldn't deduce template parameter '_RealType'
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/random.tcc:1026:5: note: candidate: 'template<class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, const bernoulli_distribution&)'
1026 | operator<<(std::basic_ostream<_CharT, _Traits>& __os,
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/random.tcc:1026:5: note: template argument deduction/substitution failed:
foo.cc:47:40: note: cannot convert 'ans.std::queue<int>::front' (type '<unresolved overloaded function type>') to type 'const std::bernoulli_distribution&'
47 | cout<<"["<<ans.front<<"]";
| ~~~~^~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/random.tcc:1107:5: note: candidate: 'template<class _IntType, class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, const geometric_distribution<_IntType>&)'
1107 | operator<<(std::basic_ostream<_CharT, _Traits>& __os,
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/random.tcc:1107:5: note: template argument deduction/substitution failed:
foo.cc:47:40: note: mismatched types 'const std::geometric_distribution<_IntType>' and 'const __gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)() const' {aka 'const int& (std::queue<int>::*)() const'}
47 | cout<<"["<<ans.front<<"]";
| ^~~~~
foo.cc:47:40: note: mismatched types 'const std::geometric_distribution<_IntType>' and '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)()' {aka 'int& (std::queue<int>::*)()'}
foo.cc:47:40: note: couldn't deduce template parameter '_IntType'
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/random.tcc:1759:5: note: candidate: 'template<class _RealType, class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, const exponential_distribution<_RealType>&)'
1759 | operator<<(std::basic_ostream<_CharT, _Traits>& __os,
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/random.tcc:1759:5: note: template argument deduction/substitution failed:
foo.cc:47:40: note: mismatched types 'const std::exponential_distribution<_RealType>' and 'const __gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)() const' {aka 'const int& (std::queue<int>::*)() const'}
47 | cout<<"["<<ans.front<<"]";
| ^~~~~
foo.cc:47:40: note: mismatched types 'const std::exponential_distribution<_RealType>' and '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)()' {aka 'int& (std::queue<int>::*)()'}
foo.cc:47:40: note: couldn't deduce template parameter '_RealType'
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/random.tcc:2544:5: note: candidate: 'template<class _RealType, class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, const weibull_distribution<_RealType>&)'
2544 | operator<<(std::basic_ostream<_CharT, _Traits>& __os,
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/random.tcc:2544:5: note: template argument deduction/substitution failed:
foo.cc:47:40: note: mismatched types 'const std::weibull_distribution<_RealType>' and 'const __gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)() const' {aka 'const int& (std::queue<int>::*)() const'}
47 | cout<<"["<<ans.front<<"]";
| ^~~~~
foo.cc:47:40: note: mismatched types 'const std::weibull_distribution<_RealType>' and '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)()' {aka 'int& (std::queue<int>::*)()'}
foo.cc:47:40: note: couldn't deduce template parameter '_RealType'
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/random.tcc:2618:5: note: candidate: 'template<class _RealType, class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, const extreme_value_distribution<_RealType>&)'
2618 | operator<<(std::basic_ostream<_CharT, _Traits>& __os,
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/random.tcc:2618:5: note: template argument deduction/substitution failed:
foo.cc:47:40: note: mismatched types 'const std::extreme_value_distribution<_RealType>' and 'const __gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)() const' {aka 'const int& (std::queue<int>::*)() const'}
47 | cout<<"["<<ans.front<<"]";
| ^~~~~
foo.cc:47:40: note: mismatched types 'const std::extreme_value_distribution<_RealType>' and '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)()' {aka 'int& (std::queue<int>::*)()'}
foo.cc:47:40: note: couldn't deduce template parameter '_RealType'
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/random.tcc:156:5: note: candidate: 'template<class _UIntType, _UIntType __a, _UIntType __c, _UIntType __m, class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, const linear_congruential_engine<_UIntType, __a, __c, __m>&)'
156 | operator<<(std::basic_ostream<_CharT, _Traits>& __os,
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/random.tcc:156:5: note: template argument deduction/substitution failed:
foo.cc:47:40: note: mismatched types 'const std::linear_congruential_engine<_UIntType, __a, __c, __m>' and 'const __gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)() const' {aka 'const int& (std::queue<int>::*)() const'}
47 | cout<<"["<<ans.front<<"]";
| ^~~~~
foo.cc:47:40: note: mismatched types 'const std::linear_congruential_engine<_UIntType, __a, __c, __m>' and '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)()' {aka 'int& (std::queue<int>::*)()'}
foo.cc:47:40: note: couldn't deduce template parameter '_UIntType'
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/random.tcc:477:5: note: candidate: 'template<class _UIntType1, long unsigned int __w1, long unsigned int __n1, long unsigned int __m1, long unsigned int __r1, _UIntType1 __a1, long unsigned int __u1, _UIntType1 __d1, long unsigned int __s1, _UIntType1 __b1, long unsigned int __t1, _UIntType1 __c1, long unsigned int __l1, _UIntType1 __f1, class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, const mersenne_twister_engine<_UIntType, __w, __n, __m, __r, __a, __u, __d, __s, __b, __t, __c, __l, __f>&)'
477 | operator<<(std::basic_ostream<_CharT, _Traits>& __os,
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/random.tcc:477:5: note: template argument deduction/substitution failed:
foo.cc:47:40: note: mismatched types 'const std::mersenne_twister_engine<_UIntType, __w, __n, __m, __r, __a, __u, __d, __s, __b, __t, __c, __l, __f>' and 'const __gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)() const' {aka 'const int& (std::queue<int>::*)() const'}
47 | cout<<"["<<ans.front<<"]";
| ^~~~~
foo.cc:47:40: note: mismatched types 'const std::mersenne_twister_engine<_UIntType, __w, __n, __m, __r, __a, __u, __d, __s, __b, __t, __c, __l, __f>' and '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)()' {aka 'int& (std::queue<int>::*)()'}
foo.cc:47:40: note: couldn't deduce template parameter '_UIntType1'
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/random.tcc:632:5: note: candidate: 'template<class _UIntType, long unsigned int __w, long unsigned int __s, long unsigned int __r, class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, const subtract_with_carry_engine<_UIntType, __w, __s, __r>&)'
632 | operator<<(std::basic_ostream<_CharT, _Traits>& __os,
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/random.tcc:632:5: note: template argument deduction/substitution failed:
foo.cc:47:40: note: mismatched types 'const std::subtract_with_carry_engine<_UIntType, __w, __s, __r>' and 'const __gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)() const' {aka 'const int& (std::queue<int>::*)() const'}
47 | cout<<"["<<ans.front<<"]";
| ^~~~~
foo.cc:47:40: note: mismatched types 'const std::subtract_with_carry_engine<_UIntType, __w, __s, __r>' and '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)()' {aka 'int& (std::queue<int>::*)()'}
foo.cc:47:40: note: couldn't deduce template parameter '_UIntType'
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/random.tcc:701:5: note: candidate: 'template<class _RandomNumberEngine, long unsigned int __p, long unsigned int __r, class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, const discard_block_engine<_RandomNumberEngine, __p, __r>&)'
701 | operator<<(std::basic_ostream<_CharT, _Traits>& __os,
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/random.tcc:701:5: note: template argument deduction/substitution failed:
foo.cc:47:40: note: mismatched types 'const std::discard_block_engine<_RandomNumberEngine, __p, __r>' and 'const __gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)() const' {aka 'const int& (std::queue<int>::*)() const'}
47 | cout<<"["<<ans.front<<"]";
| ^~~~~
foo.cc:47:40: note: mismatched types 'const std::discard_block_engine<_RandomNumberEngine, __p, __r>' and '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)()' {aka 'int& (std::queue<int>::*)()'}
foo.cc:47:40: note: couldn't deduce template parameter '_RandomNumberEngine'
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/random.tcc:863:5: note: candidate: 'template<class _RandomNumberEngine, long unsigned int __k, class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, const shuffle_order_engine<_RandomNumberEngine, __k>&)'
863 | operator<<(std::basic_ostream<_CharT, _Traits>& __os,
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/random.tcc:863:5: note: template argument deduction/substitution failed:
foo.cc:47:40: note: mismatched types 'const std::shuffle_order_engine<_RandomNumberEngine, __k>' and 'const __gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)() const' {aka 'const int& (std::queue<int>::*)() const'}
47 | cout<<"["<<ans.front<<"]";
| ^~~~~
foo.cc:47:40: note: mismatched types 'const std::shuffle_order_engine<_RandomNumberEngine, __k>' and '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)()' {aka 'int& (std::queue<int>::*)()'}
foo.cc:47:40: note: couldn't deduce template parameter '_RandomNumberEngine'
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/random.tcc:1221:5: note: candidate: 'template<class _IntType, class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, const negative_binomial_distribution<_IntType>&)'
1221 | operator<<(std::basic_ostream<_CharT, _Traits>& __os,
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/random.tcc:1221:5: note: template argument deduction/substitution failed:
foo.cc:47:40: note: mismatched types 'const std::negative_binomial_distribution<_IntType>' and 'const __gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)() const' {aka 'const int& (std::queue<int>::*)() const'}
47 | cout<<"["<<ans.front<<"]";
| ^~~~~
foo.cc:47:40: note: mismatched types 'const std::negative_binomial_distribution<_IntType>' and '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)()' {aka 'int& (std::queue<int>::*)()'}
foo.cc:47:40: note: couldn't deduce template parameter '_IntType'
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/random.tcc:1431:5: note: candidate: 'template<class _IntType, class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, const poisson_distribution<_IntType>&)'
1431 | operator<<(std::basic_ostream<_CharT, _Traits>& __os,
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/random.tcc:1431:5: note: template argument deduction/substitution failed:
foo.cc:47:40: note: mismatched types 'const std::poisson_distribution<_IntType>' and 'const __gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)() const' {aka 'const int& (std::queue<int>::*)() const'}
47 | cout<<"["<<ans.front<<"]";
| ^~~~~
foo.cc:47:40: note: mismatched types 'const std::poisson_distribution<_IntType>' and '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)()' {aka 'int& (std::queue<int>::*)()'}
foo.cc:47:40: note: couldn't deduce template parameter '_IntType'
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/random.tcc:1697:5: note: candidate: 'template<class _IntType, class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, const binomial_distribution<_IntType>&)'
1697 | operator<<(std::basic_ostream<_CharT, _Traits>& __os,
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/random.tcc:1697:5: note: template argument deduction/substitution failed:
foo.cc:47:40: note: mismatched types 'const std::binomial_distribution<_IntType>' and 'const __gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)() const' {aka 'const int& (std::queue<int>::*)() const'}
47 | cout<<"["<<ans.front<<"]";
| ^~~~~
foo.cc:47:40: note: mismatched types 'const std::binomial_distribution<_IntType>' and '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)()' {aka 'int& (std::queue<int>::*)()'}
foo.cc:47:40: note: couldn't deduce template parameter '_IntType'
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/random.tcc:1925:5: note: candidate: 'template<class _RealType1, class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, const normal_distribution<_RealType>&)'
1925 | operator<<(std::basic_ostream<_CharT, _Traits>& __os,
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/random.tcc:1925:5: note: template argument deduction/substitution failed:
foo.cc:47:40: note: mismatched types 'const std::normal_distribution<_RealType>' and 'const __gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)() const' {aka 'const int& (std::queue<int>::*)() const'}
47 | cout<<"["<<ans.front<<"]";
| ^~~~~
foo.cc:47:40: note: mismatched types 'const std::normal_distribution<_RealType>' and '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)()' {aka 'int& (std::queue<int>::*)()'}
foo.cc:47:40: note: couldn't deduce template parameter '_RealType1'
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/random.tcc:1992:5: note: candidate: 'template<class _RealType, class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, const lognormal_distribution<_RealType>&)'
1992 | operator<<(std::basic_ostream<_CharT, _Traits>& __os,
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/random.tcc:1992:5: note: template argument deduction/substitution failed:
foo.cc:47:40: note: mismatched types 'const std::lognormal_distribution<_RealType>' and 'const __gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)() const' {aka 'const int& (std::queue<int>::*)() const'}
47 | cout<<"["<<ans.front<<"]";
| ^~~~~
foo.cc:47:40: note: mismatched types 'const std::lognormal_distribution<_RealType>' and '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)()' {aka 'int& (std::queue<int>::*)()'}
foo.cc:47:40: note: couldn't deduce template parameter '_RealType'
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/random.tcc:2064:5: note: candidate: 'template<class _RealType, class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, const chi_squared_distribution<_RealType>&)'
2064 | operator<<(std::basic_ostream<_CharT, _Traits>& __os,
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/random.tcc:2064:5: note: template argument deduction/substitution failed:
foo.cc:47:40: note: mismatched types 'const std::chi_squared_distribution<_RealType>' and 'const __gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)() const' {aka 'const int& (std::queue<int>::*)() const'}
47 | cout<<"["<<ans.front<<"]";
| ^~~~~
foo.cc:47:40: note: mismatched types 'const std::chi_squared_distribution<_RealType>' and '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)()' {aka 'int& (std::queue<int>::*)()'}
foo.cc:47:40: note: couldn't deduce template parameter '_RealType'
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/random.tcc:2225:5: note: candidate: 'template<class _RealType, class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, const fisher_f_distribution<_RealType>&)'
2225 | operator<<(std::basic_ostream<_CharT, _Traits>& __os,
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/random.tcc:2225:5: note: template argument deduction/substitution failed:
foo.cc:47:40: note: mismatched types 'const std::fisher_f_distribution<_RealType>' and 'const __gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)() const' {aka 'const int& (std::queue<int>::*)() const'}
47 | cout<<"["<<ans.front<<"]";
| ^~~~~
foo.cc:47:40: note: mismatched types 'const std::fisher_f_distribution<_RealType>' and '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)()' {aka 'int& (std::queue<int>::*)()'}
foo.cc:47:40: note: couldn't deduce template parameter '_RealType'
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/random.tcc:2299:5: note: candidate: 'template<class _RealType, class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, const student_t_distribution<_RealType>&)'
2299 | operator<<(std::basic_ostream<_CharT, _Traits>& __os,
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/random.tcc:2299:5: note: template argument deduction/substitution failed:
foo.cc:47:40: note: mismatched types 'const std::student_t_distribution<_RealType>' and 'const __gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)() const' {aka 'const int& (std::queue<int>::*)() const'}
47 | cout<<"["<<ans.front<<"]";
| ^~~~~
foo.cc:47:40: note: mismatched types 'const std::student_t_distribution<_RealType>' and '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)()' {aka 'int& (std::queue<int>::*)()'}
foo.cc:47:40: note: couldn't deduce template parameter '_RealType'
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/random.tcc:2468:5: note: candidate: 'template<class _RealType1, class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, const gamma_distribution<_RealType>&)'
2468 | operator<<(std::basic_ostream<_CharT, _Traits>& __os,
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/random.tcc:2468:5: note: template argument deduction/substitution failed:
foo.cc:47:40: note: mismatched types 'const std::gamma_distribution<_RealType>' and 'const __gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)() const' {aka 'const int& (std::queue<int>::*)() const'}
47 | cout<<"["<<ans.front<<"]";
| ^~~~~
foo.cc:47:40: note: mismatched types 'const std::gamma_distribution<_RealType>' and '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)()' {aka 'int& (std::queue<int>::*)()'}
foo.cc:47:40: note: couldn't deduce template parameter '_RealType1'
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/random.tcc:2754:5: note: candidate: 'template<class _IntType, class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, const discrete_distribution<_IntType>&)'
2754 | operator<<(std::basic_ostream<_CharT, _Traits>& __os,
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/random.tcc:2754:5: note: template argument deduction/substitution failed:
foo.cc:47:40: note: mismatched types 'const std::discrete_distribution<_IntType>' and 'const __gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)() const' {aka 'const int& (std::queue<int>::*)() const'}
47 | cout<<"["<<ans.front<<"]";
| ^~~~~
foo.cc:47:40: note: mismatched types 'const std::discrete_distribution<_IntType>' and '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)()' {aka 'int& (std::queue<int>::*)()'}
foo.cc:47:40: note: couldn't deduce template parameter '_IntType'
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/random.tcc:2976:5: note: candidate: 'template<class _RealType, class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, const piecewise_constant_distribution<_RealType>&)'
2976 | operator<<(std::basic_ostream<_CharT, _Traits>& __os,
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/random.tcc:2976:5: note: template argument deduction/substitution failed:
foo.cc:47:40: note: mismatched types 'const std::piecewise_constant_distribution<_RealType>' and 'const __gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)() const' {aka 'const int& (std::queue<int>::*)() const'}
47 | cout<<"["<<ans.front<<"]";
| ^~~~~
foo.cc:47:40: note: mismatched types 'const std::piecewise_constant_distribution<_RealType>' and '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)()' {aka 'int& (std::queue<int>::*)()'}
foo.cc:47:40: note: couldn't deduce template parameter '_RealType'
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/random.tcc:3182:5: note: candidate: 'template<class _RealType, class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, const piecewise_linear_distribution<_RealType>&)'
3182 | operator<<(std::basic_ostream<_CharT, _Traits>& __os,
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/random.tcc:3182:5: note: template argument deduction/substitution failed:
foo.cc:47:40: note: mismatched types 'const std::piecewise_linear_distribution<_RealType>' and 'const __gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)() const' {aka 'const int& (std::queue<int>::*)() const'}
47 | cout<<"["<<ans.front<<"]";
| ^~~~~
foo.cc:47:40: note: mismatched types 'const std::piecewise_linear_distribution<_RealType>' and '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)()' {aka 'int& (std::queue<int>::*)()'}
foo.cc:47:40: note: couldn't deduce template parameter '_RealType'
In file included from stdc++.h:113:
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/thread:92:5: note: candidate: 'template<class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, thread::id)'
92 | operator<<(basic_ostream<_CharT, _Traits>& __out, thread::id __id)
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/thread:92:5: note: template argument deduction/substitution failed:
foo.cc:47:40: note: cannot convert 'ans.std::queue<int>::front' (type '<unresolved overloaded function type>') to type 'std::thread::id'
47 | cout<<"["<<ans.front<<"]";
| ~~~~^~~~~
foo.cc:50:26: error: no match for 'operator<<' (operand types are 'std::basic_ostream<char>' and '<unresolved overloaded function type>')
50 | cout<<"["<<ans.front<<";";
| ~~~~~~~~~^~~~~~~~~~~
| | |
| | <unresolved overloaded function type>
| std::basic_ostream<char>
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/ostream:108:7: note: candidate: 'std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(__ostream_type& (*)(__ostream_type&)) [with _CharT = char; _Traits = std::char_traits<char>; __ostream_type = std::basic_ostream<char>]'
108 | operator<<(__ostream_type& (*__pf)(__ostream_type&))
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/ostream:108:36: note: no known conversion for argument 1 from '<unresolved overloaded function type>' to 'std::basic_ostream<char>::__ostream_type& (*)(std::basic_ostream<char>::__ostream_type&)' {aka 'std::basic_ostream<char>& (*)(std::basic_ostream<char>&)'}
108 | operator<<(__ostream_type& (*__pf)(__ostream_type&))
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/ostream:117:7: note: candidate: 'std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(__ios_type& (*)(__ios_type&)) [with _CharT = char; _Traits = std::char_traits<char>; __ostream_type = std::basic_ostream<char>; __ios_type = std::basic_ios<char>]'
117 | operator<<(__ios_type& (*__pf)(__ios_type&))
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/ostream:117:32: note: no known conversion for argument 1 from '<unresolved overloaded function type>' to 'std::basic_ostream<char>::__ios_type& (*)(std::basic_ostream<char>::__ios_type&)' {aka 'std::basic_ios<char>& (*)(std::basic_ios<char>&)'}
117 | operator<<(__ios_type& (*__pf)(__ios_type&))
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/ostream:127:7: note: candidate: 'std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(std::ios_base& (*)(std::ios_base&)) [with _CharT = char; _Traits = std::char_traits<char>; __ostream_type = std::basic_ostream<char>]'
127 | operator<<(ios_base& (*__pf) (ios_base&))
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/ostream:127:30: note: no known conversion for argument 1 from '<unresolved overloaded function type>' to 'std::ios_base& (*)(std::ios_base&)'
127 | operator<<(ios_base& (*__pf) (ios_base&))
| ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/ostream:166:7: note: candidate: 'std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(long int) [with _CharT = char; _Traits = std::char_traits<char>; __ostream_type = std::basic_ostream<char>]'
166 | operator<<(long __n)
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/ostream:166:23: note: no known conversion for argument 1 from '<unresolved overloaded function type>' to 'long int'
166 | operator<<(long __n)
| ~~~~~^~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/ostream:170:7: note: candidate: 'std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(long unsigned int) [with _CharT = char; _Traits = std::char_traits<char>; __ostream_type = std::basic_ostream<char>]'
170 | operator<<(unsigned long __n)
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/ostream:170:32: note: no known conversion for argument 1 from '<unresolved overloaded function type>' to 'long unsigned int'
170 | operator<<(unsigned long __n)
| ~~~~~~~~~~~~~~^~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/ostream:174:7: note: candidate: 'std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(bool) [with _CharT = char; _Traits = std::char_traits<char>; __ostream_type = std::basic_ostream<char>]'
174 | operator<<(bool __n)
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/ostream:174:23: note: no known conversion for argument 1 from '<unresolved overloaded function type>' to 'bool'
174 | operator<<(bool __n)
| ~~~~~^~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/ostream.tcc:91:5: note: candidate: 'std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT, _Traits>::operator<<(short int) [with _CharT = char; _Traits = std::char_traits<char>]'
91 | basic_ostream<_CharT, _Traits>::
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/ostream.tcc:92:22: note: no known conversion for argument 1 from '<unresolved overloaded function type>' to 'short int'
92 | operator<<(short __n)
| ~~~~~~^~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/ostream:181:7: note: candidate: 'std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(short unsigned int) [with _CharT = char; _Traits = std::char_traits<char>; __ostream_type = std::basic_ostream<char>]'
181 | operator<<(unsigned short __n)
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/ostream:181:33: note: no known conversion for argument 1 from '<unresolved overloaded function type>' to 'short unsigned int'
181 | operator<<(unsigned short __n)
| ~~~~~~~~~~~~~~~^~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/ostream.tcc:105:5: note: candidate: 'std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT, _Traits>::operator<<(int) [with _CharT = char; _Traits = std::char_traits<char>]'
105 | basic_ostream<_CharT, _Traits>::
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/ostream.tcc:106:20: note: no known conversion for argument 1 from '<unresolved overloaded function type>' to 'int'
106 | operator<<(int __n)
| ~~~~^~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/ostream:192:7: note: candidate: 'std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(unsigned int) [with _CharT = char; _Traits = std::char_traits<char>; __ostream_type = std::basic_ostream<char>]'
192 | operator<<(unsigned int __n)
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/ostream:192:31: note: no known conversion for argument 1 from '<unresolved overloaded function type>' to 'unsigned int'
192 | operator<<(unsigned int __n)
| ~~~~~~~~~~~~~^~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/ostream:201:7: note: candidate: 'std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(long long int) [with _CharT = char; _Traits = std::char_traits<char>; __ostream_type = std::basic_ostream<char>]'
201 | operator<<(long long __n)
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/ostream:201:28: note: no known conversion for argument 1 from '<unresolved overloaded function type>' to 'long long int'
201 | operator<<(long long __n)
| ~~~~~~~~~~^~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/ostream:205:7: note: candidate: 'std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(long long unsigned int) [with _CharT = char; _Traits = std::char_traits<char>; __ostream_type = std::basic_ostream<char>]'
205 | operator<<(unsigned long long __n)
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/ostream:205:37: note: no known conversion for argument 1 from '<unresolved overloaded function type>' to 'long long unsigned int'
205 | operator<<(unsigned long long __n)
| ~~~~~~~~~~~~~~~~~~~^~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/ostream:220:7: note: candidate: 'std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(double) [with _CharT = char; _Traits = std::char_traits<char>; __ostream_type = std::basic_ostream<char>]'
220 | operator<<(double __f)
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/ostream:220:25: note: no known conversion for argument 1 from '<unresolved overloaded function type>' to 'double'
220 | operator<<(double __f)
| ~~~~~~~^~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/ostream:224:7: note: candidate: 'std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(float) [with _CharT = char; _Traits = std::char_traits<char>; __ostream_type = std::basic_ostream<char>]'
224 | operator<<(float __f)
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/ostream:224:24: note: no known conversion for argument 1 from '<unresolved overloaded function type>' to 'float'
224 | operator<<(float __f)
| ~~~~~~^~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/ostream:232:7: note: candidate: 'std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(long double) [with _CharT = char; _Traits = std::char_traits<char>; __ostream_type = std::basic_ostream<char>]'
232 | operator<<(long double __f)
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/ostream:232:30: note: no known conversion for argument 1 from '<unresolved overloaded function type>' to 'long double'
232 | operator<<(long double __f)
| ~~~~~~~~~~~~^~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/ostream:245:7: note: candidate: 'std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(const void*) [with _CharT = char; _Traits = std::char_traits<char>; __ostream_type = std::basic_ostream<char>]'
245 | operator<<(const void* __p)
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/ostream:245:30: note: no known conversion for argument 1 from '<unresolved overloaded function type>' to 'const void*'
245 | operator<<(const void* __p)
| ~~~~~~~~~~~~^~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/ostream.tcc:119:5: note: candidate: 'std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT, _Traits>::operator<<(__streambuf_type*) [with _CharT = char; _Traits = std::char_traits<char>; __streambuf_type = std::basic_streambuf<char>]'
119 | basic_ostream<_CharT, _Traits>::
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/ostream.tcc:120:34: note: no known conversion for argument 1 from '<unresolved overloaded function type>' to 'std::basic_ostream<char>::__streambuf_type*' {aka 'std::basic_streambuf<char>*'}
120 | operator<<(__streambuf_type* __sbin)
| ~~~~~~~~~~~~~~~~~~^~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/regex.h:1675:5: note: candidate: 'template<class _Ch_type, class _Ch_traits, class _Bi_iter> std::basic_ostream<_CharT, _Traits>& std::__cxx11::operator<<(std::basic_ostream<_CharT, _Traits>&, const sub_match<_Bi_iter>&)'
1675 | operator<<(basic_ostream<_Ch_type, _Ch_traits>& __os,
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/regex.h:1675:5: note: template argument deduction/substitution failed:
foo.cc:50:32: note: mismatched types 'const std::__cxx11::sub_match<_Bi_iter>' and 'const __gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)() const' {aka 'const int& (std::queue<int>::*)() const'}
50 | cout<<"["<<ans.front<<";";
| ^~~~~
foo.cc:50:32: note: mismatched types 'const std::__cxx11::sub_match<_Bi_iter>' and '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)()' {aka 'int& (std::queue<int>::*)()'}
foo.cc:50:32: note: couldn't deduce template parameter '_Bi_iter'
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/basic_string.h:3883:5: note: candidate: 'template<class _CharT, class _Traits, class _Alloc> std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, const __cxx11::basic_string<_CharT, _Traits, _Alloc>&)'
3883 | operator<<(basic_ostream<_CharT, _Traits>& __os,
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/basic_string.h:3883:5: note: template argument deduction/substitution failed:
foo.cc:50:32: note: mismatched types 'const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>' and 'const __gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)() const' {aka 'const int& (std::queue<int>::*)() const'}
50 | cout<<"["<<ans.front<<";";
| ^~~~~
foo.cc:50:32: note: mismatched types 'const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>' and '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)()' {aka 'int& (std::queue<int>::*)()'}
foo.cc:50:32: note: couldn't deduce template parameter '_Alloc'
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/system_error:279:5: note: candidate: 'template<class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, const error_code&)'
279 | operator<<(basic_ostream<_CharT, _Traits>& __os, const error_code& __e)
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/system_error:279:5: note: template argument deduction/substitution failed:
foo.cc:50:32: note: cannot convert 'ans.std::queue<int>::front' (type '<unresolved overloaded function type>') to type 'const std::error_code&'
50 | cout<<"["<<ans.front<<";";
| ~~~~^~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/ostream:507:5: note: candidate: 'std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, _CharT) [with _CharT = char; _Traits = char_traits<char>]'
507 | operator<<(basic_ostream<_CharT, _Traits>& __out, _CharT __c)
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/ostream:507:62: note: no known conversion for argument 2 from '<unresolved overloaded function type>' to 'char'
507 | operator<<(basic_ostream<_CharT, _Traits>& __out, _CharT __c)
| ~~~~~~~^~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/ostream:517:5: note: candidate: 'template<class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, char)'
517 | operator<<(basic_ostream<_CharT, _Traits>& __out, char __c)
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/ostream:517:5: note: template argument deduction/substitution failed:
foo.cc:50:32: note: cannot convert 'ans.std::queue<int>::front' (type '<unresolved overloaded function type>') to type 'char'
50 | cout<<"["<<ans.front<<";";
| ~~~~^~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/ostream:523:5: note: candidate: 'template<class _Traits> std::basic_ostream<char, _Traits>& std::operator<<(basic_ostream<char, _Traits>&, char)'
523 | operator<<(basic_ostream<char, _Traits>& __out, char __c)
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/ostream:523:5: note: template argument deduction/substitution failed:
foo.cc:50:32: note: cannot convert 'ans.std::queue<int>::front' (type '<unresolved overloaded function type>') to type 'char'
50 | cout<<"["<<ans.front<<";";
| ~~~~^~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/ostream:534:5: note: candidate: 'template<class _Traits> std::basic_ostream<char, _Traits>& std::operator<<(basic_ostream<char, _Traits>&, signed char)'
534 | operator<<(basic_ostream<char, _Traits>& __out, signed char __c)
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/ostream:534:5: note: template argument deduction/substitution failed:
foo.cc:50:32: note: cannot convert 'ans.std::queue<int>::front' (type '<unresolved overloaded function type>') to type 'signed char'
50 | cout<<"["<<ans.front<<";";
| ~~~~^~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/ostream:539:5: note: candidate: 'template<class _Traits> std::basic_ostream<char, _Traits>& std::operator<<(basic_ostream<char, _Traits>&, unsigned char)'
539 | operator<<(basic_ostream<char, _Traits>& __out, unsigned char __c)
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/ostream:539:5: note: template argument deduction/substitution failed:
foo.cc:50:32: note: cannot convert 'ans.std::queue<int>::front' (type '<unresolved overloaded function type>') to type 'unsigned char'
50 | cout<<"["<<ans.front<<";";
| ~~~~^~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/ostream:598:5: note: candidate: 'std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, const _CharT*) [with _CharT = char; _Traits = char_traits<char>]'
598 | operator<<(basic_ostream<_CharT, _Traits>& __out, const _CharT* __s)
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/ostream:598:69: note: no known conversion for argument 2 from '<unresolved overloaded function type>' to 'const char*'
598 | operator<<(basic_ostream<_CharT, _Traits>& __out, const _CharT* __s)
| ~~~~~~~~~~~~~~^~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/ostream.tcc:302:5: note: candidate: 'template<class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, const char*)'
302 | operator<<(basic_ostream<_CharT, _Traits>& __out, const char* __s)
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/ostream.tcc:302:5: note: template argument deduction/substitution failed:
foo.cc:50:32: note: cannot convert 'ans.std::queue<int>::front' (type '<unresolved overloaded function type>') to type 'const char*'
50 | cout<<"["<<ans.front<<";";
| ~~~~^~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/ostream:615:5: note: candidate: 'template<class _Traits> std::basic_ostream<char, _Traits>& std::operator<<(basic_ostream<char, _Traits>&, const char*)'
615 | operator<<(basic_ostream<char, _Traits>& __out, const char* __s)
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/ostream:615:5: note: template argument deduction/substitution failed:
foo.cc:50:32: note: cannot convert 'ans.std::queue<int>::front' (type '<unresolved overloaded function type>') to type 'const char*'
50 | cout<<"["<<ans.front<<";";
| ~~~~^~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/ostream:628:5: note: candidate: 'template<class _Traits> std::basic_ostream<char, _Traits>& std::operator<<(basic_ostream<char, _Traits>&, const signed char*)'
628 | operator<<(basic_ostream<char, _Traits>& __out, const signed char* __s)
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/ostream:628:5: note: template argument deduction/substitution failed:
foo.cc:50:32: note: cannot convert 'ans.std::queue<int>::front' (type '<unresolved overloaded function type>') to type 'const signed char*'
50 | cout<<"["<<ans.front<<";";
| ~~~~^~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/ostream:633:5: note: candidate: 'template<class _Traits> std::basic_ostream<char, _Traits>& std::operator<<(basic_ostream<char, _Traits>&, const unsigned char*)'
633 | operator<<(basic_ostream<char, _Traits>& __out, const unsigned char* __s)
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/ostream:633:5: note: template argument deduction/substitution failed:
foo.cc:50:32: note: cannot convert 'ans.std::queue<int>::front' (type '<unresolved overloaded function type>') to type 'const unsigned char*'
50 | cout<<"["<<ans.front<<";";
| ~~~~^~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/ostream:754:5: note: candidate: 'template<class _Ostream, class _Tp> _Ostream&& std::operator<<(_Ostream&&, const _Tp&)'
754 | operator<<(_Ostream&& __os, const _Tp& __x)
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/ostream:754:5: note: template argument deduction/substitution failed:
foo.cc:50:32: note: couldn't deduce template parameter '_Tp'
50 | cout<<"["<<ans.front<<";";
| ^~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/complex:555:5: note: candidate: 'template<class _Tp, class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, const complex<_Tp>&)'
555 | operator<<(basic_ostream<_CharT, _Traits>& __os, const complex<_Tp>& __x)
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/complex:555:5: note: template argument deduction/substitution failed:
foo.cc:50:32: note: mismatched types 'const std::complex<_Tp>' and 'const __gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)() const' {aka 'const int& (std::queue<int>::*)() const'}
50 | cout<<"["<<ans.front<<";";
| ^~~~~
foo.cc:50:32: note: mismatched types 'const std::complex<_Tp>' and '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)()' {aka 'int& (std::queue<int>::*)()'}
foo.cc:50:32: note: couldn't deduce template parameter '_Tp'
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bitset:1540:5: note: candidate: 'template<class _CharT, class _Traits, long unsigned int _Nb> std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, const bitset<_Nb>&)'
1540 | operator<<(std::basic_ostream<_CharT, _Traits>& __os,
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bitset:1540:5: note: template argument deduction/substitution failed:
foo.cc:50:32: note: mismatched types 'const std::bitset<_Nb>' and 'const __gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)() const' {aka 'const int& (std::queue<int>::*)() const'}
50 | cout<<"["<<ans.front<<";";
| ^~~~~
foo.cc:50:32: note: mismatched types 'const std::bitset<_Nb>' and '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)()' {aka 'int& (std::queue<int>::*)()'}
foo.cc:50:32: note: couldn't deduce template parameter '_Nb'
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/iomanip:79:5: note: candidate: 'template<class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, _Resetiosflags)'
79 | operator<<(basic_ostream<_CharT, _Traits>& __os, _Resetiosflags __f)
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/iomanip:79:5: note: template argument deduction/substitution failed:
foo.cc:50:32: note: cannot convert 'ans.std::queue<int>::front' (type '<unresolved overloaded function type>') to type 'std::_Resetiosflags'
50 | cout<<"["<<ans.front<<";";
| ~~~~^~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/iomanip:109:5: note: candidate: 'template<class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, _Setiosflags)'
109 | operator<<(basic_ostream<_CharT, _Traits>& __os, _Setiosflags __f)
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/iomanip:109:5: note: template argument deduction/substitution failed:
foo.cc:50:32: note: cannot convert 'ans.std::queue<int>::front' (type '<unresolved overloaded function type>') to type 'std::_Setiosflags'
50 | cout<<"["<<ans.front<<";";
| ~~~~^~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/iomanip:143:5: note: candidate: 'template<class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, _Setbase)'
143 | operator<<(basic_ostream<_CharT, _Traits>& __os, _Setbase __f)
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/iomanip:143:5: note: template argument deduction/substitution failed:
foo.cc:50:32: note: cannot convert 'ans.std::queue<int>::front' (type '<unresolved overloaded function type>') to type 'std::_Setbase'
50 | cout<<"["<<ans.front<<";";
| ~~~~^~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/iomanip:178:5: note: candidate: 'std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, _Setfill<_CharT>) [with _CharT = char; _Traits = char_traits<char>]'
178 | operator<<(basic_ostream<_CharT, _Traits>& __os, _Setfill<_CharT> __f)
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/iomanip:178:71: note: no known conversion for argument 2 from '<unresolved overloaded function type>' to 'std::_Setfill<char>'
178 | operator<<(basic_ostream<_CharT, _Traits>& __os, _Setfill<_CharT> __f)
| ~~~~~~~~~~~~~~~~~^~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/iomanip:208:5: note: candidate: 'template<class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, _Setprecision)'
208 | operator<<(basic_ostream<_CharT, _Traits>& __os, _Setprecision __f)
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/iomanip:208:5: note: template argument deduction/substitution failed:
foo.cc:50:32: note: cannot convert 'ans.std::queue<int>::front' (type '<unresolved overloaded function type>') to type 'std::_Setprecision'
50 | cout<<"["<<ans.front<<";";
| ~~~~^~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/iomanip:238:5: note: candidate: 'template<class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, _Setw)'
238 | operator<<(basic_ostream<_CharT, _Traits>& __os, _Setw __f)
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/iomanip:238:5: note: template argument deduction/substitution failed:
foo.cc:50:32: note: cannot convert 'ans.std::queue<int>::front' (type '<unresolved overloaded function type>') to type 'std::_Setw'
50 | cout<<"["<<ans.front<<";";
| ~~~~^~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/iomanip:311:5: note: candidate: 'template<class _CharT, class _Traits, class _MoneyT> std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, _Put_money<_MoneyT>)'
311 | operator<<(basic_ostream<_CharT, _Traits>& __os, _Put_money<_MoneyT> __f)
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/iomanip:311:5: note: template argument deduction/substitution failed:
foo.cc:50:32: note: mismatched types 'std::_Put_money<_MoneyT>' and 'const __gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)() const' {aka 'const int& (std::queue<int>::*)() const'}
50 | cout<<"["<<ans.front<<";";
| ^~~~~
foo.cc:50:32: note: mismatched types 'std::_Put_money<_MoneyT>' and '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)()' {aka 'int& (std::queue<int>::*)()'}
foo.cc:50:32: note: couldn't deduce template parameter '_MoneyT'
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/iomanip:363:5: note: candidate: 'std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, _Put_time<_CharT>) [with _CharT = char; _Traits = char_traits<char>]'
363 | operator<<(basic_ostream<_CharT, _Traits>& __os, _Put_time<_CharT> __f)
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/iomanip:363:72: note: no known conversion for argument 2 from '<unresolved overloaded function type>' to 'std::_Put_time<char>'
363 | operator<<(basic_ostream<_CharT, _Traits>& __os, _Put_time<_CharT> __f)
| ~~~~~~~~~~~~~~~~~~^~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/shared_ptr.h:70:5: note: candidate: 'template<class _Ch, class _Tr, class _Tp, __gnu_cxx::_Lock_policy _Lp> std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, const __shared_ptr<_Tp, _Lp>&)'
70 | operator<<(std::basic_ostream<_Ch, _Tr>& __os,
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/shared_ptr.h:70:5: note: template argument deduction/substitution failed:
foo.cc:50:32: note: mismatched types 'const std::__shared_ptr<_Tp, _Lp>' and 'const __gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)() const' {aka 'const int& (std::queue<int>::*)() const'}
50 | cout<<"["<<ans.front<<";";
| ^~~~~
foo.cc:50:32: note: mismatched types 'const std::__shared_ptr<_Tp, _Lp>' and '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)()' {aka 'int& (std::queue<int>::*)()'}
foo.cc:50:32: note: couldn't deduce template parameter '_Tp'
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/valarray_after.h:413:5: note: candidate: 'template<class _Dom1, class _Dom2> std::_Expr<std::__detail::_BinClos<std::__shift_left, std::_Expr, std::_Expr, _Dom1, _Dom2>, typename std::__fun<std::__shift_left, typename _Dom1::value_type>::result_type> std::operator<<(const _Expr<_Dom1, typename _Dom1::value_type>&, const _Expr<_Dom2, typename _Dom2::value_type>&)'
413 | _DEFINE_EXPR_BINARY_OPERATOR(<<, struct std::__shift_left)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/valarray_after.h:413:5: note: template argument deduction/substitution failed:
foo.cc:50:32: note: 'std::basic_ostream<char>' is not derived from 'const std::_Expr<_Dom1, typename _Dom1::value_type>'
50 | cout<<"["<<ans.front<<";";
| ^~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/valarray_after.h:413:5: note: candidate: 'template<class _Dom> std::_Expr<std::__detail::_BinClos<std::__shift_left, std::_Expr, std::_Constant, _Dom, typename _Dom::value_type>, typename std::__fun<std::__shift_left, typename _Dom1::value_type>::result_type> std::operator<<(const _Expr<_Dom1, typename _Dom1::value_type>&, const typename _Dom::value_type&)'
413 | _DEFINE_EXPR_BINARY_OPERATOR(<<, struct std::__shift_left)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/valarray_after.h:413:5: note: template argument deduction/substitution failed:
foo.cc:50:32: note: 'std::basic_ostream<char>' is not derived from 'const std::_Expr<_Dom1, typename _Dom1::value_type>'
50 | cout<<"["<<ans.front<<";";
| ^~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/valarray_after.h:413:5: note: candidate: 'template<class _Dom> std::_Expr<std::__detail::_BinClos<std::__shift_left, std::_Constant, std::_Expr, typename _Dom::value_type, _Dom>, typename std::__fun<std::__shift_left, typename _Dom1::value_type>::result_type> std::operator<<(const typename _Dom::value_type&, const _Expr<_Dom1, typename _Dom1::value_type>&)'
413 | _DEFINE_EXPR_BINARY_OPERATOR(<<, struct std::__shift_left)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/valarray_after.h:413:5: note: template argument deduction/substitution failed:
foo.cc:50:32: note: mismatched types 'const std::_Expr<_Dom1, typename _Dom1::value_type>' and 'const __gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)() const' {aka 'const int& (std::queue<int>::*)() const'}
50 | cout<<"["<<ans.front<<";";
| ^~~~~
foo.cc:50:32: note: mismatched types 'const std::_Expr<_Dom1, typename _Dom1::value_type>' and '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)()' {aka 'int& (std::queue<int>::*)()'}
foo.cc:50:32: note: couldn't deduce template parameter '_Dom'
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/valarray_after.h:413:5: note: candidate: 'template<class _Dom> std::_Expr<std::__detail::_BinClos<std::__shift_left, std::_Expr, std::_ValArray, _Dom, typename _Dom::value_type>, typename std::__fun<std::__shift_left, typename _Dom1::value_type>::result_type> std::operator<<(const _Expr<_Dom1, typename _Dom1::value_type>&, const valarray<typename _Dom::value_type>&)'
413 | _DEFINE_EXPR_BINARY_OPERATOR(<<, struct std::__shift_left)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/valarray_after.h:413:5: note: template argument deduction/substitution failed:
foo.cc:50:32: note: 'std::basic_ostream<char>' is not derived from 'const std::_Expr<_Dom1, typename _Dom1::value_type>'
50 | cout<<"["<<ans.front<<";";
| ^~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/valarray_after.h:413:5: note: candidate: 'template<class _Dom> std::_Expr<std::__detail::_BinClos<std::__shift_left, std::_ValArray, std::_Expr, typename _Dom::value_type, _Dom>, typename std::__fun<std::__shift_left, typename _Dom1::value_type>::result_type> std::operator<<(const valarray<typename _Dom::value_type>&, const _Expr<_Dom1, typename _Dom1::value_type>&)'
413 | _DEFINE_EXPR_BINARY_OPERATOR(<<, struct std::__shift_left)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/valarray_after.h:413:5: note: template argument deduction/substitution failed:
foo.cc:50:32: note: mismatched types 'const std::_Expr<_Dom1, typename _Dom1::value_type>' and 'const __gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)() const' {aka 'const int& (std::queue<int>::*)() const'}
50 | cout<<"["<<ans.front<<";";
| ^~~~~
foo.cc:50:32: note: mismatched types 'const std::_Expr<_Dom1, typename _Dom1::value_type>' and '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)()' {aka 'int& (std::queue<int>::*)()'}
foo.cc:50:32: note: couldn't deduce template parameter '_Dom'
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/valarray:1193:1: note: candidate: 'template<class _Tp> std::_Expr<std::__detail::_BinClos<std::__shift_left, std::_ValArray, std::_ValArray, _Tp, _Tp>, typename std::__fun<std::__shift_left, _Tp>::result_type> std::operator<<(const valarray<_Tp>&, const valarray<_Tp>&)'
1193 | _DEFINE_BINARY_OPERATOR(<<, __shift_left)
| ^~~~~~~~~~~~~~~~~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/valarray:1193:1: note: template argument deduction/substitution failed:
foo.cc:50:32: note: 'std::basic_ostream<char>' is not derived from 'const std::valarray<_Tp>'
50 | cout<<"["<<ans.front<<";";
| ^~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/valarray:1193:1: note: candidate: 'template<class _Tp> std::_Expr<std::__detail::_BinClos<std::__shift_left, std::_ValArray, std::_Constant, _Tp, _Tp>, typename std::__fun<std::__shift_left, _Tp>::result_type> std::operator<<(const valarray<_Tp>&, const typename valarray<_Tp>::value_type&)'
1193 | _DEFINE_BINARY_OPERATOR(<<, __shift_left)
| ^~~~~~~~~~~~~~~~~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/valarray:1193:1: note: template argument deduction/substitution failed:
foo.cc:50:32: note: 'std::basic_ostream<char>' is not derived from 'const std::valarray<_Tp>'
50 | cout<<"["<<ans.front<<";";
| ^~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/valarray:1193:1: note: candidate: 'template<class _Tp> std::_Expr<std::__detail::_BinClos<std::__shift_left, std::_Constant, std::_ValArray, _Tp, _Tp>, typename std::__fun<std::__shift_left, _Tp>::result_type> std::operator<<(const typename valarray<_Tp>::value_type&, const valarray<_Tp>&)'
1193 | _DEFINE_BINARY_OPERATOR(<<, __shift_left)
| ^~~~~~~~~~~~~~~~~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/valarray:1193:1: note: template argument deduction/substitution failed:
foo.cc:50:32: note: mismatched types 'const std::valarray<_Tp>' and 'const __gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)() const' {aka 'const int& (std::queue<int>::*)() const'}
50 | cout<<"["<<ans.front<<";";
| ^~~~~
foo.cc:50:32: note: mismatched types 'const std::valarray<_Tp>' and '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)()' {aka 'int& (std::queue<int>::*)()'}
foo.cc:50:32: note: couldn't deduce template parameter '_Tp'
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/random.h:1312:5: note: candidate: 'template<class _RandomNumberEngine, long unsigned int __w, class _UIntType, class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, const independent_bits_engine<_RandomNumberEngine, __w, _UIntType>&)'
1312 | operator<<(std::basic_ostream<_CharT, _Traits>& __os,
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/random.h:1312:5: note: template argument deduction/substitution failed:
foo.cc:50:32: note: mismatched types 'const std::independent_bits_engine<_RandomNumberEngine, __w, _UIntType>' and 'const __gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)() const' {aka 'const int& (std::queue<int>::*)() const'}
50 | cout<<"["<<ans.front<<";";
| ^~~~~
foo.cc:50:32: note: mismatched types 'const std::independent_bits_engine<_RandomNumberEngine, __w, _UIntType>' and '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)()' {aka 'int& (std::queue<int>::*)()'}
foo.cc:50:32: note: couldn't deduce template parameter '_RandomNumberEngine'
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/random.tcc:907:5: note: candidate: 'template<class _IntType, class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, const uniform_int_distribution<_IntType>&)'
907 | operator<<(std::basic_ostream<_CharT, _Traits>& __os,
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/random.tcc:907:5: note: template argument deduction/substitution failed:
foo.cc:50:32: note: mismatched types 'const std::uniform_int_distribution<_IntType>' and 'const __gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)() const' {aka 'const int& (std::queue<int>::*)() const'}
50 | cout<<"["<<ans.front<<";";
| ^~~~~
foo.cc:50:32: note: mismatched types 'const std::uniform_int_distribution<_IntType>' and '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)()' {aka 'int& (std::queue<int>::*)()'}
foo.cc:50:32: note: couldn't deduce template parameter '_IntType'
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/random.tcc:965:5: note: candidate: 'template<class _RealType, class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, const uniform_real_distribution<_IntType>&)'
965 | operator<<(std::basic_ostream<_CharT, _Traits>& __os,
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/random.tcc:965:5: note: template argument deduction/substitution failed:
foo.cc:50:32: note: mismatched types 'const std::uniform_real_distribution<_IntType>' and 'const __gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)() const' {aka 'const int& (std::queue<int>::*)() const'}
50 | cout<<"["<<ans.front<<";";
| ^~~~~
foo.cc:50:32: note: mismatched types 'const std::uniform_real_distribution<_IntType>' and '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)()' {aka 'int& (std::queue<int>::*)()'}
foo.cc:50:32: note: couldn't deduce template parameter '_RealType'
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/random.tcc:2150:5: note: candidate: 'template<class _RealType, class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, const cauchy_distribution<_RealType>&)'
2150 | operator<<(std::basic_ostream<_CharT, _Traits>& __os,
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/random.tcc:2150:5: note: template argument deduction/substitution failed:
foo.cc:50:32: note: mismatched types 'const std::cauchy_distribution<_RealType>' and 'const __gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)() const' {aka 'const int& (std::queue<int>::*)() const'}
50 | cout<<"["<<ans.front<<";";
| ^~~~~
foo.cc:50:32: note: mismatched types 'const std::cauchy_distribution<_RealType>' and '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)()' {aka 'int& (std::queue<int>::*)()'}
foo.cc:50:32: note: couldn't deduce template parameter '_RealType'
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/random.tcc:1026:5: note: candidate: 'template<class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, const bernoulli_distribution&)'
1026 | operator<<(std::basic_ostream<_CharT, _Traits>& __os,
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/random.tcc:1026:5: note: template argument deduction/substitution failed:
foo.cc:50:32: note: cannot convert 'ans.std::queue<int>::front' (type '<unresolved overloaded function type>') to type 'const std::bernoulli_distribution&'
50 | cout<<"["<<ans.front<<";";
| ~~~~^~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/random.tcc:1107:5: note: candidate: 'template<class _IntType, class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, const geometric_distribution<_IntType>&)'
1107 | operator<<(std::basic_ostream<_CharT, _Traits>& __os,
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/random.tcc:1107:5: note: template argument deduction/substitution failed:
foo.cc:50:32: note: mismatched types 'const std::geometric_distribution<_IntType>' and 'const __gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)() const' {aka 'const int& (std::queue<int>::*)() const'}
50 | cout<<"["<<ans.front<<";";
| ^~~~~
foo.cc:50:32: note: mismatched types 'const std::geometric_distribution<_IntType>' and '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)()' {aka 'int& (std::queue<int>::*)()'}
foo.cc:50:32: note: couldn't deduce template parameter '_IntType'
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/random.tcc:1759:5: note: candidate: 'template<class _RealType, class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, const exponential_distribution<_RealType>&)'
1759 | operator<<(std::basic_ostream<_CharT, _Traits>& __os,
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/random.tcc:1759:5: note: template argument deduction/substitution failed:
foo.cc:50:32: note: mismatched types 'const std::exponential_distribution<_RealType>' and 'const __gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)() const' {aka 'const int& (std::queue<int>::*)() const'}
50 | cout<<"["<<ans.front<<";";
| ^~~~~
foo.cc:50:32: note: mismatched types 'const std::exponential_distribution<_RealType>' and '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)()' {aka 'int& (std::queue<int>::*)()'}
foo.cc:50:32: note: couldn't deduce template parameter '_RealType'
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/random.tcc:2544:5: note: candidate: 'template<class _RealType, class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, const weibull_distribution<_RealType>&)'
2544 | operator<<(std::basic_ostream<_CharT, _Traits>& __os,
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/random.tcc:2544:5: note: template argument deduction/substitution failed:
foo.cc:50:32: note: mismatched types 'const std::weibull_distribution<_RealType>' and 'const __gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)() const' {aka 'const int& (std::queue<int>::*)() const'}
50 | cout<<"["<<ans.front<<";";
| ^~~~~
foo.cc:50:32: note: mismatched types 'const std::weibull_distribution<_RealType>' and '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)()' {aka 'int& (std::queue<int>::*)()'}
foo.cc:50:32: note: couldn't deduce template parameter '_RealType'
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/random.tcc:2618:5: note: candidate: 'template<class _RealType, class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, const extreme_value_distribution<_RealType>&)'
2618 | operator<<(std::basic_ostream<_CharT, _Traits>& __os,
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/random.tcc:2618:5: note: template argument deduction/substitution failed:
foo.cc:50:32: note: mismatched types 'const std::extreme_value_distribution<_RealType>' and 'const __gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)() const' {aka 'const int& (std::queue<int>::*)() const'}
50 | cout<<"["<<ans.front<<";";
| ^~~~~
foo.cc:50:32: note: mismatched types 'const std::extreme_value_distribution<_RealType>' and '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)()' {aka 'int& (std::queue<int>::*)()'}
foo.cc:50:32: note: couldn't deduce template parameter '_RealType'
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/random.tcc:156:5: note: candidate: 'template<class _UIntType, _UIntType __a, _UIntType __c, _UIntType __m, class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, const linear_congruential_engine<_UIntType, __a, __c, __m>&)'
156 | operator<<(std::basic_ostream<_CharT, _Traits>& __os,
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/random.tcc:156:5: note: template argument deduction/substitution failed:
foo.cc:50:32: note: mismatched types 'const std::linear_congruential_engine<_UIntType, __a, __c, __m>' and 'const __gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)() const' {aka 'const int& (std::queue<int>::*)() const'}
50 | cout<<"["<<ans.front<<";";
| ^~~~~
foo.cc:50:32: note: mismatched types 'const std::linear_congruential_engine<_UIntType, __a, __c, __m>' and '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)()' {aka 'int& (std::queue<int>::*)()'}
foo.cc:50:32: note: couldn't deduce template parameter '_UIntType'
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/random.tcc:477:5: note: candidate: 'template<class _UIntType1, long unsigned int __w1, long unsigned int __n1, long unsigned int __m1, long unsigned int __r1, _UIntType1 __a1, long unsigned int __u1, _UIntType1 __d1, long unsigned int __s1, _UIntType1 __b1, long unsigned int __t1, _UIntType1 __c1, long unsigned int __l1, _UIntType1 __f1, class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, const mersenne_twister_engine<_UIntType, __w, __n, __m, __r, __a, __u, __d, __s, __b, __t, __c, __l, __f>&)'
477 | operator<<(std::basic_ostream<_CharT, _Traits>& __os,
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/random.tcc:477:5: note: template argument deduction/substitution failed:
foo.cc:50:32: note: mismatched types 'const std::mersenne_twister_engine<_UIntType, __w, __n, __m, __r, __a, __u, __d, __s, __b, __t, __c, __l, __f>' and 'const __gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)() const' {aka 'const int& (std::queue<int>::*)() const'}
50 | cout<<"["<<ans.front<<";";
| ^~~~~
foo.cc:50:32: note: mismatched types 'const std::mersenne_twister_engine<_UIntType, __w, __n, __m, __r, __a, __u, __d, __s, __b, __t, __c, __l, __f>' and '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)()' {aka 'int& (std::queue<int>::*)()'}
foo.cc:50:32: note: couldn't deduce template parameter '_UIntType1'
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/random.tcc:632:5: note: candidate: 'template<class _UIntType, long unsigned int __w, long unsigned int __s, long unsigned int __r, class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, const subtract_with_carry_engine<_UIntType, __w, __s, __r>&)'
632 | operator<<(std::basic_ostream<_CharT, _Traits>& __os,
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/random.tcc:632:5: note: template argument deduction/substitution failed:
foo.cc:50:32: note: mismatched types 'const std::subtract_with_carry_engine<_UIntType, __w, __s, __r>' and 'const __gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)() const' {aka 'const int& (std::queue<int>::*)() const'}
50 | cout<<"["<<ans.front<<";";
| ^~~~~
foo.cc:50:32: note: mismatched types 'const std::subtract_with_carry_engine<_UIntType, __w, __s, __r>' and '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)()' {aka 'int& (std::queue<int>::*)()'}
foo.cc:50:32: note: couldn't deduce template parameter '_UIntType'
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/random.tcc:701:5: note: candidate: 'template<class _RandomNumberEngine, long unsigned int __p, long unsigned int __r, class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, const discard_block_engine<_RandomNumberEngine, __p, __r>&)'
701 | operator<<(std::basic_ostream<_CharT, _Traits>& __os,
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/random.tcc:701:5: note: template argument deduction/substitution failed:
foo.cc:50:32: note: mismatched types 'const std::discard_block_engine<_RandomNumberEngine, __p, __r>' and 'const __gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)() const' {aka 'const int& (std::queue<int>::*)() const'}
50 | cout<<"["<<ans.front<<";";
| ^~~~~
foo.cc:50:32: note: mismatched types 'const std::discard_block_engine<_RandomNumberEngine, __p, __r>' and '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)()' {aka 'int& (std::queue<int>::*)()'}
foo.cc:50:32: note: couldn't deduce template parameter '_RandomNumberEngine'
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/random.tcc:863:5: note: candidate: 'template<class _RandomNumberEngine, long unsigned int __k, class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, const shuffle_order_engine<_RandomNumberEngine, __k>&)'
863 | operator<<(std::basic_ostream<_CharT, _Traits>& __os,
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/random.tcc:863:5: note: template argument deduction/substitution failed:
foo.cc:50:32: note: mismatched types 'const std::shuffle_order_engine<_RandomNumberEngine, __k>' and 'const __gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)() const' {aka 'const int& (std::queue<int>::*)() const'}
50 | cout<<"["<<ans.front<<";";
| ^~~~~
foo.cc:50:32: note: mismatched types 'const std::shuffle_order_engine<_RandomNumberEngine, __k>' and '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)()' {aka 'int& (std::queue<int>::*)()'}
foo.cc:50:32: note: couldn't deduce template parameter '_RandomNumberEngine'
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/random.tcc:1221:5: note: candidate: 'template<class _IntType, class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, const negative_binomial_distribution<_IntType>&)'
1221 | operator<<(std::basic_ostream<_CharT, _Traits>& __os,
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/random.tcc:1221:5: note: template argument deduction/substitution failed:
foo.cc:50:32: note: mismatched types 'const std::negative_binomial_distribution<_IntType>' and 'const __gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)() const' {aka 'const int& (std::queue<int>::*)() const'}
50 | cout<<"["<<ans.front<<";";
| ^~~~~
foo.cc:50:32: note: mismatched types 'const std::negative_binomial_distribution<_IntType>' and '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)()' {aka 'int& (std::queue<int>::*)()'}
foo.cc:50:32: note: couldn't deduce template parameter '_IntType'
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/random.tcc:1431:5: note: candidate: 'template<class _IntType, class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, const poisson_distribution<_IntType>&)'
1431 | operator<<(std::basic_ostream<_CharT, _Traits>& __os,
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/random.tcc:1431:5: note: template argument deduction/substitution failed:
foo.cc:50:32: note: mismatched types 'const std::poisson_distribution<_IntType>' and 'const __gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)() const' {aka 'const int& (std::queue<int>::*)() const'}
50 | cout<<"["<<ans.front<<";";
| ^~~~~
foo.cc:50:32: note: mismatched types 'const std::poisson_distribution<_IntType>' and '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)()' {aka 'int& (std::queue<int>::*)()'}
foo.cc:50:32: note: couldn't deduce template parameter '_IntType'
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/random.tcc:1697:5: note: candidate: 'template<class _IntType, class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, const binomial_distribution<_IntType>&)'
1697 | operator<<(std::basic_ostream<_CharT, _Traits>& __os,
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/random.tcc:1697:5: note: template argument deduction/substitution failed:
foo.cc:50:32: note: mismatched types 'const std::binomial_distribution<_IntType>' and 'const __gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)() const' {aka 'const int& (std::queue<int>::*)() const'}
50 | cout<<"["<<ans.front<<";";
| ^~~~~
foo.cc:50:32: note: mismatched types 'const std::binomial_distribution<_IntType>' and '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)()' {aka 'int& (std::queue<int>::*)()'}
foo.cc:50:32: note: couldn't deduce template parameter '_IntType'
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/random.tcc:1925:5: note: candidate: 'template<class _RealType1, class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, const normal_distribution<_RealType>&)'
1925 | operator<<(std::basic_ostream<_CharT, _Traits>& __os,
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/random.tcc:1925:5: note: template argument deduction/substitution failed:
foo.cc:50:32: note: mismatched types 'const std::normal_distribution<_RealType>' and 'const __gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)() const' {aka 'const int& (std::queue<int>::*)() const'}
50 | cout<<"["<<ans.front<<";";
| ^~~~~
foo.cc:50:32: note: mismatched types 'const std::normal_distribution<_RealType>' and '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)()' {aka 'int& (std::queue<int>::*)()'}
foo.cc:50:32: note: couldn't deduce template parameter '_RealType1'
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/random.tcc:1992:5: note: candidate: 'template<class _RealType, class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, const lognormal_distribution<_RealType>&)'
1992 | operator<<(std::basic_ostream<_CharT, _Traits>& __os,
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/random.tcc:1992:5: note: template argument deduction/substitution failed:
foo.cc:50:32: note: mismatched types 'const std::lognormal_distribution<_RealType>' and 'const __gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)() const' {aka 'const int& (std::queue<int>::*)() const'}
50 | cout<<"["<<ans.front<<";";
| ^~~~~
foo.cc:50:32: note: mismatched types 'const std::lognormal_distribution<_RealType>' and '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)()' {aka 'int& (std::queue<int>::*)()'}
foo.cc:50:32: note: couldn't deduce template parameter '_RealType'
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/random.tcc:2064:5: note: candidate: 'template<class _RealType, class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, const chi_squared_distribution<_RealType>&)'
2064 | operator<<(std::basic_ostream<_CharT, _Traits>& __os,
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/random.tcc:2064:5: note: template argument deduction/substitution failed:
foo.cc:50:32: note: mismatched types 'const std::chi_squared_distribution<_RealType>' and 'const __gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)() const' {aka 'const int& (std::queue<int>::*)() const'}
50 | cout<<"["<<ans.front<<";";
| ^~~~~
foo.cc:50:32: note: mismatched types 'const std::chi_squared_distribution<_RealType>' and '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)()' {aka 'int& (std::queue<int>::*)()'}
foo.cc:50:32: note: couldn't deduce template parameter '_RealType'
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/random.tcc:2225:5: note: candidate: 'template<class _RealType, class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, const fisher_f_distribution<_RealType>&)'
2225 | operator<<(std::basic_ostream<_CharT, _Traits>& __os,
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/random.tcc:2225:5: note: template argument deduction/substitution failed:
foo.cc:50:32: note: mismatched types 'const std::fisher_f_distribution<_RealType>' and 'const __gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)() const' {aka 'const int& (std::queue<int>::*)() const'}
50 | cout<<"["<<ans.front<<";";
| ^~~~~
foo.cc:50:32: note: mismatched types 'const std::fisher_f_distribution<_RealType>' and '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)()' {aka 'int& (std::queue<int>::*)()'}
foo.cc:50:32: note: couldn't deduce template parameter '_RealType'
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/random.tcc:2299:5: note: candidate: 'template<class _RealType, class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, const student_t_distribution<_RealType>&)'
2299 | operator<<(std::basic_ostream<_CharT, _Traits>& __os,
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/random.tcc:2299:5: note: template argument deduction/substitution failed:
foo.cc:50:32: note: mismatched types 'const std::student_t_distribution<_RealType>' and 'const __gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)() const' {aka 'const int& (std::queue<int>::*)() const'}
50 | cout<<"["<<ans.front<<";";
| ^~~~~
foo.cc:50:32: note: mismatched types 'const std::student_t_distribution<_RealType>' and '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)()' {aka 'int& (std::queue<int>::*)()'}
foo.cc:50:32: note: couldn't deduce template parameter '_RealType'
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/random.tcc:2468:5: note: candidate: 'template<class _RealType1, class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, const gamma_distribution<_RealType>&)'
2468 | operator<<(std::basic_ostream<_CharT, _Traits>& __os,
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/random.tcc:2468:5: note: template argument deduction/substitution failed:
foo.cc:50:32: note: mismatched types 'const std::gamma_distribution<_RealType>' and 'const __gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)() const' {aka 'const int& (std::queue<int>::*)() const'}
50 | cout<<"["<<ans.front<<";";
| ^~~~~
foo.cc:50:32: note: mismatched types 'const std::gamma_distribution<_RealType>' and '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)()' {aka 'int& (std::queue<int>::*)()'}
foo.cc:50:32: note: couldn't deduce template parameter '_RealType1'
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/random.tcc:2754:5: note: candidate: 'template<class _IntType, class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, const discrete_distribution<_IntType>&)'
2754 | operator<<(std::basic_ostream<_CharT, _Traits>& __os,
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/random.tcc:2754:5: note: template argument deduction/substitution failed:
foo.cc:50:32: note: mismatched types 'const std::discrete_distribution<_IntType>' and 'const __gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)() const' {aka 'const int& (std::queue<int>::*)() const'}
50 | cout<<"["<<ans.front<<";";
| ^~~~~
foo.cc:50:32: note: mismatched types 'const std::discrete_distribution<_IntType>' and '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)()' {aka 'int& (std::queue<int>::*)()'}
foo.cc:50:32: note: couldn't deduce template parameter '_IntType'
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/random.tcc:2976:5: note: candidate: 'template<class _RealType, class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, const piecewise_constant_distribution<_RealType>&)'
2976 | operator<<(std::basic_ostream<_CharT, _Traits>& __os,
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/random.tcc:2976:5: note: template argument deduction/substitution failed:
foo.cc:50:32: note: mismatched types 'const std::piecewise_constant_distribution<_RealType>' and 'const __gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)() const' {aka 'const int& (std::queue<int>::*)() const'}
50 | cout<<"["<<ans.front<<";";
| ^~~~~
foo.cc:50:32: note: mismatched types 'const std::piecewise_constant_distribution<_RealType>' and '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)()' {aka 'int& (std::queue<int>::*)()'}
foo.cc:50:32: note: couldn't deduce template parameter '_RealType'
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/random.tcc:3182:5: note: candidate: 'template<class _RealType, class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, const piecewise_linear_distribution<_RealType>&)'
3182 | operator<<(std::basic_ostream<_CharT, _Traits>& __os,
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/random.tcc:3182:5: note: template argument deduction/substitution failed:
foo.cc:50:32: note: mismatched types 'const std::piecewise_linear_distribution<_RealType>' and 'const __gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)() const' {aka 'const int& (std::queue<int>::*)() const'}
50 | cout<<"["<<ans.front<<";";
| ^~~~~
foo.cc:50:32: note: mismatched types 'const std::piecewise_linear_distribution<_RealType>' and '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)()' {aka 'int& (std::queue<int>::*)()'}
foo.cc:50:32: note: couldn't deduce template parameter '_RealType'
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/thread:92:5: note: candidate: 'template<class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, thread::id)'
92 | operator<<(basic_ostream<_CharT, _Traits>& __out, thread::id __id)
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/thread:92:5: note: template argument deduction/substitution failed:
foo.cc:50:32: note: cannot convert 'ans.std::queue<int>::front' (type '<unresolved overloaded function type>') to type 'std::thread::id'
50 | cout<<"["<<ans.front<<";";
| ~~~~^~~~~
foo.cc:53:29: error: no match for 'operator<<' (operand types are 'std::ostream' {aka 'std::basic_ostream<char>'} and '<unresolved overloaded function type>')
53 | cout<<ans.front<<",";
| ~~~~^~~~~~~~~~~
| | |
| | <unresolved overloaded function type>
| std::ostream {aka std::basic_ostream<char>}
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/ostream:108:7: note: candidate: 'std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(__ostream_type& (*)(__ostream_type&)) [with _CharT = char; _Traits = std::char_traits<char>; __ostream_type = std::basic_ostream<char>]'
108 | operator<<(__ostream_type& (*__pf)(__ostream_type&))
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/ostream:108:36: note: no known conversion for argument 1 from '<unresolved overloaded function type>' to 'std::basic_ostream<char>::__ostream_type& (*)(std::basic_ostream<char>::__ostream_type&)' {aka 'std::basic_ostream<char>& (*)(std::basic_ostream<char>&)'}
108 | operator<<(__ostream_type& (*__pf)(__ostream_type&))
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/ostream:117:7: note: candidate: 'std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(__ios_type& (*)(__ios_type&)) [with _CharT = char; _Traits = std::char_traits<char>; __ostream_type = std::basic_ostream<char>; __ios_type = std::basic_ios<char>]'
117 | operator<<(__ios_type& (*__pf)(__ios_type&))
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/ostream:117:32: note: no known conversion for argument 1 from '<unresolved overloaded function type>' to 'std::basic_ostream<char>::__ios_type& (*)(std::basic_ostream<char>::__ios_type&)' {aka 'std::basic_ios<char>& (*)(std::basic_ios<char>&)'}
117 | operator<<(__ios_type& (*__pf)(__ios_type&))
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/ostream:127:7: note: candidate: 'std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(std::ios_base& (*)(std::ios_base&)) [with _CharT = char; _Traits = std::char_traits<char>; __ostream_type = std::basic_ostream<char>]'
127 | operator<<(ios_base& (*__pf) (ios_base&))
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/ostream:127:30: note: no known conversion for argument 1 from '<unresolved overloaded function type>' to 'std::ios_base& (*)(std::ios_base&)'
127 | operator<<(ios_base& (*__pf) (ios_base&))
| ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/ostream:166:7: note: candidate: 'std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(long int) [with _CharT = char; _Traits = std::char_traits<char>; __ostream_type = std::basic_ostream<char>]'
166 | operator<<(long __n)
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/ostream:166:23: note: no known conversion for argument 1 from '<unresolved overloaded function type>' to 'long int'
166 | operator<<(long __n)
| ~~~~~^~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/ostream:170:7: note: candidate: 'std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(long unsigned int) [with _CharT = char; _Traits = std::char_traits<char>; __ostream_type = std::basic_ostream<char>]'
170 | operator<<(unsigned long __n)
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/ostream:170:32: note: no known conversion for argument 1 from '<unresolved overloaded function type>' to 'long unsigned int'
170 | operator<<(unsigned long __n)
| ~~~~~~~~~~~~~~^~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/ostream:174:7: note: candidate: 'std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(bool) [with _CharT = char; _Traits = std::char_traits<char>; __ostream_type = std::basic_ostream<char>]'
174 | operator<<(bool __n)
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/ostream:174:23: note: no known conversion for argument 1 from '<unresolved overloaded function type>' to 'bool'
174 | operator<<(bool __n)
| ~~~~~^~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/ostream.tcc:91:5: note: candidate: 'std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT, _Traits>::operator<<(short int) [with _CharT = char; _Traits = std::char_traits<char>]'
91 | basic_ostream<_CharT, _Traits>::
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/ostream.tcc:92:22: note: no known conversion for argument 1 from '<unresolved overloaded function type>' to 'short int'
92 | operator<<(short __n)
| ~~~~~~^~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/ostream:181:7: note: candidate: 'std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(short unsigned int) [with _CharT = char; _Traits = std::char_traits<char>; __ostream_type = std::basic_ostream<char>]'
181 | operator<<(unsigned short __n)
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/ostream:181:33: note: no known conversion for argument 1 from '<unresolved overloaded function type>' to 'short unsigned int'
181 | operator<<(unsigned short __n)
| ~~~~~~~~~~~~~~~^~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/ostream.tcc:105:5: note: candidate: 'std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT, _Traits>::operator<<(int) [with _CharT = char; _Traits = std::char_traits<char>]'
105 | basic_ostream<_CharT, _Traits>::
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/ostream.tcc:106:20: note: no known conversion for argument 1 from '<unresolved overloaded function type>' to 'int'
106 | operator<<(int __n)
| ~~~~^~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/ostream:192:7: note: candidate: 'std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(unsigned int) [with _CharT = char; _Traits = std::char_traits<char>; __ostream_type = std::basic_ostream<char>]'
192 | operator<<(unsigned int __n)
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/ostream:192:31: note: no known conversion for argument 1 from '<unresolved overloaded function type>' to 'unsigned int'
192 | operator<<(unsigned int __n)
| ~~~~~~~~~~~~~^~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/ostream:201:7: note: candidate: 'std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(long long int) [with _CharT = char; _Traits = std::char_traits<char>; __ostream_type = std::basic_ostream<char>]'
201 | operator<<(long long __n)
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/ostream:201:28: note: no known conversion for argument 1 from '<unresolved overloaded function type>' to 'long long int'
201 | operator<<(long long __n)
| ~~~~~~~~~~^~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/ostream:205:7: note: candidate: 'std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(long long unsigned int) [with _CharT = char; _Traits = std::char_traits<char>; __ostream_type = std::basic_ostream<char>]'
205 | operator<<(unsigned long long __n)
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/ostream:205:37: note: no known conversion for argument 1 from '<unresolved overloaded function type>' to 'long long unsigned int'
205 | operator<<(unsigned long long __n)
| ~~~~~~~~~~~~~~~~~~~^~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/ostream:220:7: note: candidate: 'std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(double) [with _CharT = char; _Traits = std::char_traits<char>; __ostream_type = std::basic_ostream<char>]'
220 | operator<<(double __f)
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/ostream:220:25: note: no known conversion for argument 1 from '<unresolved overloaded function type>' to 'double'
220 | operator<<(double __f)
| ~~~~~~~^~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/ostream:224:7: note: candidate: 'std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(float) [with _CharT = char; _Traits = std::char_traits<char>; __ostream_type = std::basic_ostream<char>]'
224 | operator<<(float __f)
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/ostream:224:24: note: no known conversion for argument 1 from '<unresolved overloaded function type>' to 'float'
224 | operator<<(float __f)
| ~~~~~~^~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/ostream:232:7: note: candidate: 'std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(long double) [with _CharT = char; _Traits = std::char_traits<char>; __ostream_type = std::basic_ostream<char>]'
232 | operator<<(long double __f)
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/ostream:232:30: note: no known conversion for argument 1 from '<unresolved overloaded function type>' to 'long double'
232 | operator<<(long double __f)
| ~~~~~~~~~~~~^~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/ostream:245:7: note: candidate: 'std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(const void*) [with _CharT = char; _Traits = std::char_traits<char>; __ostream_type = std::basic_ostream<char>]'
245 | operator<<(const void* __p)
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/ostream:245:30: note: no known conversion for argument 1 from '<unresolved overloaded function type>' to 'const void*'
245 | operator<<(const void* __p)
| ~~~~~~~~~~~~^~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/ostream.tcc:119:5: note: candidate: 'std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT, _Traits>::operator<<(__streambuf_type*) [with _CharT = char; _Traits = std::char_traits<char>; __streambuf_type = std::basic_streambuf<char>]'
119 | basic_ostream<_CharT, _Traits>::
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/ostream.tcc:120:34: note: no known conversion for argument 1 from '<unresolved overloaded function type>' to 'std::basic_ostream<char>::__streambuf_type*' {aka 'std::basic_streambuf<char>*'}
120 | operator<<(__streambuf_type* __sbin)
| ~~~~~~~~~~~~~~~~~~^~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/regex.h:1675:5: note: candidate: 'template<class _Ch_type, class _Ch_traits, class _Bi_iter> std::basic_ostream<_CharT, _Traits>& std::__cxx11::operator<<(std::basic_ostream<_CharT, _Traits>&, const sub_match<_Bi_iter>&)'
1675 | operator<<(basic_ostream<_Ch_type, _Ch_traits>& __os,
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/regex.h:1675:5: note: template argument deduction/substitution failed:
foo.cc:53:35: note: mismatched types 'const std::__cxx11::sub_match<_Bi_iter>' and 'const __gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)() const' {aka 'const int& (std::queue<int>::*)() const'}
53 | cout<<ans.front<<",";
| ^~~~~
foo.cc:53:35: note: mismatched types 'const std::__cxx11::sub_match<_Bi_iter>' and '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)()' {aka 'int& (std::queue<int>::*)()'}
foo.cc:53:35: note: couldn't deduce template parameter '_Bi_iter'
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/basic_string.h:3883:5: note: candidate: 'template<class _CharT, class _Traits, class _Alloc> std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, const __cxx11::basic_string<_CharT, _Traits, _Alloc>&)'
3883 | operator<<(basic_ostream<_CharT, _Traits>& __os,
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/basic_string.h:3883:5: note: template argument deduction/substitution failed:
foo.cc:53:35: note: mismatched types 'const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>' and 'const __gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)() const' {aka 'const int& (std::queue<int>::*)() const'}
53 | cout<<ans.front<<",";
| ^~~~~
foo.cc:53:35: note: mismatched types 'const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>' and '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)()' {aka 'int& (std::queue<int>::*)()'}
foo.cc:53:35: note: couldn't deduce template parameter '_Alloc'
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/system_error:279:5: note: candidate: 'template<class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, const error_code&)'
279 | operator<<(basic_ostream<_CharT, _Traits>& __os, const error_code& __e)
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/system_error:279:5: note: template argument deduction/substitution failed:
foo.cc:53:35: note: cannot convert 'ans.std::queue<int>::front' (type '<unresolved overloaded function type>') to type 'const std::error_code&'
53 | cout<<ans.front<<",";
| ~~~~^~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/ostream:507:5: note: candidate: 'std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, _CharT) [with _CharT = char; _Traits = char_traits<char>]'
507 | operator<<(basic_ostream<_CharT, _Traits>& __out, _CharT __c)
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/ostream:507:62: note: no known conversion for argument 2 from '<unresolved overloaded function type>' to 'char'
507 | operator<<(basic_ostream<_CharT, _Traits>& __out, _CharT __c)
| ~~~~~~~^~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/ostream:517:5: note: candidate: 'template<class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, char)'
517 | operator<<(basic_ostream<_CharT, _Traits>& __out, char __c)
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/ostream:517:5: note: template argument deduction/substitution failed:
foo.cc:53:35: note: cannot convert 'ans.std::queue<int>::front' (type '<unresolved overloaded function type>') to type 'char'
53 | cout<<ans.front<<",";
| ~~~~^~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/ostream:523:5: note: candidate: 'template<class _Traits> std::basic_ostream<char, _Traits>& std::operator<<(basic_ostream<char, _Traits>&, char)'
523 | operator<<(basic_ostream<char, _Traits>& __out, char __c)
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/ostream:523:5: note: template argument deduction/substitution failed:
foo.cc:53:35: note: cannot convert 'ans.std::queue<int>::front' (type '<unresolved overloaded function type>') to type 'char'
53 | cout<<ans.front<<",";
| ~~~~^~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/ostream:534:5: note: candidate: 'template<class _Traits> std::basic_ostream<char, _Traits>& std::operator<<(basic_ostream<char, _Traits>&, signed char)'
534 | operator<<(basic_ostream<char, _Traits>& __out, signed char __c)
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/ostream:534:5: note: template argument deduction/substitution failed:
foo.cc:53:35: note: cannot convert 'ans.std::queue<int>::front' (type '<unresolved overloaded function type>') to type 'signed char'
53 | cout<<ans.front<<",";
| ~~~~^~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/ostream:539:5: note: candidate: 'template<class _Traits> std::basic_ostream<char, _Traits>& std::operator<<(basic_ostream<char, _Traits>&, unsigned char)'
539 | operator<<(basic_ostream<char, _Traits>& __out, unsigned char __c)
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/ostream:539:5: note: template argument deduction/substitution failed:
foo.cc:53:35: note: cannot convert 'ans.std::queue<int>::front' (type '<unresolved overloaded function type>') to type 'unsigned char'
53 | cout<<ans.front<<",";
| ~~~~^~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/ostream:598:5: note: candidate: 'std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, const _CharT*) [with _CharT = char; _Traits = char_traits<char>]'
598 | operator<<(basic_ostream<_CharT, _Traits>& __out, const _CharT* __s)
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/ostream:598:69: note: no known conversion for argument 2 from '<unresolved overloaded function type>' to 'const char*'
598 | operator<<(basic_ostream<_CharT, _Traits>& __out, const _CharT* __s)
| ~~~~~~~~~~~~~~^~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/ostream.tcc:302:5: note: candidate: 'template<class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, const char*)'
302 | operator<<(basic_ostream<_CharT, _Traits>& __out, const char* __s)
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/ostream.tcc:302:5: note: template argument deduction/substitution failed:
foo.cc:53:35: note: cannot convert 'ans.std::queue<int>::front' (type '<unresolved overloaded function type>') to type 'const char*'
53 | cout<<ans.front<<",";
| ~~~~^~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/ostream:615:5: note: candidate: 'template<class _Traits> std::basic_ostream<char, _Traits>& std::operator<<(basic_ostream<char, _Traits>&, const char*)'
615 | operator<<(basic_ostream<char, _Traits>& __out, const char* __s)
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/ostream:615:5: note: template argument deduction/substitution failed:
foo.cc:53:35: note: cannot convert 'ans.std::queue<int>::front' (type '<unresolved overloaded function type>') to type 'const char*'
53 | cout<<ans.front<<",";
| ~~~~^~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/ostream:628:5: note: candidate: 'template<class _Traits> std::basic_ostream<char, _Traits>& std::operator<<(basic_ostream<char, _Traits>&, const signed char*)'
628 | operator<<(basic_ostream<char, _Traits>& __out, const signed char* __s)
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/ostream:628:5: note: template argument deduction/substitution failed:
foo.cc:53:35: note: cannot convert 'ans.std::queue<int>::front' (type '<unresolved overloaded function type>') to type 'const signed char*'
53 | cout<<ans.front<<",";
| ~~~~^~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/ostream:633:5: note: candidate: 'template<class _Traits> std::basic_ostream<char, _Traits>& std::operator<<(basic_ostream<char, _Traits>&, const unsigned char*)'
633 | operator<<(basic_ostream<char, _Traits>& __out, const unsigned char* __s)
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/ostream:633:5: note: template argument deduction/substitution failed:
foo.cc:53:35: note: cannot convert 'ans.std::queue<int>::front' (type '<unresolved overloaded function type>') to type 'const unsigned char*'
53 | cout<<ans.front<<",";
| ~~~~^~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/ostream:754:5: note: candidate: 'template<class _Ostream, class _Tp> _Ostream&& std::operator<<(_Ostream&&, const _Tp&)'
754 | operator<<(_Ostream&& __os, const _Tp& __x)
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/ostream:754:5: note: template argument deduction/substitution failed:
foo.cc:53:35: note: couldn't deduce template parameter '_Tp'
53 | cout<<ans.front<<",";
| ^~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/complex:555:5: note: candidate: 'template<class _Tp, class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, const complex<_Tp>&)'
555 | operator<<(basic_ostream<_CharT, _Traits>& __os, const complex<_Tp>& __x)
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/complex:555:5: note: template argument deduction/substitution failed:
foo.cc:53:35: note: mismatched types 'const std::complex<_Tp>' and 'const __gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)() const' {aka 'const int& (std::queue<int>::*)() const'}
53 | cout<<ans.front<<",";
| ^~~~~
foo.cc:53:35: note: mismatched types 'const std::complex<_Tp>' and '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)()' {aka 'int& (std::queue<int>::*)()'}
foo.cc:53:35: note: couldn't deduce template parameter '_Tp'
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bitset:1540:5: note: candidate: 'template<class _CharT, class _Traits, long unsigned int _Nb> std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, const bitset<_Nb>&)'
1540 | operator<<(std::basic_ostream<_CharT, _Traits>& __os,
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bitset:1540:5: note: template argument deduction/substitution failed:
foo.cc:53:35: note: mismatched types 'const std::bitset<_Nb>' and 'const __gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)() const' {aka 'const int& (std::queue<int>::*)() const'}
53 | cout<<ans.front<<",";
| ^~~~~
foo.cc:53:35: note: mismatched types 'const std::bitset<_Nb>' and '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)()' {aka 'int& (std::queue<int>::*)()'}
foo.cc:53:35: note: couldn't deduce template parameter '_Nb'
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/iomanip:79:5: note: candidate: 'template<class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, _Resetiosflags)'
79 | operator<<(basic_ostream<_CharT, _Traits>& __os, _Resetiosflags __f)
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/iomanip:79:5: note: template argument deduction/substitution failed:
foo.cc:53:35: note: cannot convert 'ans.std::queue<int>::front' (type '<unresolved overloaded function type>') to type 'std::_Resetiosflags'
53 | cout<<ans.front<<",";
| ~~~~^~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/iomanip:109:5: note: candidate: 'template<class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, _Setiosflags)'
109 | operator<<(basic_ostream<_CharT, _Traits>& __os, _Setiosflags __f)
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/iomanip:109:5: note: template argument deduction/substitution failed:
foo.cc:53:35: note: cannot convert 'ans.std::queue<int>::front' (type '<unresolved overloaded function type>') to type 'std::_Setiosflags'
53 | cout<<ans.front<<",";
| ~~~~^~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/iomanip:143:5: note: candidate: 'template<class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, _Setbase)'
143 | operator<<(basic_ostream<_CharT, _Traits>& __os, _Setbase __f)
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/iomanip:143:5: note: template argument deduction/substitution failed:
foo.cc:53:35: note: cannot convert 'ans.std::queue<int>::front' (type '<unresolved overloaded function type>') to type 'std::_Setbase'
53 | cout<<ans.front<<",";
| ~~~~^~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/iomanip:178:5: note: candidate: 'std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, _Setfill<_CharT>) [with _CharT = char; _Traits = char_traits<char>]'
178 | operator<<(basic_ostream<_CharT, _Traits>& __os, _Setfill<_CharT> __f)
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/iomanip:178:71: note: no known conversion for argument 2 from '<unresolved overloaded function type>' to 'std::_Setfill<char>'
178 | operator<<(basic_ostream<_CharT, _Traits>& __os, _Setfill<_CharT> __f)
| ~~~~~~~~~~~~~~~~~^~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/iomanip:208:5: note: candidate: 'template<class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, _Setprecision)'
208 | operator<<(basic_ostream<_CharT, _Traits>& __os, _Setprecision __f)
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/iomanip:208:5: note: template argument deduction/substitution failed:
foo.cc:53:35: note: cannot convert 'ans.std::queue<int>::front' (type '<unresolved overloaded function type>') to type 'std::_Setprecision'
53 | cout<<ans.front<<",";
| ~~~~^~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/iomanip:238:5: note: candidate: 'template<class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, _Setw)'
238 | operator<<(basic_ostream<_CharT, _Traits>& __os, _Setw __f)
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/iomanip:238:5: note: template argument deduction/substitution failed:
foo.cc:53:35: note: cannot convert 'ans.std::queue<int>::front' (type '<unresolved overloaded function type>') to type 'std::_Setw'
53 | cout<<ans.front<<",";
| ~~~~^~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/iomanip:311:5: note: candidate: 'template<class _CharT, class _Traits, class _MoneyT> std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, _Put_money<_MoneyT>)'
311 | operator<<(basic_ostream<_CharT, _Traits>& __os, _Put_money<_MoneyT> __f)
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/iomanip:311:5: note: template argument deduction/substitution failed:
foo.cc:53:35: note: mismatched types 'std::_Put_money<_MoneyT>' and 'const __gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)() const' {aka 'const int& (std::queue<int>::*)() const'}
53 | cout<<ans.front<<",";
| ^~~~~
foo.cc:53:35: note: mismatched types 'std::_Put_money<_MoneyT>' and '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)()' {aka 'int& (std::queue<int>::*)()'}
foo.cc:53:35: note: couldn't deduce template parameter '_MoneyT'
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/iomanip:363:5: note: candidate: 'std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, _Put_time<_CharT>) [with _CharT = char; _Traits = char_traits<char>]'
363 | operator<<(basic_ostream<_CharT, _Traits>& __os, _Put_time<_CharT> __f)
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/iomanip:363:72: note: no known conversion for argument 2 from '<unresolved overloaded function type>' to 'std::_Put_time<char>'
363 | operator<<(basic_ostream<_CharT, _Traits>& __os, _Put_time<_CharT> __f)
| ~~~~~~~~~~~~~~~~~~^~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/shared_ptr.h:70:5: note: candidate: 'template<class _Ch, class _Tr, class _Tp, __gnu_cxx::_Lock_policy _Lp> std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, const __shared_ptr<_Tp, _Lp>&)'
70 | operator<<(std::basic_ostream<_Ch, _Tr>& __os,
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/shared_ptr.h:70:5: note: template argument deduction/substitution failed:
foo.cc:53:35: note: mismatched types 'const std::__shared_ptr<_Tp, _Lp>' and 'const __gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)() const' {aka 'const int& (std::queue<int>::*)() const'}
53 | cout<<ans.front<<",";
| ^~~~~
foo.cc:53:35: note: mismatched types 'const std::__shared_ptr<_Tp, _Lp>' and '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)()' {aka 'int& (std::queue<int>::*)()'}
foo.cc:53:35: note: couldn't deduce template parameter '_Tp'
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/valarray_after.h:413:5: note: candidate: 'template<class _Dom1, class _Dom2> std::_Expr<std::__detail::_BinClos<std::__shift_left, std::_Expr, std::_Expr, _Dom1, _Dom2>, typename std::__fun<std::__shift_left, typename _Dom1::value_type>::result_type> std::operator<<(const _Expr<_Dom1, typename _Dom1::value_type>&, const _Expr<_Dom2, typename _Dom2::value_type>&)'
413 | _DEFINE_EXPR_BINARY_OPERATOR(<<, struct std::__shift_left)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/valarray_after.h:413:5: note: template argument deduction/substitution failed:
foo.cc:53:35: note: 'std::ostream' {aka 'std::basic_ostream<char>'} is not derived from 'const std::_Expr<_Dom1, typename _Dom1::value_type>'
53 | cout<<ans.front<<",";
| ^~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/valarray_after.h:413:5: note: candidate: 'template<class _Dom> std::_Expr<std::__detail::_BinClos<std::__shift_left, std::_Expr, std::_Constant, _Dom, typename _Dom::value_type>, typename std::__fun<std::__shift_left, typename _Dom1::value_type>::result_type> std::operator<<(const _Expr<_Dom1, typename _Dom1::value_type>&, const typename _Dom::value_type&)'
413 | _DEFINE_EXPR_BINARY_OPERATOR(<<, struct std::__shift_left)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/valarray_after.h:413:5: note: template argument deduction/substitution failed:
foo.cc:53:35: note: 'std::ostream' {aka 'std::basic_ostream<char>'} is not derived from 'const std::_Expr<_Dom1, typename _Dom1::value_type>'
53 | cout<<ans.front<<",";
| ^~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/valarray_after.h:413:5: note: candidate: 'template<class _Dom> std::_Expr<std::__detail::_BinClos<std::__shift_left, std::_Constant, std::_Expr, typename _Dom::value_type, _Dom>, typename std::__fun<std::__shift_left, typename _Dom1::value_type>::result_type> std::operator<<(const typename _Dom::value_type&, const _Expr<_Dom1, typename _Dom1::value_type>&)'
413 | _DEFINE_EXPR_BINARY_OPERATOR(<<, struct std::__shift_left)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/valarray_after.h:413:5: note: template argument deduction/substitution failed:
foo.cc:53:35: note: mismatched types 'const std::_Expr<_Dom1, typename _Dom1::value_type>' and 'const __gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)() const' {aka 'const int& (std::queue<int>::*)() const'}
53 | cout<<ans.front<<",";
| ^~~~~
foo.cc:53:35: note: mismatched types 'const std::_Expr<_Dom1, typename _Dom1::value_type>' and '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)()' {aka 'int& (std::queue<int>::*)()'}
foo.cc:53:35: note: couldn't deduce template parameter '_Dom'
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/valarray_after.h:413:5: note: candidate: 'template<class _Dom> std::_Expr<std::__detail::_BinClos<std::__shift_left, std::_Expr, std::_ValArray, _Dom, typename _Dom::value_type>, typename std::__fun<std::__shift_left, typename _Dom1::value_type>::result_type> std::operator<<(const _Expr<_Dom1, typename _Dom1::value_type>&, const valarray<typename _Dom::value_type>&)'
413 | _DEFINE_EXPR_BINARY_OPERATOR(<<, struct std::__shift_left)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/valarray_after.h:413:5: note: template argument deduction/substitution failed:
foo.cc:53:35: note: 'std::ostream' {aka 'std::basic_ostream<char>'} is not derived from 'const std::_Expr<_Dom1, typename _Dom1::value_type>'
53 | cout<<ans.front<<",";
| ^~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/valarray_after.h:413:5: note: candidate: 'template<class _Dom> std::_Expr<std::__detail::_BinClos<std::__shift_left, std::_ValArray, std::_Expr, typename _Dom::value_type, _Dom>, typename std::__fun<std::__shift_left, typename _Dom1::value_type>::result_type> std::operator<<(const valarray<typename _Dom::value_type>&, const _Expr<_Dom1, typename _Dom1::value_type>&)'
413 | _DEFINE_EXPR_BINARY_OPERATOR(<<, struct std::__shift_left)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/valarray_after.h:413:5: note: template argument deduction/substitution failed:
foo.cc:53:35: note: mismatched types 'const std::_Expr<_Dom1, typename _Dom1::value_type>' and 'const __gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)() const' {aka 'const int& (std::queue<int>::*)() const'}
53 | cout<<ans.front<<",";
| ^~~~~
foo.cc:53:35: note: mismatched types 'const std::_Expr<_Dom1, typename _Dom1::value_type>' and '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)()' {aka 'int& (std::queue<int>::*)()'}
foo.cc:53:35: note: couldn't deduce template parameter '_Dom'
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/valarray:1193:1: note: candidate: 'template<class _Tp> std::_Expr<std::__detail::_BinClos<std::__shift_left, std::_ValArray, std::_ValArray, _Tp, _Tp>, typename std::__fun<std::__shift_left, _Tp>::result_type> std::operator<<(const valarray<_Tp>&, const valarray<_Tp>&)'
1193 | _DEFINE_BINARY_OPERATOR(<<, __shift_left)
| ^~~~~~~~~~~~~~~~~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/valarray:1193:1: note: template argument deduction/substitution failed:
foo.cc:53:35: note: 'std::ostream' {aka 'std::basic_ostream<char>'} is not derived from 'const std::valarray<_Tp>'
53 | cout<<ans.front<<",";
| ^~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/valarray:1193:1: note: candidate: 'template<class _Tp> std::_Expr<std::__detail::_BinClos<std::__shift_left, std::_ValArray, std::_Constant, _Tp, _Tp>, typename std::__fun<std::__shift_left, _Tp>::result_type> std::operator<<(const valarray<_Tp>&, const typename valarray<_Tp>::value_type&)'
1193 | _DEFINE_BINARY_OPERATOR(<<, __shift_left)
| ^~~~~~~~~~~~~~~~~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/valarray:1193:1: note: template argument deduction/substitution failed:
foo.cc:53:35: note: 'std::ostream' {aka 'std::basic_ostream<char>'} is not derived from 'const std::valarray<_Tp>'
53 | cout<<ans.front<<",";
| ^~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/valarray:1193:1: note: candidate: 'template<class _Tp> std::_Expr<std::__detail::_BinClos<std::__shift_left, std::_Constant, std::_ValArray, _Tp, _Tp>, typename std::__fun<std::__shift_left, _Tp>::result_type> std::operator<<(const typename valarray<_Tp>::value_type&, const valarray<_Tp>&)'
1193 | _DEFINE_BINARY_OPERATOR(<<, __shift_left)
| ^~~~~~~~~~~~~~~~~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/valarray:1193:1: note: template argument deduction/substitution failed:
foo.cc:53:35: note: mismatched types 'const std::valarray<_Tp>' and 'const __gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)() const' {aka 'const int& (std::queue<int>::*)() const'}
53 | cout<<ans.front<<",";
| ^~~~~
foo.cc:53:35: note: mismatched types 'const std::valarray<_Tp>' and '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)()' {aka 'int& (std::queue<int>::*)()'}
foo.cc:53:35: note: couldn't deduce template parameter '_Tp'
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/random.h:1312:5: note: candidate: 'template<class _RandomNumberEngine, long unsigned int __w, class _UIntType, class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, const independent_bits_engine<_RandomNumberEngine, __w, _UIntType>&)'
1312 | operator<<(std::basic_ostream<_CharT, _Traits>& __os,
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/random.h:1312:5: note: template argument deduction/substitution failed:
foo.cc:53:35: note: mismatched types 'const std::independent_bits_engine<_RandomNumberEngine, __w, _UIntType>' and 'const __gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)() const' {aka 'const int& (std::queue<int>::*)() const'}
53 | cout<<ans.front<<",";
| ^~~~~
foo.cc:53:35: note: mismatched types 'const std::independent_bits_engine<_RandomNumberEngine, __w, _UIntType>' and '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)()' {aka 'int& (std::queue<int>::*)()'}
foo.cc:53:35: note: couldn't deduce template parameter '_RandomNumberEngine'
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/random.tcc:907:5: note: candidate: 'template<class _IntType, class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, const uniform_int_distribution<_IntType>&)'
907 | operator<<(std::basic_ostream<_CharT, _Traits>& __os,
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/random.tcc:907:5: note: template argument deduction/substitution failed:
foo.cc:53:35: note: mismatched types 'const std::uniform_int_distribution<_IntType>' and 'const __gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)() const' {aka 'const int& (std::queue<int>::*)() const'}
53 | cout<<ans.front<<",";
| ^~~~~
foo.cc:53:35: note: mismatched types 'const std::uniform_int_distribution<_IntType>' and '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)()' {aka 'int& (std::queue<int>::*)()'}
foo.cc:53:35: note: couldn't deduce template parameter '_IntType'
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/random.tcc:965:5: note: candidate: 'template<class _RealType, class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, const uniform_real_distribution<_IntType>&)'
965 | operator<<(std::basic_ostream<_CharT, _Traits>& __os,
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/random.tcc:965:5: note: template argument deduction/substitution failed:
foo.cc:53:35: note: mismatched types 'const std::uniform_real_distribution<_IntType>' and 'const __gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)() const' {aka 'const int& (std::queue<int>::*)() const'}
53 | cout<<ans.front<<",";
| ^~~~~
foo.cc:53:35: note: mismatched types 'const std::uniform_real_distribution<_IntType>' and '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)()' {aka 'int& (std::queue<int>::*)()'}
foo.cc:53:35: note: couldn't deduce template parameter '_RealType'
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/random.tcc:2150:5: note: candidate: 'template<class _RealType, class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, const cauchy_distribution<_RealType>&)'
2150 | operator<<(std::basic_ostream<_CharT, _Traits>& __os,
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/random.tcc:2150:5: note: template argument deduction/substitution failed:
foo.cc:53:35: note: mismatched types 'const std::cauchy_distribution<_RealType>' and 'const __gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)() const' {aka 'const int& (std::queue<int>::*)() const'}
53 | cout<<ans.front<<",";
| ^~~~~
foo.cc:53:35: note: mismatched types 'const std::cauchy_distribution<_RealType>' and '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)()' {aka 'int& (std::queue<int>::*)()'}
foo.cc:53:35: note: couldn't deduce template parameter '_RealType'
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/random.tcc:1026:5: note: candidate: 'template<class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, const bernoulli_distribution&)'
1026 | operator<<(std::basic_ostream<_CharT, _Traits>& __os,
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/random.tcc:1026:5: note: template argument deduction/substitution failed:
foo.cc:53:35: note: cannot convert 'ans.std::queue<int>::front' (type '<unresolved overloaded function type>') to type 'const std::bernoulli_distribution&'
53 | cout<<ans.front<<",";
| ~~~~^~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/random.tcc:1107:5: note: candidate: 'template<class _IntType, class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, const geometric_distribution<_IntType>&)'
1107 | operator<<(std::basic_ostream<_CharT, _Traits>& __os,
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/random.tcc:1107:5: note: template argument deduction/substitution failed:
foo.cc:53:35: note: mismatched types 'const std::geometric_distribution<_IntType>' and 'const __gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)() const' {aka 'const int& (std::queue<int>::*)() const'}
53 | cout<<ans.front<<",";
| ^~~~~
foo.cc:53:35: note: mismatched types 'const std::geometric_distribution<_IntType>' and '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)()' {aka 'int& (std::queue<int>::*)()'}
foo.cc:53:35: note: couldn't deduce template parameter '_IntType'
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/random.tcc:1759:5: note: candidate: 'template<class _RealType, class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, const exponential_distribution<_RealType>&)'
1759 | operator<<(std::basic_ostream<_CharT, _Traits>& __os,
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/random.tcc:1759:5: note: template argument deduction/substitution failed:
foo.cc:53:35: note: mismatched types 'const std::exponential_distribution<_RealType>' and 'const __gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)() const' {aka 'const int& (std::queue<int>::*)() const'}
53 | cout<<ans.front<<",";
| ^~~~~
foo.cc:53:35: note: mismatched types 'const std::exponential_distribution<_RealType>' and '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)()' {aka 'int& (std::queue<int>::*)()'}
foo.cc:53:35: note: couldn't deduce template parameter '_RealType'
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/random.tcc:2544:5: note: candidate: 'template<class _RealType, class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, const weibull_distribution<_RealType>&)'
2544 | operator<<(std::basic_ostream<_CharT, _Traits>& __os,
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/random.tcc:2544:5: note: template argument deduction/substitution failed:
foo.cc:53:35: note: mismatched types 'const std::weibull_distribution<_RealType>' and 'const __gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)() const' {aka 'const int& (std::queue<int>::*)() const'}
53 | cout<<ans.front<<",";
| ^~~~~
foo.cc:53:35: note: mismatched types 'const std::weibull_distribution<_RealType>' and '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)()' {aka 'int& (std::queue<int>::*)()'}
foo.cc:53:35: note: couldn't deduce template parameter '_RealType'
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/random.tcc:2618:5: note: candidate: 'template<class _RealType, class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, const extreme_value_distribution<_RealType>&)'
2618 | operator<<(std::basic_ostream<_CharT, _Traits>& __os,
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/random.tcc:2618:5: note: template argument deduction/substitution failed:
foo.cc:53:35: note: mismatched types 'const std::extreme_value_distribution<_RealType>' and 'const __gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)() const' {aka 'const int& (std::queue<int>::*)() const'}
53 | cout<<ans.front<<",";
| ^~~~~
foo.cc:53:35: note: mismatched types 'const std::extreme_value_distribution<_RealType>' and '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)()' {aka 'int& (std::queue<int>::*)()'}
foo.cc:53:35: note: couldn't deduce template parameter '_RealType'
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/random.tcc:156:5: note: candidate: 'template<class _UIntType, _UIntType __a, _UIntType __c, _UIntType __m, class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, const linear_congruential_engine<_UIntType, __a, __c, __m>&)'
156 | operator<<(std::basic_ostream<_CharT, _Traits>& __os,
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/random.tcc:156:5: note: template argument deduction/substitution failed:
foo.cc:53:35: note: mismatched types 'const std::linear_congruential_engine<_UIntType, __a, __c, __m>' and 'const __gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)() const' {aka 'const int& (std::queue<int>::*)() const'}
53 | cout<<ans.front<<",";
| ^~~~~
foo.cc:53:35: note: mismatched types 'const std::linear_congruential_engine<_UIntType, __a, __c, __m>' and '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)()' {aka 'int& (std::queue<int>::*)()'}
foo.cc:53:35: note: couldn't deduce template parameter '_UIntType'
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/random.tcc:477:5: note: candidate: 'template<class _UIntType1, long unsigned int __w1, long unsigned int __n1, long unsigned int __m1, long unsigned int __r1, _UIntType1 __a1, long unsigned int __u1, _UIntType1 __d1, long unsigned int __s1, _UIntType1 __b1, long unsigned int __t1, _UIntType1 __c1, long unsigned int __l1, _UIntType1 __f1, class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, const mersenne_twister_engine<_UIntType, __w, __n, __m, __r, __a, __u, __d, __s, __b, __t, __c, __l, __f>&)'
477 | operator<<(std::basic_ostream<_CharT, _Traits>& __os,
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/random.tcc:477:5: note: template argument deduction/substitution failed:
foo.cc:53:35: note: mismatched types 'const std::mersenne_twister_engine<_UIntType, __w, __n, __m, __r, __a, __u, __d, __s, __b, __t, __c, __l, __f>' and 'const __gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)() const' {aka 'const int& (std::queue<int>::*)() const'}
53 | cout<<ans.front<<",";
| ^~~~~
foo.cc:53:35: note: mismatched types 'const std::mersenne_twister_engine<_UIntType, __w, __n, __m, __r, __a, __u, __d, __s, __b, __t, __c, __l, __f>' and '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)()' {aka 'int& (std::queue<int>::*)()'}
foo.cc:53:35: note: couldn't deduce template parameter '_UIntType1'
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/random.tcc:632:5: note: candidate: 'template<class _UIntType, long unsigned int __w, long unsigned int __s, long unsigned int __r, class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, const subtract_with_carry_engine<_UIntType, __w, __s, __r>&)'
632 | operator<<(std::basic_ostream<_CharT, _Traits>& __os,
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/random.tcc:632:5: note: template argument deduction/substitution failed:
foo.cc:53:35: note: mismatched types 'const std::subtract_with_carry_engine<_UIntType, __w, __s, __r>' and 'const __gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)() const' {aka 'const int& (std::queue<int>::*)() const'}
53 | cout<<ans.front<<",";
| ^~~~~
foo.cc:53:35: note: mismatched types 'const std::subtract_with_carry_engine<_UIntType, __w, __s, __r>' and '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)()' {aka 'int& (std::queue<int>::*)()'}
foo.cc:53:35: note: couldn't deduce template parameter '_UIntType'
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/random.tcc:701:5: note: candidate: 'template<class _RandomNumberEngine, long unsigned int __p, long unsigned int __r, class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, const discard_block_engine<_RandomNumberEngine, __p, __r>&)'
701 | operator<<(std::basic_ostream<_CharT, _Traits>& __os,
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/random.tcc:701:5: note: template argument deduction/substitution failed:
foo.cc:53:35: note: mismatched types 'const std::discard_block_engine<_RandomNumberEngine, __p, __r>' and 'const __gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)() const' {aka 'const int& (std::queue<int>::*)() const'}
53 | cout<<ans.front<<",";
| ^~~~~
foo.cc:53:35: note: mismatched types 'const std::discard_block_engine<_RandomNumberEngine, __p, __r>' and '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)()' {aka 'int& (std::queue<int>::*)()'}
foo.cc:53:35: note: couldn't deduce template parameter '_RandomNumberEngine'
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/random.tcc:863:5: note: candidate: 'template<class _RandomNumberEngine, long unsigned int __k, class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, const shuffle_order_engine<_RandomNumberEngine, __k>&)'
863 | operator<<(std::basic_ostream<_CharT, _Traits>& __os,
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/random.tcc:863:5: note: template argument deduction/substitution failed:
foo.cc:53:35: note: mismatched types 'const std::shuffle_order_engine<_RandomNumberEngine, __k>' and 'const __gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)() const' {aka 'const int& (std::queue<int>::*)() const'}
53 | cout<<ans.front<<",";
| ^~~~~
foo.cc:53:35: note: mismatched types 'const std::shuffle_order_engine<_RandomNumberEngine, __k>' and '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)()' {aka 'int& (std::queue<int>::*)()'}
foo.cc:53:35: note: couldn't deduce template parameter '_RandomNumberEngine'
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/random.tcc:1221:5: note: candidate: 'template<class _IntType, class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, const negative_binomial_distribution<_IntType>&)'
1221 | operator<<(std::basic_ostream<_CharT, _Traits>& __os,
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/random.tcc:1221:5: note: template argument deduction/substitution failed:
foo.cc:53:35: note: mismatched types 'const std::negative_binomial_distribution<_IntType>' and 'const __gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)() const' {aka 'const int& (std::queue<int>::*)() const'}
53 | cout<<ans.front<<",";
| ^~~~~
foo.cc:53:35: note: mismatched types 'const std::negative_binomial_distribution<_IntType>' and '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)()' {aka 'int& (std::queue<int>::*)()'}
foo.cc:53:35: note: couldn't deduce template parameter '_IntType'
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/random.tcc:1431:5: note: candidate: 'template<class _IntType, class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, const poisson_distribution<_IntType>&)'
1431 | operator<<(std::basic_ostream<_CharT, _Traits>& __os,
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/random.tcc:1431:5: note: template argument deduction/substitution failed:
foo.cc:53:35: note: mismatched types 'const std::poisson_distribution<_IntType>' and 'const __gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)() const' {aka 'const int& (std::queue<int>::*)() const'}
53 | cout<<ans.front<<",";
| ^~~~~
foo.cc:53:35: note: mismatched types 'const std::poisson_distribution<_IntType>' and '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)()' {aka 'int& (std::queue<int>::*)()'}
foo.cc:53:35: note: couldn't deduce template parameter '_IntType'
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/random.tcc:1697:5: note: candidate: 'template<class _IntType, class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, const binomial_distribution<_IntType>&)'
1697 | operator<<(std::basic_ostream<_CharT, _Traits>& __os,
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/random.tcc:1697:5: note: template argument deduction/substitution failed:
foo.cc:53:35: note: mismatched types 'const std::binomial_distribution<_IntType>' and 'const __gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)() const' {aka 'const int& (std::queue<int>::*)() const'}
53 | cout<<ans.front<<",";
| ^~~~~
foo.cc:53:35: note: mismatched types 'const std::binomial_distribution<_IntType>' and '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)()' {aka 'int& (std::queue<int>::*)()'}
foo.cc:53:35: note: couldn't deduce template parameter '_IntType'
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/random.tcc:1925:5: note: candidate: 'template<class _RealType1, class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, const normal_distribution<_RealType>&)'
1925 | operator<<(std::basic_ostream<_CharT, _Traits>& __os,
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/random.tcc:1925:5: note: template argument deduction/substitution failed:
foo.cc:53:35: note: mismatched types 'const std::normal_distribution<_RealType>' and 'const __gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)() const' {aka 'const int& (std::queue<int>::*)() const'}
53 | cout<<ans.front<<",";
| ^~~~~
foo.cc:53:35: note: mismatched types 'const std::normal_distribution<_RealType>' and '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)()' {aka 'int& (std::queue<int>::*)()'}
foo.cc:53:35: note: couldn't deduce template parameter '_RealType1'
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/random.tcc:1992:5: note: candidate: 'template<class _RealType, class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, const lognormal_distribution<_RealType>&)'
1992 | operator<<(std::basic_ostream<_CharT, _Traits>& __os,
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/random.tcc:1992:5: note: template argument deduction/substitution failed:
foo.cc:53:35: note: mismatched types 'const std::lognormal_distribution<_RealType>' and 'const __gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)() const' {aka 'const int& (std::queue<int>::*)() const'}
53 | cout<<ans.front<<",";
| ^~~~~
foo.cc:53:35: note: mismatched types 'const std::lognormal_distribution<_RealType>' and '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)()' {aka 'int& (std::queue<int>::*)()'}
foo.cc:53:35: note: couldn't deduce template parameter '_RealType'
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/random.tcc:2064:5: note: candidate: 'template<class _RealType, class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, const chi_squared_distribution<_RealType>&)'
2064 | operator<<(std::basic_ostream<_CharT, _Traits>& __os,
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/random.tcc:2064:5: note: template argument deduction/substitution failed:
foo.cc:53:35: note: mismatched types 'const std::chi_squared_distribution<_RealType>' and 'const __gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)() const' {aka 'const int& (std::queue<int>::*)() const'}
53 | cout<<ans.front<<",";
| ^~~~~
foo.cc:53:35: note: mismatched types 'const std::chi_squared_distribution<_RealType>' and '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)()' {aka 'int& (std::queue<int>::*)()'}
foo.cc:53:35: note: couldn't deduce template parameter '_RealType'
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/random.tcc:2225:5: note: candidate: 'template<class _RealType, class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, const fisher_f_distribution<_RealType>&)'
2225 | operator<<(std::basic_ostream<_CharT, _Traits>& __os,
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/random.tcc:2225:5: note: template argument deduction/substitution failed:
foo.cc:53:35: note: mismatched types 'const std::fisher_f_distribution<_RealType>' and 'const __gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)() const' {aka 'const int& (std::queue<int>::*)() const'}
53 | cout<<ans.front<<",";
| ^~~~~
foo.cc:53:35: note: mismatched types 'const std::fisher_f_distribution<_RealType>' and '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)()' {aka 'int& (std::queue<int>::*)()'}
foo.cc:53:35: note: couldn't deduce template parameter '_RealType'
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/random.tcc:2299:5: note: candidate: 'template<class _RealType, class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, const student_t_distribution<_RealType>&)'
2299 | operator<<(std::basic_ostream<_CharT, _Traits>& __os,
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/random.tcc:2299:5: note: template argument deduction/substitution failed:
foo.cc:53:35: note: mismatched types 'const std::student_t_distribution<_RealType>' and 'const __gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)() const' {aka 'const int& (std::queue<int>::*)() const'}
53 | cout<<ans.front<<",";
| ^~~~~
foo.cc:53:35: note: mismatched types 'const std::student_t_distribution<_RealType>' and '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)()' {aka 'int& (std::queue<int>::*)()'}
foo.cc:53:35: note: couldn't deduce template parameter '_RealType'
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/random.tcc:2468:5: note: candidate: 'template<class _RealType1, class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, const gamma_distribution<_RealType>&)'
2468 | operator<<(std::basic_ostream<_CharT, _Traits>& __os,
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/random.tcc:2468:5: note: template argument deduction/substitution failed:
foo.cc:53:35: note: mismatched types 'const std::gamma_distribution<_RealType>' and 'const __gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)() const' {aka 'const int& (std::queue<int>::*)() const'}
53 | cout<<ans.front<<",";
| ^~~~~
foo.cc:53:35: note: mismatched types 'const std::gamma_distribution<_RealType>' and '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)()' {aka 'int& (std::queue<int>::*)()'}
foo.cc:53:35: note: couldn't deduce template parameter '_RealType1'
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/random.tcc:2754:5: note: candidate: 'template<class _IntType, class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, const discrete_distribution<_IntType>&)'
2754 | operator<<(std::basic_ostream<_CharT, _Traits>& __os,
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/random.tcc:2754:5: note: template argument deduction/substitution failed:
foo.cc:53:35: note: mismatched types 'const std::discrete_distribution<_IntType>' and 'const __gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)() const' {aka 'const int& (std::queue<int>::*)() const'}
53 | cout<<ans.front<<",";
| ^~~~~
foo.cc:53:35: note: mismatched types 'const std::discrete_distribution<_IntType>' and '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)()' {aka 'int& (std::queue<int>::*)()'}
foo.cc:53:35: note: couldn't deduce template parameter '_IntType'
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/random.tcc:2976:5: note: candidate: 'template<class _RealType, class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, const piecewise_constant_distribution<_RealType>&)'
2976 | operator<<(std::basic_ostream<_CharT, _Traits>& __os,
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/random.tcc:2976:5: note: template argument deduction/substitution failed:
foo.cc:53:35: note: mismatched types 'const std::piecewise_constant_distribution<_RealType>' and 'const __gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)() const' {aka 'const int& (std::queue<int>::*)() const'}
53 | cout<<ans.front<<",";
| ^~~~~
foo.cc:53:35: note: mismatched types 'const std::piecewise_constant_distribution<_RealType>' and '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)()' {aka 'int& (std::queue<int>::*)()'}
foo.cc:53:35: note: couldn't deduce template parameter '_RealType'
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/random.tcc:3182:5: note: candidate: 'template<class _RealType, class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, const piecewise_linear_distribution<_RealType>&)'
3182 | operator<<(std::basic_ostream<_CharT, _Traits>& __os,
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/random.tcc:3182:5: note: template argument deduction/substitution failed:
foo.cc:53:35: note: mismatched types 'const std::piecewise_linear_distribution<_RealType>' and 'const __gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)() const' {aka 'const int& (std::queue<int>::*)() const'}
53 | cout<<ans.front<<",";
| ^~~~~
foo.cc:53:35: note: mismatched types 'const std::piecewise_linear_distribution<_RealType>' and '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)()' {aka 'int& (std::queue<int>::*)()'}
foo.cc:53:35: note: couldn't deduce template parameter '_RealType'
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/thread:92:5: note: candidate: 'template<class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, thread::id)'
92 | operator<<(basic_ostream<_CharT, _Traits>& __out, thread::id __id)
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/thread:92:5: note: template argument deduction/substitution failed:
foo.cc:53:35: note: cannot convert 'ans.std::queue<int>::front' (type '<unresolved overloaded function type>') to type 'std::thread::id'
53 | cout<<ans.front<<",";
| ~~~~^~~~~
foo.cc:56:29: error: no match for 'operator<<' (operand types are 'std::ostream' {aka 'std::basic_ostream<char>'} and '<unresolved overloaded function type>')
56 | cout<<ans.front<<"]"<<endl;
| ~~~~^~~~~~~~~~~
| | |
| | <unresolved overloaded function type>
| std::ostream {aka std::basic_ostream<char>}
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/ostream:108:7: note: candidate: 'std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(__ostream_type& (*)(__ostream_type&)) [with _CharT = char; _Traits = std::char_traits<char>; __ostream_type = std::basic_ostream<char>]'
108 | operator<<(__ostream_type& (*__pf)(__ostream_type&))
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/ostream:108:36: note: no known conversion for argument 1 from '<unresolved overloaded function type>' to 'std::basic_ostream<char>::__ostream_type& (*)(std::basic_ostream<char>::__ostream_type&)' {aka 'std::basic_ostream<char>& (*)(std::basic_ostream<char>&)'}
108 | operator<<(__ostream_type& (*__pf)(__ostream_type&))
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/ostream:117:7: note: candidate: 'std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(__ios_type& (*)(__ios_type&)) [with _CharT = char; _Traits = std::char_traits<char>; __ostream_type = std::basic_ostream<char>; __ios_type = std::basic_ios<char>]'
117 | operator<<(__ios_type& (*__pf)(__ios_type&))
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/ostream:117:32: note: no known conversion for argument 1 from '<unresolved overloaded function type>' to 'std::basic_ostream<char>::__ios_type& (*)(std::basic_ostream<char>::__ios_type&)' {aka 'std::basic_ios<char>& (*)(std::basic_ios<char>&)'}
117 | operator<<(__ios_type& (*__pf)(__ios_type&))
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/ostream:127:7: note: candidate: 'std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(std::ios_base& (*)(std::ios_base&)) [with _CharT = char; _Traits = std::char_traits<char>; __ostream_type = std::basic_ostream<char>]'
127 | operator<<(ios_base& (*__pf) (ios_base&))
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/ostream:127:30: note: no known conversion for argument 1 from '<unresolved overloaded function type>' to 'std::ios_base& (*)(std::ios_base&)'
127 | operator<<(ios_base& (*__pf) (ios_base&))
| ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/ostream:166:7: note: candidate: 'std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(long int) [with _CharT = char; _Traits = std::char_traits<char>; __ostream_type = std::basic_ostream<char>]'
166 | operator<<(long __n)
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/ostream:166:23: note: no known conversion for argument 1 from '<unresolved overloaded function type>' to 'long int'
166 | operator<<(long __n)
| ~~~~~^~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/ostream:170:7: note: candidate: 'std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(long unsigned int) [with _CharT = char; _Traits = std::char_traits<char>; __ostream_type = std::basic_ostream<char>]'
170 | operator<<(unsigned long __n)
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/ostream:170:32: note: no known conversion for argument 1 from '<unresolved overloaded function type>' to 'long unsigned int'
170 | operator<<(unsigned long __n)
| ~~~~~~~~~~~~~~^~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/ostream:174:7: note: candidate: 'std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(bool) [with _CharT = char; _Traits = std::char_traits<char>; __ostream_type = std::basic_ostream<char>]'
174 | operator<<(bool __n)
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/ostream:174:23: note: no known conversion for argument 1 from '<unresolved overloaded function type>' to 'bool'
174 | operator<<(bool __n)
| ~~~~~^~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/ostream.tcc:91:5: note: candidate: 'std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT, _Traits>::operator<<(short int) [with _CharT = char; _Traits = std::char_traits<char>]'
91 | basic_ostream<_CharT, _Traits>::
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/ostream.tcc:92:22: note: no known conversion for argument 1 from '<unresolved overloaded function type>' to 'short int'
92 | operator<<(short __n)
| ~~~~~~^~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/ostream:181:7: note: candidate: 'std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(short unsigned int) [with _CharT = char; _Traits = std::char_traits<char>; __ostream_type = std::basic_ostream<char>]'
181 | operator<<(unsigned short __n)
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/ostream:181:33: note: no known conversion for argument 1 from '<unresolved overloaded function type>' to 'short unsigned int'
181 | operator<<(unsigned short __n)
| ~~~~~~~~~~~~~~~^~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/ostream.tcc:105:5: note: candidate: 'std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT, _Traits>::operator<<(int) [with _CharT = char; _Traits = std::char_traits<char>]'
105 | basic_ostream<_CharT, _Traits>::
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/ostream.tcc:106:20: note: no known conversion for argument 1 from '<unresolved overloaded function type>' to 'int'
106 | operator<<(int __n)
| ~~~~^~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/ostream:192:7: note: candidate: 'std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(unsigned int) [with _CharT = char; _Traits = std::char_traits<char>; __ostream_type = std::basic_ostream<char>]'
192 | operator<<(unsigned int __n)
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/ostream:192:31: note: no known conversion for argument 1 from '<unresolved overloaded function type>' to 'unsigned int'
192 | operator<<(unsigned int __n)
| ~~~~~~~~~~~~~^~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/ostream:201:7: note: candidate: 'std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(long long int) [with _CharT = char; _Traits = std::char_traits<char>; __ostream_type = std::basic_ostream<char>]'
201 | operator<<(long long __n)
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/ostream:201:28: note: no known conversion for argument 1 from '<unresolved overloaded function type>' to 'long long int'
201 | operator<<(long long __n)
| ~~~~~~~~~~^~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/ostream:205:7: note: candidate: 'std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(long long unsigned int) [with _CharT = char; _Traits = std::char_traits<char>; __ostream_type = std::basic_ostream<char>]'
205 | operator<<(unsigned long long __n)
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/ostream:205:37: note: no known conversion for argument 1 from '<unresolved overloaded function type>' to 'long long unsigned int'
205 | operator<<(unsigned long long __n)
| ~~~~~~~~~~~~~~~~~~~^~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/ostream:220:7: note: candidate: 'std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(double) [with _CharT = char; _Traits = std::char_traits<char>; __ostream_type = std::basic_ostream<char>]'
220 | operator<<(double __f)
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/ostream:220:25: note: no known conversion for argument 1 from '<unresolved overloaded function type>' to 'double'
220 | operator<<(double __f)
| ~~~~~~~^~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/ostream:224:7: note: candidate: 'std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(float) [with _CharT = char; _Traits = std::char_traits<char>; __ostream_type = std::basic_ostream<char>]'
224 | operator<<(float __f)
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/ostream:224:24: note: no known conversion for argument 1 from '<unresolved overloaded function type>' to 'float'
224 | operator<<(float __f)
| ~~~~~~^~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/ostream:232:7: note: candidate: 'std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(long double) [with _CharT = char; _Traits = std::char_traits<char>; __ostream_type = std::basic_ostream<char>]'
232 | operator<<(long double __f)
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/ostream:232:30: note: no known conversion for argument 1 from '<unresolved overloaded function type>' to 'long double'
232 | operator<<(long double __f)
| ~~~~~~~~~~~~^~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/ostream:245:7: note: candidate: 'std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(const void*) [with _CharT = char; _Traits = std::char_traits<char>; __ostream_type = std::basic_ostream<char>]'
245 | operator<<(const void* __p)
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/ostream:245:30: note: no known conversion for argument 1 from '<unresolved overloaded function type>' to 'const void*'
245 | operator<<(const void* __p)
| ~~~~~~~~~~~~^~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/ostream.tcc:119:5: note: candidate: 'std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT, _Traits>::operator<<(__streambuf_type*) [with _CharT = char; _Traits = std::char_traits<char>; __streambuf_type = std::basic_streambuf<char>]'
119 | basic_ostream<_CharT, _Traits>::
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/ostream.tcc:120:34: note: no known conversion for argument 1 from '<unresolved overloaded function type>' to 'std::basic_ostream<char>::__streambuf_type*' {aka 'std::basic_streambuf<char>*'}
120 | operator<<(__streambuf_type* __sbin)
| ~~~~~~~~~~~~~~~~~~^~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/regex.h:1675:5: note: candidate: 'template<class _Ch_type, class _Ch_traits, class _Bi_iter> std::basic_ostream<_CharT, _Traits>& std::__cxx11::operator<<(std::basic_ostream<_CharT, _Traits>&, const sub_match<_Bi_iter>&)'
1675 | operator<<(basic_ostream<_Ch_type, _Ch_traits>& __os,
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/regex.h:1675:5: note: template argument deduction/substitution failed:
foo.cc:56:35: note: mismatched types 'const std::__cxx11::sub_match<_Bi_iter>' and 'const __gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)() const' {aka 'const int& (std::queue<int>::*)() const'}
56 | cout<<ans.front<<"]"<<endl;
| ^~~~~
foo.cc:56:35: note: mismatched types 'const std::__cxx11::sub_match<_Bi_iter>' and '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)()' {aka 'int& (std::queue<int>::*)()'}
foo.cc:56:35: note: couldn't deduce template parameter '_Bi_iter'
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/basic_string.h:3883:5: note: candidate: 'template<class _CharT, class _Traits, class _Alloc> std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, const __cxx11::basic_string<_CharT, _Traits, _Alloc>&)'
3883 | operator<<(basic_ostream<_CharT, _Traits>& __os,
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/basic_string.h:3883:5: note: template argument deduction/substitution failed:
foo.cc:56:35: note: mismatched types 'const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>' and 'const __gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)() const' {aka 'const int& (std::queue<int>::*)() const'}
56 | cout<<ans.front<<"]"<<endl;
| ^~~~~
foo.cc:56:35: note: mismatched types 'const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>' and '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)()' {aka 'int& (std::queue<int>::*)()'}
foo.cc:56:35: note: couldn't deduce template parameter '_Alloc'
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/system_error:279:5: note: candidate: 'template<class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, const error_code&)'
279 | operator<<(basic_ostream<_CharT, _Traits>& __os, const error_code& __e)
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/system_error:279:5: note: template argument deduction/substitution failed:
foo.cc:56:35: note: cannot convert 'ans.std::queue<int>::front' (type '<unresolved overloaded function type>') to type 'const std::error_code&'
56 | cout<<ans.front<<"]"<<endl;
| ~~~~^~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/ostream:507:5: note: candidate: 'std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, _CharT) [with _CharT = char; _Traits = char_traits<char>]'
507 | operator<<(basic_ostream<_CharT, _Traits>& __out, _CharT __c)
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/ostream:507:62: note: no known conversion for argument 2 from '<unresolved overloaded function type>' to 'char'
507 | operator<<(basic_ostream<_CharT, _Traits>& __out, _CharT __c)
| ~~~~~~~^~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/ostream:517:5: note: candidate: 'template<class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, char)'
517 | operator<<(basic_ostream<_CharT, _Traits>& __out, char __c)
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/ostream:517:5: note: template argument deduction/substitution failed:
foo.cc:56:35: note: cannot convert 'ans.std::queue<int>::front' (type '<unresolved overloaded function type>') to type 'char'
56 | cout<<ans.front<<"]"<<endl;
| ~~~~^~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/ostream:523:5: note: candidate: 'template<class _Traits> std::basic_ostream<char, _Traits>& std::operator<<(basic_ostream<char, _Traits>&, char)'
523 | operator<<(basic_ostream<char, _Traits>& __out, char __c)
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/ostream:523:5: note: template argument deduction/substitution failed:
foo.cc:56:35: note: cannot convert 'ans.std::queue<int>::front' (type '<unresolved overloaded function type>') to type 'char'
56 | cout<<ans.front<<"]"<<endl;
| ~~~~^~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/ostream:534:5: note: candidate: 'template<class _Traits> std::basic_ostream<char, _Traits>& std::operator<<(basic_ostream<char, _Traits>&, signed char)'
534 | operator<<(basic_ostream<char, _Traits>& __out, signed char __c)
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/ostream:534:5: note: template argument deduction/substitution failed:
foo.cc:56:35: note: cannot convert 'ans.std::queue<int>::front' (type '<unresolved overloaded function type>') to type 'signed char'
56 | cout<<ans.front<<"]"<<endl;
| ~~~~^~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/ostream:539:5: note: candidate: 'template<class _Traits> std::basic_ostream<char, _Traits>& std::operator<<(basic_ostream<char, _Traits>&, unsigned char)'
539 | operator<<(basic_ostream<char, _Traits>& __out, unsigned char __c)
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/ostream:539:5: note: template argument deduction/substitution failed:
foo.cc:56:35: note: cannot convert 'ans.std::queue<int>::front' (type '<unresolved overloaded function type>') to type 'unsigned char'
56 | cout<<ans.front<<"]"<<endl;
| ~~~~^~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/ostream:598:5: note: candidate: 'std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, const _CharT*) [with _CharT = char; _Traits = char_traits<char>]'
598 | operator<<(basic_ostream<_CharT, _Traits>& __out, const _CharT* __s)
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/ostream:598:69: note: no known conversion for argument 2 from '<unresolved overloaded function type>' to 'const char*'
598 | operator<<(basic_ostream<_CharT, _Traits>& __out, const _CharT* __s)
| ~~~~~~~~~~~~~~^~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/ostream.tcc:302:5: note: candidate: 'template<class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, const char*)'
302 | operator<<(basic_ostream<_CharT, _Traits>& __out, const char* __s)
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/ostream.tcc:302:5: note: template argument deduction/substitution failed:
foo.cc:56:35: note: cannot convert 'ans.std::queue<int>::front' (type '<unresolved overloaded function type>') to type 'const char*'
56 | cout<<ans.front<<"]"<<endl;
| ~~~~^~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/ostream:615:5: note: candidate: 'template<class _Traits> std::basic_ostream<char, _Traits>& std::operator<<(basic_ostream<char, _Traits>&, const char*)'
615 | operator<<(basic_ostream<char, _Traits>& __out, const char* __s)
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/ostream:615:5: note: template argument deduction/substitution failed:
foo.cc:56:35: note: cannot convert 'ans.std::queue<int>::front' (type '<unresolved overloaded function type>') to type 'const char*'
56 | cout<<ans.front<<"]"<<endl;
| ~~~~^~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/ostream:628:5: note: candidate: 'template<class _Traits> std::basic_ostream<char, _Traits>& std::operator<<(basic_ostream<char, _Traits>&, const signed char*)'
628 | operator<<(basic_ostream<char, _Traits>& __out, const signed char* __s)
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/ostream:628:5: note: template argument deduction/substitution failed:
foo.cc:56:35: note: cannot convert 'ans.std::queue<int>::front' (type '<unresolved overloaded function type>') to type 'const signed char*'
56 | cout<<ans.front<<"]"<<endl;
| ~~~~^~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/ostream:633:5: note: candidate: 'template<class _Traits> std::basic_ostream<char, _Traits>& std::operator<<(basic_ostream<char, _Traits>&, const unsigned char*)'
633 | operator<<(basic_ostream<char, _Traits>& __out, const unsigned char* __s)
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/ostream:633:5: note: template argument deduction/substitution failed:
foo.cc:56:35: note: cannot convert 'ans.std::queue<int>::front' (type '<unresolved overloaded function type>') to type 'const unsigned char*'
56 | cout<<ans.front<<"]"<<endl;
| ~~~~^~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/ostream:754:5: note: candidate: 'template<class _Ostream, class _Tp> _Ostream&& std::operator<<(_Ostream&&, const _Tp&)'
754 | operator<<(_Ostream&& __os, const _Tp& __x)
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/ostream:754:5: note: template argument deduction/substitution failed:
foo.cc:56:35: note: couldn't deduce template parameter '_Tp'
56 | cout<<ans.front<<"]"<<endl;
| ^~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/complex:555:5: note: candidate: 'template<class _Tp, class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, const complex<_Tp>&)'
555 | operator<<(basic_ostream<_CharT, _Traits>& __os, const complex<_Tp>& __x)
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/complex:555:5: note: template argument deduction/substitution failed:
foo.cc:56:35: note: mismatched types 'const std::complex<_Tp>' and 'const __gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)() const' {aka 'const int& (std::queue<int>::*)() const'}
56 | cout<<ans.front<<"]"<<endl;
| ^~~~~
foo.cc:56:35: note: mismatched types 'const std::complex<_Tp>' and '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)()' {aka 'int& (std::queue<int>::*)()'}
foo.cc:56:35: note: couldn't deduce template parameter '_Tp'
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bitset:1540:5: note: candidate: 'template<class _CharT, class _Traits, long unsigned int _Nb> std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, const bitset<_Nb>&)'
1540 | operator<<(std::basic_ostream<_CharT, _Traits>& __os,
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bitset:1540:5: note: template argument deduction/substitution failed:
foo.cc:56:35: note: mismatched types 'const std::bitset<_Nb>' and 'const __gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)() const' {aka 'const int& (std::queue<int>::*)() const'}
56 | cout<<ans.front<<"]"<<endl;
| ^~~~~
foo.cc:56:35: note: mismatched types 'const std::bitset<_Nb>' and '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)()' {aka 'int& (std::queue<int>::*)()'}
foo.cc:56:35: note: couldn't deduce template parameter '_Nb'
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/iomanip:79:5: note: candidate: 'template<class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, _Resetiosflags)'
79 | operator<<(basic_ostream<_CharT, _Traits>& __os, _Resetiosflags __f)
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/iomanip:79:5: note: template argument deduction/substitution failed:
foo.cc:56:35: note: cannot convert 'ans.std::queue<int>::front' (type '<unresolved overloaded function type>') to type 'std::_Resetiosflags'
56 | cout<<ans.front<<"]"<<endl;
| ~~~~^~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/iomanip:109:5: note: candidate: 'template<class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, _Setiosflags)'
109 | operator<<(basic_ostream<_CharT, _Traits>& __os, _Setiosflags __f)
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/iomanip:109:5: note: template argument deduction/substitution failed:
foo.cc:56:35: note: cannot convert 'ans.std::queue<int>::front' (type '<unresolved overloaded function type>') to type 'std::_Setiosflags'
56 | cout<<ans.front<<"]"<<endl;
| ~~~~^~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/iomanip:143:5: note: candidate: 'template<class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, _Setbase)'
143 | operator<<(basic_ostream<_CharT, _Traits>& __os, _Setbase __f)
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/iomanip:143:5: note: template argument deduction/substitution failed:
foo.cc:56:35: note: cannot convert 'ans.std::queue<int>::front' (type '<unresolved overloaded function type>') to type 'std::_Setbase'
56 | cout<<ans.front<<"]"<<endl;
| ~~~~^~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/iomanip:178:5: note: candidate: 'std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, _Setfill<_CharT>) [with _CharT = char; _Traits = char_traits<char>]'
178 | operator<<(basic_ostream<_CharT, _Traits>& __os, _Setfill<_CharT> __f)
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/iomanip:178:71: note: no known conversion for argument 2 from '<unresolved overloaded function type>' to 'std::_Setfill<char>'
178 | operator<<(basic_ostream<_CharT, _Traits>& __os, _Setfill<_CharT> __f)
| ~~~~~~~~~~~~~~~~~^~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/iomanip:208:5: note: candidate: 'template<class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, _Setprecision)'
208 | operator<<(basic_ostream<_CharT, _Traits>& __os, _Setprecision __f)
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/iomanip:208:5: note: template argument deduction/substitution failed:
foo.cc:56:35: note: cannot convert 'ans.std::queue<int>::front' (type '<unresolved overloaded function type>') to type 'std::_Setprecision'
56 | cout<<ans.front<<"]"<<endl;
| ~~~~^~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/iomanip:238:5: note: candidate: 'template<class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, _Setw)'
238 | operator<<(basic_ostream<_CharT, _Traits>& __os, _Setw __f)
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/iomanip:238:5: note: template argument deduction/substitution failed:
foo.cc:56:35: note: cannot convert 'ans.std::queue<int>::front' (type '<unresolved overloaded function type>') to type 'std::_Setw'
56 | cout<<ans.front<<"]"<<endl;
| ~~~~^~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/iomanip:311:5: note: candidate: 'template<class _CharT, class _Traits, class _MoneyT> std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, _Put_money<_MoneyT>)'
311 | operator<<(basic_ostream<_CharT, _Traits>& __os, _Put_money<_MoneyT> __f)
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/iomanip:311:5: note: template argument deduction/substitution failed:
foo.cc:56:35: note: mismatched types 'std::_Put_money<_MoneyT>' and 'const __gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)() const' {aka 'const int& (std::queue<int>::*)() const'}
56 | cout<<ans.front<<"]"<<endl;
| ^~~~~
foo.cc:56:35: note: mismatched types 'std::_Put_money<_MoneyT>' and '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)()' {aka 'int& (std::queue<int>::*)()'}
foo.cc:56:35: note: couldn't deduce template parameter '_MoneyT'
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/iomanip:363:5: note: candidate: 'std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, _Put_time<_CharT>) [with _CharT = char; _Traits = char_traits<char>]'
363 | operator<<(basic_ostream<_CharT, _Traits>& __os, _Put_time<_CharT> __f)
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/iomanip:363:72: note: no known conversion for argument 2 from '<unresolved overloaded function type>' to 'std::_Put_time<char>'
363 | operator<<(basic_ostream<_CharT, _Traits>& __os, _Put_time<_CharT> __f)
| ~~~~~~~~~~~~~~~~~~^~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/shared_ptr.h:70:5: note: candidate: 'template<class _Ch, class _Tr, class _Tp, __gnu_cxx::_Lock_policy _Lp> std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, const __shared_ptr<_Tp, _Lp>&)'
70 | operator<<(std::basic_ostream<_Ch, _Tr>& __os,
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/shared_ptr.h:70:5: note: template argument deduction/substitution failed:
foo.cc:56:35: note: mismatched types 'const std::__shared_ptr<_Tp, _Lp>' and 'const __gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)() const' {aka 'const int& (std::queue<int>::*)() const'}
56 | cout<<ans.front<<"]"<<endl;
| ^~~~~
foo.cc:56:35: note: mismatched types 'const std::__shared_ptr<_Tp, _Lp>' and '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)()' {aka 'int& (std::queue<int>::*)()'}
foo.cc:56:35: note: couldn't deduce template parameter '_Tp'
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/valarray_after.h:413:5: note: candidate: 'template<class _Dom1, class _Dom2> std::_Expr<std::__detail::_BinClos<std::__shift_left, std::_Expr, std::_Expr, _Dom1, _Dom2>, typename std::__fun<std::__shift_left, typename _Dom1::value_type>::result_type> std::operator<<(const _Expr<_Dom1, typename _Dom1::value_type>&, const _Expr<_Dom2, typename _Dom2::value_type>&)'
413 | _DEFINE_EXPR_BINARY_OPERATOR(<<, struct std::__shift_left)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/valarray_after.h:413:5: note: template argument deduction/substitution failed:
foo.cc:56:35: note: 'std::ostream' {aka 'std::basic_ostream<char>'} is not derived from 'const std::_Expr<_Dom1, typename _Dom1::value_type>'
56 | cout<<ans.front<<"]"<<endl;
| ^~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/valarray_after.h:413:5: note: candidate: 'template<class _Dom> std::_Expr<std::__detail::_BinClos<std::__shift_left, std::_Expr, std::_Constant, _Dom, typename _Dom::value_type>, typename std::__fun<std::__shift_left, typename _Dom1::value_type>::result_type> std::operator<<(const _Expr<_Dom1, typename _Dom1::value_type>&, const typename _Dom::value_type&)'
413 | _DEFINE_EXPR_BINARY_OPERATOR(<<, struct std::__shift_left)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/valarray_after.h:413:5: note: template argument deduction/substitution failed:
foo.cc:56:35: note: 'std::ostream' {aka 'std::basic_ostream<char>'} is not derived from 'const std::_Expr<_Dom1, typename _Dom1::value_type>'
56 | cout<<ans.front<<"]"<<endl;
| ^~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/valarray_after.h:413:5: note: candidate: 'template<class _Dom> std::_Expr<std::__detail::_BinClos<std::__shift_left, std::_Constant, std::_Expr, typename _Dom::value_type, _Dom>, typename std::__fun<std::__shift_left, typename _Dom1::value_type>::result_type> std::operator<<(const typename _Dom::value_type&, const _Expr<_Dom1, typename _Dom1::value_type>&)'
413 | _DEFINE_EXPR_BINARY_OPERATOR(<<, struct std::__shift_left)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/valarray_after.h:413:5: note: template argument deduction/substitution failed:
foo.cc:56:35: note: mismatched types 'const std::_Expr<_Dom1, typename _Dom1::value_type>' and 'const __gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)() const' {aka 'const int& (std::queue<int>::*)() const'}
56 | cout<<ans.front<<"]"<<endl;
| ^~~~~
foo.cc:56:35: note: mismatched types 'const std::_Expr<_Dom1, typename _Dom1::value_type>' and '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)()' {aka 'int& (std::queue<int>::*)()'}
foo.cc:56:35: note: couldn't deduce template parameter '_Dom'
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/valarray_after.h:413:5: note: candidate: 'template<class _Dom> std::_Expr<std::__detail::_BinClos<std::__shift_left, std::_Expr, std::_ValArray, _Dom, typename _Dom::value_type>, typename std::__fun<std::__shift_left, typename _Dom1::value_type>::result_type> std::operator<<(const _Expr<_Dom1, typename _Dom1::value_type>&, const valarray<typename _Dom::value_type>&)'
413 | _DEFINE_EXPR_BINARY_OPERATOR(<<, struct std::__shift_left)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/valarray_after.h:413:5: note: template argument deduction/substitution failed:
foo.cc:56:35: note: 'std::ostream' {aka 'std::basic_ostream<char>'} is not derived from 'const std::_Expr<_Dom1, typename _Dom1::value_type>'
56 | cout<<ans.front<<"]"<<endl;
| ^~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/valarray_after.h:413:5: note: candidate: 'template<class _Dom> std::_Expr<std::__detail::_BinClos<std::__shift_left, std::_ValArray, std::_Expr, typename _Dom::value_type, _Dom>, typename std::__fun<std::__shift_left, typename _Dom1::value_type>::result_type> std::operator<<(const valarray<typename _Dom::value_type>&, const _Expr<_Dom1, typename _Dom1::value_type>&)'
413 | _DEFINE_EXPR_BINARY_OPERATOR(<<, struct std::__shift_left)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/valarray_after.h:413:5: note: template argument deduction/substitution failed:
foo.cc:56:35: note: mismatched types 'const std::_Expr<_Dom1, typename _Dom1::value_type>' and 'const __gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)() const' {aka 'const int& (std::queue<int>::*)() const'}
56 | cout<<ans.front<<"]"<<endl;
| ^~~~~
foo.cc:56:35: note: mismatched types 'const std::_Expr<_Dom1, typename _Dom1::value_type>' and '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)()' {aka 'int& (std::queue<int>::*)()'}
foo.cc:56:35: note: couldn't deduce template parameter '_Dom'
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/valarray:1193:1: note: candidate: 'template<class _Tp> std::_Expr<std::__detail::_BinClos<std::__shift_left, std::_ValArray, std::_ValArray, _Tp, _Tp>, typename std::__fun<std::__shift_left, _Tp>::result_type> std::operator<<(const valarray<_Tp>&, const valarray<_Tp>&)'
1193 | _DEFINE_BINARY_OPERATOR(<<, __shift_left)
| ^~~~~~~~~~~~~~~~~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/valarray:1193:1: note: template argument deduction/substitution failed:
foo.cc:56:35: note: 'std::ostream' {aka 'std::basic_ostream<char>'} is not derived from 'const std::valarray<_Tp>'
56 | cout<<ans.front<<"]"<<endl;
| ^~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/valarray:1193:1: note: candidate: 'template<class _Tp> std::_Expr<std::__detail::_BinClos<std::__shift_left, std::_ValArray, std::_Constant, _Tp, _Tp>, typename std::__fun<std::__shift_left, _Tp>::result_type> std::operator<<(const valarray<_Tp>&, const typename valarray<_Tp>::value_type&)'
1193 | _DEFINE_BINARY_OPERATOR(<<, __shift_left)
| ^~~~~~~~~~~~~~~~~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/valarray:1193:1: note: template argument deduction/substitution failed:
foo.cc:56:35: note: 'std::ostream' {aka 'std::basic_ostream<char>'} is not derived from 'const std::valarray<_Tp>'
56 | cout<<ans.front<<"]"<<endl;
| ^~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/valarray:1193:1: note: candidate: 'template<class _Tp> std::_Expr<std::__detail::_BinClos<std::__shift_left, std::_Constant, std::_ValArray, _Tp, _Tp>, typename std::__fun<std::__shift_left, _Tp>::result_type> std::operator<<(const typename valarray<_Tp>::value_type&, const valarray<_Tp>&)'
1193 | _DEFINE_BINARY_OPERATOR(<<, __shift_left)
| ^~~~~~~~~~~~~~~~~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/valarray:1193:1: note: template argument deduction/substitution failed:
foo.cc:56:35: note: mismatched types 'const std::valarray<_Tp>' and 'const __gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)() const' {aka 'const int& (std::queue<int>::*)() const'}
56 | cout<<ans.front<<"]"<<endl;
| ^~~~~
foo.cc:56:35: note: mismatched types 'const std::valarray<_Tp>' and '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)()' {aka 'int& (std::queue<int>::*)()'}
foo.cc:56:35: note: couldn't deduce template parameter '_Tp'
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/random.h:1312:5: note: candidate: 'template<class _RandomNumberEngine, long unsigned int __w, class _UIntType, class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, const independent_bits_engine<_RandomNumberEngine, __w, _UIntType>&)'
1312 | operator<<(std::basic_ostream<_CharT, _Traits>& __os,
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/random.h:1312:5: note: template argument deduction/substitution failed:
foo.cc:56:35: note: mismatched types 'const std::independent_bits_engine<_RandomNumberEngine, __w, _UIntType>' and 'const __gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)() const' {aka 'const int& (std::queue<int>::*)() const'}
56 | cout<<ans.front<<"]"<<endl;
| ^~~~~
foo.cc:56:35: note: mismatched types 'const std::independent_bits_engine<_RandomNumberEngine, __w, _UIntType>' and '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)()' {aka 'int& (std::queue<int>::*)()'}
foo.cc:56:35: note: couldn't deduce template parameter '_RandomNumberEngine'
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/random.tcc:907:5: note: candidate: 'template<class _IntType, class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, const uniform_int_distribution<_IntType>&)'
907 | operator<<(std::basic_ostream<_CharT, _Traits>& __os,
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/random.tcc:907:5: note: template argument deduction/substitution failed:
foo.cc:56:35: note: mismatched types 'const std::uniform_int_distribution<_IntType>' and 'const __gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)() const' {aka 'const int& (std::queue<int>::*)() const'}
56 | cout<<ans.front<<"]"<<endl;
| ^~~~~
foo.cc:56:35: note: mismatched types 'const std::uniform_int_distribution<_IntType>' and '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)()' {aka 'int& (std::queue<int>::*)()'}
foo.cc:56:35: note: couldn't deduce template parameter '_IntType'
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/random.tcc:965:5: note: candidate: 'template<class _RealType, class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, const uniform_real_distribution<_IntType>&)'
965 | operator<<(std::basic_ostream<_CharT, _Traits>& __os,
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/random.tcc:965:5: note: template argument deduction/substitution failed:
foo.cc:56:35: note: mismatched types 'const std::uniform_real_distribution<_IntType>' and 'const __gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)() const' {aka 'const int& (std::queue<int>::*)() const'}
56 | cout<<ans.front<<"]"<<endl;
| ^~~~~
foo.cc:56:35: note: mismatched types 'const std::uniform_real_distribution<_IntType>' and '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)()' {aka 'int& (std::queue<int>::*)()'}
foo.cc:56:35: note: couldn't deduce template parameter '_RealType'
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/random.tcc:2150:5: note: candidate: 'template<class _RealType, class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, const cauchy_distribution<_RealType>&)'
2150 | operator<<(std::basic_ostream<_CharT, _Traits>& __os,
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/random.tcc:2150:5: note: template argument deduction/substitution failed:
foo.cc:56:35: note: mismatched types 'const std::cauchy_distribution<_RealType>' and 'const __gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)() const' {aka 'const int& (std::queue<int>::*)() const'}
56 | cout<<ans.front<<"]"<<endl;
| ^~~~~
foo.cc:56:35: note: mismatched types 'const std::cauchy_distribution<_RealType>' and '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)()' {aka 'int& (std::queue<int>::*)()'}
foo.cc:56:35: note: couldn't deduce template parameter '_RealType'
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/random.tcc:1026:5: note: candidate: 'template<class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, const bernoulli_distribution&)'
1026 | operator<<(std::basic_ostream<_CharT, _Traits>& __os,
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/random.tcc:1026:5: note: template argument deduction/substitution failed:
foo.cc:56:35: note: cannot convert 'ans.std::queue<int>::front' (type '<unresolved overloaded function type>') to type 'const std::bernoulli_distribution&'
56 | cout<<ans.front<<"]"<<endl;
| ~~~~^~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/random.tcc:1107:5: note: candidate: 'template<class _IntType, class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, const geometric_distribution<_IntType>&)'
1107 | operator<<(std::basic_ostream<_CharT, _Traits>& __os,
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/random.tcc:1107:5: note: template argument deduction/substitution failed:
foo.cc:56:35: note: mismatched types 'const std::geometric_distribution<_IntType>' and 'const __gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)() const' {aka 'const int& (std::queue<int>::*)() const'}
56 | cout<<ans.front<<"]"<<endl;
| ^~~~~
foo.cc:56:35: note: mismatched types 'const std::geometric_distribution<_IntType>' and '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)()' {aka 'int& (std::queue<int>::*)()'}
foo.cc:56:35: note: couldn't deduce template parameter '_IntType'
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/random.tcc:1759:5: note: candidate: 'template<class _RealType, class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, const exponential_distribution<_RealType>&)'
1759 | operator<<(std::basic_ostream<_CharT, _Traits>& __os,
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/random.tcc:1759:5: note: template argument deduction/substitution failed:
foo.cc:56:35: note: mismatched types 'const std::exponential_distribution<_RealType>' and 'const __gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)() const' {aka 'const int& (std::queue<int>::*)() const'}
56 | cout<<ans.front<<"]"<<endl;
| ^~~~~
foo.cc:56:35: note: mismatched types 'const std::exponential_distribution<_RealType>' and '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)()' {aka 'int& (std::queue<int>::*)()'}
foo.cc:56:35: note: couldn't deduce template parameter '_RealType'
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/random.tcc:2544:5: note: candidate: 'template<class _RealType, class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, const weibull_distribution<_RealType>&)'
2544 | operator<<(std::basic_ostream<_CharT, _Traits>& __os,
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/random.tcc:2544:5: note: template argument deduction/substitution failed:
foo.cc:56:35: note: mismatched types 'const std::weibull_distribution<_RealType>' and 'const __gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)() const' {aka 'const int& (std::queue<int>::*)() const'}
56 | cout<<ans.front<<"]"<<endl;
| ^~~~~
foo.cc:56:35: note: mismatched types 'const std::weibull_distribution<_RealType>' and '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)()' {aka 'int& (std::queue<int>::*)()'}
foo.cc:56:35: note: couldn't deduce template parameter '_RealType'
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/random.tcc:2618:5: note: candidate: 'template<class _RealType, class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, const extreme_value_distribution<_RealType>&)'
2618 | operator<<(std::basic_ostream<_CharT, _Traits>& __os,
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/random.tcc:2618:5: note: template argument deduction/substitution failed:
foo.cc:56:35: note: mismatched types 'const std::extreme_value_distribution<_RealType>' and 'const __gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)() const' {aka 'const int& (std::queue<int>::*)() const'}
56 | cout<<ans.front<<"]"<<endl;
| ^~~~~
foo.cc:56:35: note: mismatched types 'const std::extreme_value_distribution<_RealType>' and '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)()' {aka 'int& (std::queue<int>::*)()'}
foo.cc:56:35: note: couldn't deduce template parameter '_RealType'
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/random.tcc:156:5: note: candidate: 'template<class _UIntType, _UIntType __a, _UIntType __c, _UIntType __m, class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, const linear_congruential_engine<_UIntType, __a, __c, __m>&)'
156 | operator<<(std::basic_ostream<_CharT, _Traits>& __os,
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/random.tcc:156:5: note: template argument deduction/substitution failed:
foo.cc:56:35: note: mismatched types 'const std::linear_congruential_engine<_UIntType, __a, __c, __m>' and 'const __gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)() const' {aka 'const int& (std::queue<int>::*)() const'}
56 | cout<<ans.front<<"]"<<endl;
| ^~~~~
foo.cc:56:35: note: mismatched types 'const std::linear_congruential_engine<_UIntType, __a, __c, __m>' and '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)()' {aka 'int& (std::queue<int>::*)()'}
foo.cc:56:35: note: couldn't deduce template parameter '_UIntType'
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/random.tcc:477:5: note: candidate: 'template<class _UIntType1, long unsigned int __w1, long unsigned int __n1, long unsigned int __m1, long unsigned int __r1, _UIntType1 __a1, long unsigned int __u1, _UIntType1 __d1, long unsigned int __s1, _UIntType1 __b1, long unsigned int __t1, _UIntType1 __c1, long unsigned int __l1, _UIntType1 __f1, class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, const mersenne_twister_engine<_UIntType, __w, __n, __m, __r, __a, __u, __d, __s, __b, __t, __c, __l, __f>&)'
477 | operator<<(std::basic_ostream<_CharT, _Traits>& __os,
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/random.tcc:477:5: note: template argument deduction/substitution failed:
foo.cc:56:35: note: mismatched types 'const std::mersenne_twister_engine<_UIntType, __w, __n, __m, __r, __a, __u, __d, __s, __b, __t, __c, __l, __f>' and 'const __gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)() const' {aka 'const int& (std::queue<int>::*)() const'}
56 | cout<<ans.front<<"]"<<endl;
| ^~~~~
foo.cc:56:35: note: mismatched types 'const std::mersenne_twister_engine<_UIntType, __w, __n, __m, __r, __a, __u, __d, __s, __b, __t, __c, __l, __f>' and '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)()' {aka 'int& (std::queue<int>::*)()'}
foo.cc:56:35: note: couldn't deduce template parameter '_UIntType1'
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/random.tcc:632:5: note: candidate: 'template<class _UIntType, long unsigned int __w, long unsigned int __s, long unsigned int __r, class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, const subtract_with_carry_engine<_UIntType, __w, __s, __r>&)'
632 | operator<<(std::basic_ostream<_CharT, _Traits>& __os,
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/random.tcc:632:5: note: template argument deduction/substitution failed:
foo.cc:56:35: note: mismatched types 'const std::subtract_with_carry_engine<_UIntType, __w, __s, __r>' and 'const __gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)() const' {aka 'const int& (std::queue<int>::*)() const'}
56 | cout<<ans.front<<"]"<<endl;
| ^~~~~
foo.cc:56:35: note: mismatched types 'const std::subtract_with_carry_engine<_UIntType, __w, __s, __r>' and '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)()' {aka 'int& (std::queue<int>::*)()'}
foo.cc:56:35: note: couldn't deduce template parameter '_UIntType'
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/random.tcc:701:5: note: candidate: 'template<class _RandomNumberEngine, long unsigned int __p, long unsigned int __r, class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, const discard_block_engine<_RandomNumberEngine, __p, __r>&)'
701 | operator<<(std::basic_ostream<_CharT, _Traits>& __os,
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/random.tcc:701:5: note: template argument deduction/substitution failed:
foo.cc:56:35: note: mismatched types 'const std::discard_block_engine<_RandomNumberEngine, __p, __r>' and 'const __gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)() const' {aka 'const int& (std::queue<int>::*)() const'}
56 | cout<<ans.front<<"]"<<endl;
| ^~~~~
foo.cc:56:35: note: mismatched types 'const std::discard_block_engine<_RandomNumberEngine, __p, __r>' and '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)()' {aka 'int& (std::queue<int>::*)()'}
foo.cc:56:35: note: couldn't deduce template parameter '_RandomNumberEngine'
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/random.tcc:863:5: note: candidate: 'template<class _RandomNumberEngine, long unsigned int __k, class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, const shuffle_order_engine<_RandomNumberEngine, __k>&)'
863 | operator<<(std::basic_ostream<_CharT, _Traits>& __os,
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/random.tcc:863:5: note: template argument deduction/substitution failed:
foo.cc:56:35: note: mismatched types 'const std::shuffle_order_engine<_RandomNumberEngine, __k>' and 'const __gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)() const' {aka 'const int& (std::queue<int>::*)() const'}
56 | cout<<ans.front<<"]"<<endl;
| ^~~~~
foo.cc:56:35: note: mismatched types 'const std::shuffle_order_engine<_RandomNumberEngine, __k>' and '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)()' {aka 'int& (std::queue<int>::*)()'}
foo.cc:56:35: note: couldn't deduce template parameter '_RandomNumberEngine'
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/random.tcc:1221:5: note: candidate: 'template<class _IntType, class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, const negative_binomial_distribution<_IntType>&)'
1221 | operator<<(std::basic_ostream<_CharT, _Traits>& __os,
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/random.tcc:1221:5: note: template argument deduction/substitution failed:
foo.cc:56:35: note: mismatched types 'const std::negative_binomial_distribution<_IntType>' and 'const __gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)() const' {aka 'const int& (std::queue<int>::*)() const'}
56 | cout<<ans.front<<"]"<<endl;
| ^~~~~
foo.cc:56:35: note: mismatched types 'const std::negative_binomial_distribution<_IntType>' and '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)()' {aka 'int& (std::queue<int>::*)()'}
foo.cc:56:35: note: couldn't deduce template parameter '_IntType'
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/random.tcc:1431:5: note: candidate: 'template<class _IntType, class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, const poisson_distribution<_IntType>&)'
1431 | operator<<(std::basic_ostream<_CharT, _Traits>& __os,
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/random.tcc:1431:5: note: template argument deduction/substitution failed:
foo.cc:56:35: note: mismatched types 'const std::poisson_distribution<_IntType>' and 'const __gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)() const' {aka 'const int& (std::queue<int>::*)() const'}
56 | cout<<ans.front<<"]"<<endl;
| ^~~~~
foo.cc:56:35: note: mismatched types 'const std::poisson_distribution<_IntType>' and '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)()' {aka 'int& (std::queue<int>::*)()'}
foo.cc:56:35: note: couldn't deduce template parameter '_IntType'
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/random.tcc:1697:5: note: candidate: 'template<class _IntType, class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, const binomial_distribution<_IntType>&)'
1697 | operator<<(std::basic_ostream<_CharT, _Traits>& __os,
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/random.tcc:1697:5: note: template argument deduction/substitution failed:
foo.cc:56:35: note: mismatched types 'const std::binomial_distribution<_IntType>' and 'const __gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)() const' {aka 'const int& (std::queue<int>::*)() const'}
56 | cout<<ans.front<<"]"<<endl;
| ^~~~~
foo.cc:56:35: note: mismatched types 'const std::binomial_distribution<_IntType>' and '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)()' {aka 'int& (std::queue<int>::*)()'}
foo.cc:56:35: note: couldn't deduce template parameter '_IntType'
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/random.tcc:1925:5: note: candidate: 'template<class _RealType1, class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, const normal_distribution<_RealType>&)'
1925 | operator<<(std::basic_ostream<_CharT, _Traits>& __os,
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/random.tcc:1925:5: note: template argument deduction/substitution failed:
foo.cc:56:35: note: mismatched types 'const std::normal_distribution<_RealType>' and 'const __gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)() const' {aka 'const int& (std::queue<int>::*)() const'}
56 | cout<<ans.front<<"]"<<endl;
| ^~~~~
foo.cc:56:35: note: mismatched types 'const std::normal_distribution<_RealType>' and '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)()' {aka 'int& (std::queue<int>::*)()'}
foo.cc:56:35: note: couldn't deduce template parameter '_RealType1'
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/random.tcc:1992:5: note: candidate: 'template<class _RealType, class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, const lognormal_distribution<_RealType>&)'
1992 | operator<<(std::basic_ostream<_CharT, _Traits>& __os,
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/random.tcc:1992:5: note: template argument deduction/substitution failed:
foo.cc:56:35: note: mismatched types 'const std::lognormal_distribution<_RealType>' and 'const __gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)() const' {aka 'const int& (std::queue<int>::*)() const'}
56 | cout<<ans.front<<"]"<<endl;
| ^~~~~
foo.cc:56:35: note: mismatched types 'const std::lognormal_distribution<_RealType>' and '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)()' {aka 'int& (std::queue<int>::*)()'}
foo.cc:56:35: note: couldn't deduce template parameter '_RealType'
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/random.tcc:2064:5: note: candidate: 'template<class _RealType, class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, const chi_squared_distribution<_RealType>&)'
2064 | operator<<(std::basic_ostream<_CharT, _Traits>& __os,
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/random.tcc:2064:5: note: template argument deduction/substitution failed:
foo.cc:56:35: note: mismatched types 'const std::chi_squared_distribution<_RealType>' and 'const __gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)() const' {aka 'const int& (std::queue<int>::*)() const'}
56 | cout<<ans.front<<"]"<<endl;
| ^~~~~
foo.cc:56:35: note: mismatched types 'const std::chi_squared_distribution<_RealType>' and '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)()' {aka 'int& (std::queue<int>::*)()'}
foo.cc:56:35: note: couldn't deduce template parameter '_RealType'
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/random.tcc:2225:5: note: candidate: 'template<class _RealType, class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, const fisher_f_distribution<_RealType>&)'
2225 | operator<<(std::basic_ostream<_CharT, _Traits>& __os,
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/random.tcc:2225:5: note: template argument deduction/substitution failed:
foo.cc:56:35: note: mismatched types 'const std::fisher_f_distribution<_RealType>' and 'const __gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)() const' {aka 'const int& (std::queue<int>::*)() const'}
56 | cout<<ans.front<<"]"<<endl;
| ^~~~~
foo.cc:56:35: note: mismatched types 'const std::fisher_f_distribution<_RealType>' and '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)()' {aka 'int& (std::queue<int>::*)()'}
foo.cc:56:35: note: couldn't deduce template parameter '_RealType'
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/random.tcc:2299:5: note: candidate: 'template<class _RealType, class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, const student_t_distribution<_RealType>&)'
2299 | operator<<(std::basic_ostream<_CharT, _Traits>& __os,
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/random.tcc:2299:5: note: template argument deduction/substitution failed:
foo.cc:56:35: note: mismatched types 'const std::student_t_distribution<_RealType>' and 'const __gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)() const' {aka 'const int& (std::queue<int>::*)() const'}
56 | cout<<ans.front<<"]"<<endl;
| ^~~~~
foo.cc:56:35: note: mismatched types 'const std::student_t_distribution<_RealType>' and '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)()' {aka 'int& (std::queue<int>::*)()'}
foo.cc:56:35: note: couldn't deduce template parameter '_RealType'
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/random.tcc:2468:5: note: candidate: 'template<class _RealType1, class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, const gamma_distribution<_RealType>&)'
2468 | operator<<(std::basic_ostream<_CharT, _Traits>& __os,
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/random.tcc:2468:5: note: template argument deduction/substitution failed:
foo.cc:56:35: note: mismatched types 'const std::gamma_distribution<_RealType>' and 'const __gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)() const' {aka 'const int& (std::queue<int>::*)() const'}
56 | cout<<ans.front<<"]"<<endl;
| ^~~~~
foo.cc:56:35: note: mismatched types 'const std::gamma_distribution<_RealType>' and '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)()' {aka 'int& (std::queue<int>::*)()'}
foo.cc:56:35: note: couldn't deduce template parameter '_RealType1'
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/random.tcc:2754:5: note: candidate: 'template<class _IntType, class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, const discrete_distribution<_IntType>&)'
2754 | operator<<(std::basic_ostream<_CharT, _Traits>& __os,
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/random.tcc:2754:5: note: template argument deduction/substitution failed:
foo.cc:56:35: note: mismatched types 'const std::discrete_distribution<_IntType>' and 'const __gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)() const' {aka 'const int& (std::queue<int>::*)() const'}
56 | cout<<ans.front<<"]"<<endl;
| ^~~~~
foo.cc:56:35: note: mismatched types 'const std::discrete_distribution<_IntType>' and '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)()' {aka 'int& (std::queue<int>::*)()'}
foo.cc:56:35: note: couldn't deduce template parameter '_IntType'
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/random.tcc:2976:5: note: candidate: 'template<class _RealType, class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, const piecewise_constant_distribution<_RealType>&)'
2976 | operator<<(std::basic_ostream<_CharT, _Traits>& __os,
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/random.tcc:2976:5: note: template argument deduction/substitution failed:
foo.cc:56:35: note: mismatched types 'const std::piecewise_constant_distribution<_RealType>' and 'const __gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)() const' {aka 'const int& (std::queue<int>::*)() const'}
56 | cout<<ans.front<<"]"<<endl;
| ^~~~~
foo.cc:56:35: note: mismatched types 'const std::piecewise_constant_distribution<_RealType>' and '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)()' {aka 'int& (std::queue<int>::*)()'}
foo.cc:56:35: note: couldn't deduce template parameter '_RealType'
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/random.tcc:3182:5: note: candidate: 'template<class _RealType, class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, const piecewise_linear_distribution<_RealType>&)'
3182 | operator<<(std::basic_ostream<_CharT, _Traits>& __os,
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/bits/random.tcc:3182:5: note: template argument deduction/substitution failed:
foo.cc:56:35: note: mismatched types 'const std::piecewise_linear_distribution<_RealType>' and 'const __gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)() const' {aka 'const int& (std::queue<int>::*)() const'}
56 | cout<<ans.front<<"]"<<endl;
| ^~~~~
foo.cc:56:35: note: mismatched types 'const std::piecewise_linear_distribution<_RealType>' and '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type& (std::queue<int>::*)()' {aka 'int& (std::queue<int>::*)()'}
foo.cc:56:35: note: couldn't deduce template parameter '_RealType'
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/thread:92:5: note: candidate: 'template<class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, thread::id)'
92 | operator<<(basic_ostream<_CharT, _Traits>& __out, thread::id __id)
| ^~~~~~~~
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/thread:92:5: note: template argument deduction/substitution failed:
foo.cc:56:35: note: cannot convert 'ans.std::queue<int>::front' (type '<unresolved overloaded function type>') to type 'std::thread::id'
56 | cout<<ans.front<<"]"<<endl;
| ~~~~^~~~~