compile or not compile

llewelly@xmission.com llewelly@xmission.com
Fri Jul 2 20:31:00 GMT 2004


Eljay Love-Jensen <eljay@adobe.com> writes:

> Hi,
> 
> A POD-struct is a UDT, not a POD.
> 
> In the examples, f, f2 and cmp<int> are UDT.  (With foo, foo2, and c
> being instances thereof.)

Yes, I should have said foo, foo2, and c were 'of UDT', not
    'UDT'. Your earlier statement:

> For POD, ALWAYS pass-by-value and never pass-by-constant-reference.
> For UDT, ALWAYS pass-by-constant-reference and never pass-by-value.

led me to believe you wouldn't object to mixing object terminology
    with type terminology. :-)

(now that we are wholly off-topic)



More information about the Gcc-help mailing list