Opened 14 years ago

Closed 12 years ago

#2479 closed Feature Requests (fixed)

Object construction

Reported by: Dave Abrahams Owned by: Joel de Guzman
Milestone: Boost 1.38.0 Component: fusion
Version: Boost 1.36.0 Severity: Optimization
Keywords: Cc:

Description

In addition to the function invocation functions provided, I'd really like to see an object factory where:

construct<X>(some_tuple)

returns an X constructed with the arguments supplied by some_tuple.

Change History (1)

comment:1 by Steven Watanabe, 12 years ago

Resolution: fixed
Status: newclosed

Use boost::value_factory with fusion::invoke (There's even a link in the docs for invoke).

Note: See TracTickets for help on using tickets.