|
Boost : |
From: Thorsten Ottosen (nesotto_at_[hidden])
Date: 2005-09-14 11:42:16
David Abrahams <dave <at> boost-consulting.com> writes:
>
> Thorsten Ottosen <nesotto <at> cs.aau.dk> writes:
> > The reference docs state exactly what the functions returns.
>
> Yes, but the presentation is unprecedented. It's also a bit
> confusing, because until you understand how to read the tables, each
> function appears to have multiple return values.
then what about the following:
Returns:
x.first if x is an std::pair
x if x is an array
range_begin(x) if range_begin() can be found by ADL
x.begin() otherwise
?
Thorsten
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk