Boost logo

Boost :

From: Thorsten Ottosen (nesotto_at_[hidden])
Date: 2005-03-21 16:22:56


"David Abrahams" <dave_at_[hidden]> wrote in message
news:uwts0aeew.fsf_at_boost-consulting.com...
| "Thorsten Ottosen" <nesotto_at_[hidden]> writes:

| > I should update the docs to make this a more used method of disambiguation
|
| In the spirit of recent work by Eric Niebler, I think you can use:
|
| v = 0?v: list_of(...)
|
| FWIW ;-)

that is neat too, but still not optimal. How portable would
SFINAE work with is_container<T>::value based on
detecting member functions begin,end,size,empty ?

-Thorsten


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk