Thorsten Ottosen wrote:
Ryan McConnehey skrev:
Thorsten Ottosen wrote:
Yes, the upcomming revision will fix this somehow without breaking exisiting code. no. If not 1.44, any idea what release it would appear?
If you look at the definition of list_of(), then you can easily add your own version that does what you want.
namespace assign { //Current implementation template< class T > inline assign_detail::generic_list<T> list_of() { return assign_detail::generic_list<T>()( T() ); } } Just put this version of list_of in my own namespace? Or is there a way to add this to the assign namespace? template< class T > inline assign_detail::generic_list<T> list_of() { return assign_detail::generic_list<T>()(); } Ryan