This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: compile or not compile
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)