[Boost-bugs] [Boost C++ Libraries] #2960: Composing argument pack formed with positional arguments, using the comma operator
- Next message: Boost C++ Libraries: "[Boost-bugs] [Boost C++ Libraries] #2961: Boost 1.38.0 fails to compile on g++-4.0.2"
- Previous message: Boost C++ Libraries: "Re: [Boost-bugs] [Boost C++ Libraries] #2198: File Not Found"
- Next in thread: Boost C++ Libraries: "Re: [Boost-bugs] [Boost C++ Libraries] #2960: Composing argument pack formed with positional arguments, using the comma operator"
- Reply: Boost C++ Libraries: "Re: [Boost-bugs] [Boost C++ Libraries] #2960: Composing argument pack formed with positional arguments, using the comma operator"
- Reply: Boost C++ Libraries: "Re: [Boost-bugs] [Boost C++ Libraries] #2960: Composing argument pack formed with positional arguments, using the comma operator"
- Reply: Boost C++ Libraries: "Re: [Boost-bugs] [Boost C++ Libraries] #2960: Composing argument pack formed with positional arguments, using the comma operator"
- Reply: Boost C++ Libraries: "Re: [Boost-bugs] [Boost C++ Libraries] #2960: Composing argument pack formed with positional arguments, using the comma operator"
- Reply: Boost C++ Libraries: "Re: [Boost-bugs] [Boost C++ Libraries] #2960: Composing argument pack formed with positional arguments, using the comma operator"
- Reply: Boost C++ Libraries: "Re: [Boost-bugs] [Boost C++ Libraries] #2960: Composing argument pack formed with positional arguments, using the comma operator"
- Reply: Boost C++ Libraries: "Re: [Boost-bugs] [Boost C++ Libraries] #2960: Composing argument pack formed with positional arguments, using the comma operator"
- Reply: Boost C++ Libraries: "Re: [Boost-bugs] [Boost C++ Libraries] #2960: Composing argument pack formed with positional arguments, using the comma operator"
- Reply: Boost C++ Libraries: "Re: [Boost-bugs] [Boost C++ Libraries] #2960: Composing argument pack formed with positional arguments, using the comma operator"
#2960: Composing argument pack formed with positional arguments, using the comma
operator
------------------------------+---------------------------------------------
Reporter: e_r | Owner: danielw
Type: Bugs | Status: new
Milestone: To Be Determined | Component: parameter
Version: Boost 1.37.0 | Severity: Problem
Keywords: |
------------------------------+---------------------------------------------
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://news.gmane.org:119/grtmb9$tpq$1@ger.gmane.org
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<
parameter::required<tag::x>
> par_x_t;
typedef boost::parameter::parameters<
parameter::required<tag::y>
> par_y_t;
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]
--
Ticket URL: <https://svn.boost.org/trac/boost/ticket/2960>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.
- Next message: Boost C++ Libraries: "[Boost-bugs] [Boost C++ Libraries] #2961: Boost 1.38.0 fails to compile on g++-4.0.2"
- Previous message: Boost C++ Libraries: "Re: [Boost-bugs] [Boost C++ Libraries] #2198: File Not Found"
- Next in thread: Boost C++ Libraries: "Re: [Boost-bugs] [Boost C++ Libraries] #2960: Composing argument pack formed with positional arguments, using the comma operator"
- Reply: Boost C++ Libraries: "Re: [Boost-bugs] [Boost C++ Libraries] #2960: Composing argument pack formed with positional arguments, using the comma operator"
- Reply: Boost C++ Libraries: "Re: [Boost-bugs] [Boost C++ Libraries] #2960: Composing argument pack formed with positional arguments, using the comma operator"
- Reply: Boost C++ Libraries: "Re: [Boost-bugs] [Boost C++ Libraries] #2960: Composing argument pack formed with positional arguments, using the comma operator"
- Reply: Boost C++ Libraries: "Re: [Boost-bugs] [Boost C++ Libraries] #2960: Composing argument pack formed with positional arguments, using the comma operator"
- Reply: Boost C++ Libraries: "Re: [Boost-bugs] [Boost C++ Libraries] #2960: Composing argument pack formed with positional arguments, using the comma operator"
- Reply: Boost C++ Libraries: "Re: [Boost-bugs] [Boost C++ Libraries] #2960: Composing argument pack formed with positional arguments, using the comma operator"
- Reply: Boost C++ Libraries: "Re: [Boost-bugs] [Boost C++ Libraries] #2960: Composing argument pack formed with positional arguments, using the comma operator"
- Reply: Boost C++ Libraries: "Re: [Boost-bugs] [Boost C++ Libraries] #2960: Composing argument pack formed with positional arguments, using the comma operator"
- Reply: Boost C++ Libraries: "Re: [Boost-bugs] [Boost C++ Libraries] #2960: Composing argument pack formed with positional arguments, using the comma operator"
This archive was generated by hypermail 2.1.7
: 2017-02-16 18:50:00 UTC