/in/foo.cc: In function 'int main()':
/in/foo.cc:14:18: error: no matching function for call to 'std::basic_istream<char>::tie(bool)'
cin.tie(false),cout.tie(false);
^
In file included from /usr/include/c++/6/ios:44:0,
from /usr/include/c++/6/ostream:38,
from /usr/include/c++/6/iostream:39,
from /in/foo.cc:1:
/usr/include/c++/6/bits/basic_ios.h:295:7: note: candidate: std::basic_ostream<_CharT, _Traits>* std::basic_ios<_CharT, _Traits>::tie() const [with _CharT = char; _Traits = std::char_traits<char>]
tie() const
^~~
/usr/include/c++/6/bits/basic_ios.h:295:7: note: candidate expects 0 arguments, 1 provided
/usr/include/c++/6/bits/basic_ios.h:307:7: note: candidate: std::basic_ostream<_CharT, _Traits>* std::basic_ios<_CharT, _Traits>::tie(std::basic_ostream<_CharT, _Traits>*) [with _CharT = char; _Traits = std::char_traits<char>]
tie(basic_ostream<_CharT, _Traits>* __tiestr)
^~~
/usr/include/c++/6/bits/basic_ios.h:307:7: note: no known conversion for argument 1 from 'bool' to 'std::basic_ostream<char>*'
/in/foo.cc:14:34: error: no matching function for call to 'std::basic_ostream<char>::tie(bool)'
cin.tie(false),cout.tie(false);
^
In file included from /usr/include/c++/6/ios:44:0,
from /usr/include/c++/6/ostream:38,
from /usr/include/c++/6/iostream:39,
from /in/foo.cc:1:
/usr/include/c++/6/bits/basic_ios.h:295:7: note: candidate: std::basic_ostream<_CharT, _Traits>* std::basic_ios<_CharT, _Traits>::tie() const [with _CharT = char; _Traits = std::char_traits<char>]
tie() const
^~~
/usr/include/c++/6/bits/basic_ios.h:295:7: note: candidate expects 0 arguments, 1 provided
/usr/include/c++/6/bits/basic_ios.h:307:7: note: candidate: std::basic_ostream<_CharT, _Traits>* std::basic_ios<_CharT, _Traits>::tie(std::basic_ostream<_CharT, _Traits>*) [with _CharT = char; _Traits = std::char_traits<char>]
tie(basic_ostream<_CharT, _Traits>* __tiestr)
^~~
/usr/include/c++/6/bits/basic_ios.h:307:7: note: no known conversion for argument 1 from 'bool' to 'std::basic_ostream<char>*'