This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Overloading the I/O-operators << and >>


Hello

I have the following question about the I/O-operators << and
>>:

How can I overload this operators for user-defined types? I
don't understand enough of the gcc-implementation of the
standard library.

Thank you for answering!!

Aaron
begin:vcard 
n:Schawalder;Aaron
tel;work:student
x-mozilla-html:FALSE
version:2.1
email;internet:mygcc@gmx.ch
title:student
adr;quoted-printable:;;Ackeretstrasse 2=0D=0A;Winterthur;;8400;Switzerland
x-mozilla-cpt:;31584
fn:Aaron Schawalder
end:vcard

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]