www.digitalmars.com         C & C++   DMDScript  

c++.stlsoft - listview_inserter update

reply "Pablo Aguilar" <paguilarg hotmail.com> writes:
I was trying to use listview_inserter with a map<string,string>, and thought
it might be a good idea to extend the inserter to support something like:

operator()(<something like boost's tuple, only with strings>)

or at least

operator()(pair<string,string>)

and it would insert both the item and subitem 1

what do you think?
Apr 06 2004
parent "Matthew" <matthew stlsoft.org> writes:
I'll give it some thought. I'm not sure it's as simple as it sounds ...

"Pablo Aguilar" <paguilarg hotmail.com> wrote in message
news:c4vhj3$ont$1 digitaldaemon.com...
 I was trying to use listview_inserter with a map<string,string>, and
thought
 it might be a good idea to extend the inserter to support something like:

 operator()(<something like boost's tuple, only with strings>)

 or at least

 operator()(pair<string,string>)

 and it would insert both the item and subitem 1

 what do you think?
Apr 11 2004