Opened 10 years ago

Last modified 49 years ago

#2960 new Bugs

Composing argument pack formed with positional arguments, using the comma operator

Reported by: e_r Owned by: Daniel Wallin
Milestone: To Be Determined Component: parameter
Version: Boost 1.37.0 Severity: Problem
Keywords: Cc:


Due to a bug (or perhaps my misusage), I am unable to compose two argument packs, each formed using positional arguments, using the comma operator.

news://$tpq$ Compiler : i686-apple-darwin9-gcc-4.0.1

BOOST_PARAMETER_KEYWORD(tag, x) BOOST_PARAMETER_KEYWORD(tag, y) template<class ArgumentPack?> void f(ArgumentPack? const & args){

double x_val = args[x]; double y_val = args[y];


typedef boost::parameter::parameters<



typedef boost::parameter::parameters<



double x_val = 9.0; double y_val = 0.1; spec_x_t spec_x; spec_y_t spec_y; f(

( spec_x(x_val),spec_y(y_val))

); no match operator[<unnamed>::x]

Change History (0)

Note: See TracTickets for help on using tickets.