|
From: Nathan S. <cat...@do...> - 2003-07-06 03:11:42
|
Yes the ':' operator in this instance just defines the initialization lis=
t.
Init lists can be used on any form of constructor to my knowledge, not ju=
st
for composed classes. Hence, they can be used to initialize data members =
of
that object.
Nathan.
----- Original Message -----
From: "Juliano P=E1vel Brasil Cust=F3dio" <jp...@bo...>
To: <dev...@li...>
Sent: Sunday, July 06, 2003 5:34 AM
Subject: [Dev-C++] Re: ":" Operator
Never mind... I've found it on the net. It can be also used to
initialize contained objetcts of a class... Is that right?
|