Andre Poenitz <[EMAIL PROTECTED]> writes:

| I am fine with this in this particular case, but not with the underlying
| principle ("out parameters are bad") for the usual reasons: losing the
| ability to forward-declare the parameter (which does not apply here)

You do?

An example please.

this is mine:

--------------
#include <utility>

class tull;
std::pair<tull, tull> ReturnVar();

class tull {};

int main() {
        std::pair<tull, tull> ptt = ReturnVar();
}

std::pair<tull, tull> ReturnVar() {
        return std::make_pair(tull(), tull());
}
---------------


| and
| possibly additional #includes (which does not apply here either).

I still don't get it.

My view is that "out parameters are bad" in general, but there might
be specific cases where they are useful.

>> FYI: tuples will be in TC1
>
| 'will be'? I thought TC1 is 'done'?

I think they are putting together the last pieces.

-- 
        Lgb

Reply via email to