Yep, but the standard doesn't mention the term's RVO and NRVO, they are
just thing's somebody made up to describe what the standard allows, and
that they're optional.
Named Return Value Optional-behaviour maybe :).
I don't know either, the last time I took an interest in such things
it was with a pre-standard compiler, but at that time Borland C++
had some rules about which UDT's it would return in registers,
1 byte, 2 byte and 4 byte structs only IIRC.
[ comp.std.c++ is moderated. To submit articles, try just posting with ]
[ your news-reader. If that fails, use mailto:firstname.lastname@example.org ]
[ --- Please see the FAQ before posting. --- ]
[ FAQ: http://www.yqcomputer.com/