Opened 11 years ago

#6818 new Feature Requests

Tuple subscripting

Reported by: d.starosud@… Owned by: Joel de Guzman
Milestone: To Be Determined Component: tuple
Version: Boost Development Trunk Severity: Not Applicable
Keywords: Cc: d.starosud@…

Description

There is a way to put off ugly get<N>(tpl) and replace it by tpl[N_t] using templated-user-defined literals. It would be great to add this feature into corresponding library. In attached file you could find implementation of it.

Attachments (2)

tuple_subscript.h (1006 bytes ) - added by d.starosud@… 11 years ago.
main.cpp (175 bytes ) - added by d.starosud@… 11 years ago.

Download all attachments as: .zip

Change History (2)

by d.starosud@…, 11 years ago

Attachment: tuple_subscript.h added

by d.starosud@…, 11 years ago

Attachment: main.cpp added
Note: See TracTickets for help on using tickets.