
21 Mar
2005
21 Mar
'05
9:22 p.m.
"David Abrahams" <dave@boost-consulting.com> wrote in message news:uwts0aeew.fsf@boost-consulting.com... | "Thorsten Ottosen" <nesotto@cs.auc.dk> 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