incubator-stdcxx-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Scott Zhong" <sco...@roguewave.com>
Subject ostream
Date Tue, 25 Jul 2006 16:58:14 GMT
Hi Martin,

 

     I'm trying to understand ostream, where is the basic_ostream&
operator<< (short); (ostream, line 143) and basic_ostream& operator<<
(int); (ostream, line 149) function implemented? The closest match is:

Ostream, line 145: 

    basic_ostream& operator<< (unsigned short __val) {

        return *this << _RWSTD_STATIC_CAST (unsigned long, __val);

    }

And

Ostream, line 151:

    basic_ostream& operator<< (unsigned int __val) {

        return *this << _RWSTD_STATIC_CAST (unsigned long, __val);

    }

 

Thank you,

 

Yu (Scott) Zhong

Consulting Engineer

Rogue Wave Software, a Quovadxtm division

scottz@roguewave.com

ph: 303 545 3182

 


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message