Opened 14 years ago

Closed 12 years ago

#2235 closed Feature Requests (wontfix)

tuple_list_of for std::tr1::tuple

Reported by: markus_werle Owned by: Thorsten Ottosen
Milestone: Boost 1.36.0 Component: assign
Version: Boost 1.36.0 Severity: Not Applicable
Keywords: Cc:

Description

Hi!

Boost.Assign has tuple_list_of which allows easy assignment to e.g. std::list<boost::tuple>, but a tr1 complement is missing.

In a PerfectWorld(TM) tuple_list_of would work for both, but I am unsure, whether a conversion operator boost::tuple<..>::operator tr1::tuple would help here.

For a first shot "tr1tuple_list_of" would suffice. A demo implementation is attached

Markus

Attachments (1)

tr1_tuple_list_of.hpp (1.9 KB ) - added by markus_werle 14 years ago.
compilable tr1_tuple_list_of implementation sketch

Download all attachments as: .zip

Change History (2)

by markus_werle, 14 years ago

Attachment: tr1_tuple_list_of.hpp added

compilable tr1_tuple_list_of implementation sketch

comment:1 by Thorsten Ottosen, 12 years ago

Resolution: wontfix
Status: newclosed

I'll need a complete tested patch for this.

Note: See TracTickets for help on using tickets.