"[EMAIL PROTECTED]" <[EMAIL PROTECTED]> writes: > I'm wondering where the definitions of the functions in <iostream> > are in GCC. I can not find them in GCC source code. Could you help > me? > > int i > std::istream is; > is >> i; // For example, I want the definition of this function (>>).
Side note: the class template basic_istream, of which this operator is a member, isn't declared in <iostream>, but in <istream>. On my Linux box, its implementation is in /usr/include/c++/4.1.2/bits/istream.tcc, starting at line 187: template<typename _CharT, typename _Traits> basic_istream<_CharT, _Traits>& basic_istream<_CharT, _Traits>:: operator>>(int& __n) etc. _______________________________________________ help-gplusplus mailing list help-gplusplus@gnu.org http://lists.gnu.org/mailman/listinfo/help-gplusplus