Main.cc: In function ‘int main()’: Main.cc:12:48: error: no match for ‘operator<<’ (operand types are ‘std::ios_base&(std::ios_base&)’ and ‘std::_Setw’) cout< std::basic_ostream<_CharT, _Traits>& std::__cxx11::operator<<(std::basic_ostream<_CharT, _Traits>&, const std::__cxx11::sub_match<_Bi_iter>&) operator<<(basic_ostream<_Ch_type, _Ch_traits>& __os, ^~~~~~~~ /usr/include/c++/7/bits/regex.h:1525:5: note: template argument deduction/substitution failed: Main.cc:12:56: note: mismatched types ‘std::basic_ostream<_CharT, _Traits>’ and ‘std::ios_base&(std::ios_base&)’ cout< std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, const std::piecewise_linear_distribution<_RealType>&) operator<<(std::basic_ostream<_CharT, _Traits>& __os, ^~~~~~~~ /usr/include/c++/7/bits/random.tcc:3160:5: note: template argument deduction/substitution failed: Main.cc:12:56: note: mismatched types ‘std::basic_ostream<_CharT, _Traits>’ and ‘std::ios_base&(std::ios_base&)’ cout< std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, const std::piecewise_constant_distribution<_RealType>&) operator<<(std::basic_ostream<_CharT, _Traits>& __os, ^~~~~~~~ /usr/include/c++/7/bits/random.tcc:2944:5: note: template argument deduction/substitution failed: Main.cc:12:56: note: mismatched types ‘std::basic_ostream<_CharT, _Traits>’ and ‘std::ios_base&(std::ios_base&)’ cout< std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, const std::discrete_distribution<_IntType>&) operator<<(std::basic_ostream<_CharT, _Traits>& __os, ^~~~~~~~ /usr/include/c++/7/bits/random.tcc:2734:5: note: template argument deduction/substitution failed: Main.cc:12:56: note: mismatched types ‘std::basic_ostream<_CharT, _Traits>’ and ‘std::ios_base&(std::ios_base&)’ cout< std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, const std::student_t_distribution<_RealType>&) operator<<(std::basic_ostream<_CharT, _Traits>& __os, ^~~~~~~~ /usr/include/c++/7/bits/random.tcc:2275:5: note: template argument deduction/substitution failed: Main.cc:12:56: note: mismatched types ‘std::basic_ostream<_CharT, _Traits>’ and ‘std::ios_base&(std::ios_base&)’ cout< std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, const std::fisher_f_distribution<_RealType>&) operator<<(std::basic_ostream<_CharT, _Traits>& __os, ^~~~~~~~ /usr/include/c++/7/bits/random.tcc:2200:5: note: template argument deduction/substitution failed: Main.cc:12:56: note: mismatched types ‘std::basic_ostream<_CharT, _Traits>’ and ‘std::ios_base&(std::ios_base&)’ cout< std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, const std::chi_squared_distribution<_RealType>&) operator<<(std::basic_ostream<_CharT, _Traits>& __os, ^~~~~~~~ /usr/include/c++/7/bits/random.tcc:2036:5: note: template argument deduction/substitution failed: Main.cc:12:56: note: mismatched types ‘std::basic_ostream<_CharT, _Traits>’ and ‘std::ios_base&(std::ios_base&)’ cout< std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, const std::lognormal_distribution<_RealType>&) operator<<(std::basic_ostream<_CharT, _Traits>& __os, ^~~~~~~~ /usr/include/c++/7/bits/random.tcc:1963:5: note: template argument deduction/substitution failed: Main.cc:12:56: note: mismatched types ‘std::basic_ostream<_CharT, _Traits>’ and ‘std::ios_base&(std::ios_base&)’ cout< std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, const std::binomial_distribution<_IntType>&) operator<<(std::basic_ostream<_CharT, _Traits>& __os, ^~~~~~~~ /usr/include/c++/7/bits/random.tcc:1667:5: note: template argument deduction/substitution failed: Main.cc:12:56: note: mismatched types ‘std::basic_ostream<_CharT, _Traits>’ and ‘std::ios_base&(std::ios_base&)’ cout< std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, const std::poisson_distribution<_IntType>&) operator<<(std::basic_ostream<_CharT, _Traits>& __os, ^~~~~~~~ /usr/include/c++/7/bits/random.tcc:1400:5: note: template argument deduction/substitution failed: Main.cc:12:56: note: mismatched types ‘std::basic_ostream<_CharT, _Traits>’ and ‘std::ios_base&(std::ios_base&)’ cout< std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, const std::negative_binomial_distribution<_IntType>&) operator<<(std::basic_ostream<_CharT, _Traits>& __os, ^~~~~~~~ /usr/include/c++/7/bits/random.tcc:1195:5: note: template argument deduction/substitution failed: Main.cc:12:56: note: mismatched types ‘std::basic_ostream<_CharT, _Traits>’ and ‘std::ios_base&(std::ios_base&)’ cout< std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, const std::shuffle_order_engine<_RandomNumberEngine, __k>&) operator<<(std::basic_ostream<_CharT, _Traits>& __os, ^~~~~~~~ /usr/include/c++/7/bits/random.tcc:831:5: note: template argument deduction/substitution failed: Main.cc:12:56: note: mismatched types ‘std::basic_ostream<_CharT, _Traits>’ and ‘std::ios_base&(std::ios_base&)’ cout< std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, const std::discard_block_engine<_RandomNumberEngine, __p, __r>&) operator<<(std::basic_ostream<_CharT, _Traits>& __os, ^~~~~~~~ /usr/include/c++/7/bits/random.tcc:702:5: note: template argument deduction/substitution failed: Main.cc:12:56: note: mismatched types ‘std::basic_ostream<_CharT, _Traits>’ and ‘std::ios_base&(std::ios_base&)’ cout< std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, const std::subtract_with_carry_engine<_UIntType, __w, __s, __r>&) operator<<(std::basic_ostream<_CharT, _Traits>& __os, ^~~~~~~~ /usr/include/c++/7/bits/random.tcc:632:5: note: template argument deduction/substitution failed: Main.cc:12:56: note: mismatched types ‘std::basic_ostream<_CharT, _Traits>’ and ‘std::ios_base&(std::ios_base&)’ cout< std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, const std::linear_congruential_engine<_UIntType, __a, __c, __m>&) operator<<(std::basic_ostream<_CharT, _Traits>& __os, ^~~~~~~~ /usr/include/c++/7/bits/random.tcc:156:5: note: template argument deduction/substitution failed: Main.cc:12:56: note: mismatched types ‘std::basic_ostream<_CharT, _Traits>’ and ‘std::ios_base&(std::ios_base&)’ cout< std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, const std::extreme_value_distribution<_RealType>&) operator<<(std::basic_ostream<_CharT, _Traits>& __os, ^~~~~~~~ /usr/include/c++/7/bits/random.tcc:2598:5: note: template argument deduction/substitution failed: Main.cc:12:56: note: mismatched types ‘std::basic_ostream<_CharT, _Traits>’ and ‘std::ios_base&(std::ios_base&)’ cout< std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, const std::weibull_distribution<_RealType>&) operator<<(std::basic_ostream<_CharT, _Traits>& __os, ^~~~~~~~ /usr/include/c++/7/bits/random.tcc:2522:5: note: template argument deduction/substitution failed: Main.cc:12:56: note: mismatched types ‘std::basic_ostream<_CharT, _Traits>’ and ‘std::ios_base&(std::ios_base&)’ cout< std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, const std::exponential_distribution<_RealType>&) operator<<(std::basic_ostream<_CharT, _Traits>& __os, ^~~~~~~~ /usr/include/c++/7/bits/random.tcc:1731:5: note: template argument deduction/substitution failed: Main.cc:12:56: note: mismatched types ‘std::basic_ostream<_CharT, _Traits>’ and ‘std::ios_base&(std::ios_base&)’ cout< std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, const std::gamma_distribution<_RealType>&) operator<<(std::basic_ostream<_CharT, _Traits>& __os, ^~~~~~~~ /usr/include/c++/7/bits/random.tcc:2444:5: note: template argument deduction/substitution failed: Main.cc:12:56: note: mismatched types ‘std::basic_ostream<_CharT, _Traits>’ and ‘std::ios_base&(std::ios_base&)’ cout< std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, const std::geometric_distribution<_IntType>&) operator<<(std::basic_ostream<_CharT, _Traits>& __os, ^~~~~~~~ /usr/include/c++/7/bits/random.tcc:1080:5: note: template argument deduction/substitution failed: Main.cc:12:56: note: mismatched types ‘std::basic_ostream<_CharT, _Traits>’ and ‘std::ios_base&(std::ios_base&)’ cout< std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, const std::normal_distribution<_RealType>&) operator<<(std::basic_ostream<_CharT, _Traits>& __os, ^~~~~~~~ /usr/include/c++/7/bits/random.tcc:1898:5: note: template argument deduction/substitution failed: Main.cc:12:56: note: mismatched types ‘std::basic_ostream<_CharT, _Traits>’ and ‘std::ios_base&(std::ios_base&)’ cout< std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, const std::bernoulli_distribution&) operator<<(std::basic_ostream<_CharT, _Traits>& __os, ^~~~~~~~ /usr/include/c++/7/bits/random.tcc:998:5: note: template argument deduction/substitution failed: Main.cc:12:56: note: mismatched types ‘std::basic_ostream<_CharT, _Traits>’ and ‘std::ios_base&(std::ios_base&)’ cout< std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, const std::cauchy_distribution<_RealType>&) operator<<(std::basic_ostream<_CharT, _Traits>& __os, ^~~~~~~~ /usr/include/c++/7/bits/random.tcc:2123:5: note: template argument deduction/substitution failed: Main.cc:12:56: note: mismatched types ‘std::basic_ostream<_CharT, _Traits>’ and ‘std::ios_base&(std::ios_base&)’ cout< std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, const std::uniform_real_distribution<_IntType>&) operator<<(std::basic_ostream<_CharT, _Traits>& __os, ^~~~~~~~ /usr/include/c++/7/bits/random.tcc:936:5: note: template argument deduction/substitution failed: Main.cc:12:56: note: mismatched types ‘std::basic_ostream<_CharT, _Traits>’ and ‘std::ios_base&(std::ios_base&)’ cout< std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, const std::uniform_int_distribution<_IntType>&) operator<<(std::basic_ostream<_CharT, _Traits>& __os, ^~~~~~~~ /usr/include/c++/7/bits/random.tcc:877:5: note: template argument deduction/substitution failed: Main.cc:12:56: note: mismatched types ‘std::basic_ostream<_CharT, _Traits>’ and ‘std::ios_base&(std::ios_base&)’ cout< std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, const std::mersenne_twister_engine<_UIntType, __w, __n, __m, __r, __a, __u, __d, __s, __b, __t, __c, __l, __f>&) operator<<(std::basic_ostream<_CharT, _Traits>& __os, ^~~~~~~~ /usr/include/c++/7/bits/random.tcc:477:5: note: template argument deduction/substitution failed: Main.cc:12:56: note: mismatched types ‘std::basic_ostream<_CharT, _Traits>’ and ‘std::ios_base&(std::ios_base&)’ cout< std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, const std::independent_bits_engine<_RandomNumberEngine, __w, _UIntType>&) operator<<(std::basic_ostream<_CharT, _Traits>& __os, ^~~~~~~~ /usr/include/c++/7/bits/random.h:1269:5: note: template argument deduction/substitution failed: Main.cc:12:56: note: mismatched types ‘std::basic_ostream<_CharT, _Traits>’ and ‘std::ios_base&(std::ios_base&)’ cout< std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, std::thread::id) operator<<(basic_ostream<_CharT, _Traits>& __out, thread::id __id) ^~~~~~~~ /usr/include/c++/7/thread:313:5: note: template argument deduction/substitution failed: Main.cc:12:56: note: mismatched types ‘std::basic_ostream<_CharT, _Traits>’ and ‘std::ios_base&(std::ios_base&)’ cout< std::_Expr, typename std::__fun::result_type> std::operator<<(const _Tp&, const std::valarray<_Tp>&) _DEFINE_BINARY_OPERATOR(<<, __shift_left) ^ /usr/include/c++/7/valarray:1180:1: note: template argument deduction/substitution failed: Main.cc:12:56: note: ‘std::_Setw’ is not derived from ‘const std::valarray<_Tp>’ cout< std::_Expr, typename std::__fun::result_type> std::operator<<(const std::valarray<_Tp>&, const _Tp&) _DEFINE_BINARY_OPERATOR(<<, __shift_left) ^ /usr/include/c++/7/valarray:1180:1: note: template argument deduction/substitution failed: Main.cc:12:56: note: mismatched types ‘const std::valarray<_Tp>’ and ‘std::ios_base&(std::ios_base&)’ cout< std::_Expr, typename std::__fun::result_type> std::operator<<(const std::valarray<_Tp>&, const std::valarray<_Tp>&) _DEFINE_BINARY_OPERATOR(<<, __shift_left) ^ /usr/include/c++/7/valarray:1180:1: note: template argument deduction/substitution failed: Main.cc:12:56: note: mismatched types ‘const std::valarray<_Tp>’ and ‘std::ios_base&(std::ios_base&)’ cout< std::_Expr, typename std::__fun::result_type> std::operator<<(const std::valarray&, const std::_Expr<_Dom1, typename _Dom1::value_type>&) _DEFINE_EXPR_BINARY_OPERATOR(<<, __shift_left) ^ /usr/include/c++/7/bits/valarray_after.h:410:5: note: template argument deduction/substitution failed: Main.cc:12:56: note: ‘std::_Setw’ is not derived from ‘const std::_Expr<_Dom1, typename _Dom1::value_type>’ cout< std::_Expr, typename std::__fun::result_type> std::operator<<(const std::_Expr<_Dom1, typename _Dom1::value_type>&, const std::valarray&) _DEFINE_EXPR_BINARY_OPERATOR(<<, __shift_left) ^ /usr/include/c++/7/bits/valarray_after.h:410:5: note: template argument deduction/substitution failed: Main.cc:12:56: note: mismatched types ‘const std::_Expr<_Dom1, typename _Dom1::value_type>’ and ‘std::ios_base&(std::ios_base&)’ cout< std::_Expr, typename std::__fun::result_type> std::operator<<(const typename _Dom::value_type&, const std::_Expr<_Dom1, typename _Dom1::value_type>&)