27 May
2014
27 May
'14
3:08 p.m.
On Tue, May 27, 2014 at 11:28 AM, Felipe Magno de Almeida
That traits is meant for users to specialize if they work with non-STL container types. It doesn't seem very appropriate for boost.traits because they can't deduce it in C++03 and in C++17 we will have concepts lite anyway.
I beg to differ. The need to identify container types (be it STL or user defined types) arises in some contexts. It would be very useful to have these in a standard boost library like traits, and not (ab)using Spirit internals for that. To me, having is_container looks interesting for boost::traits. Regards, Madera