Boost logo

Proto :

Subject: Re: [proto] Funky exercie: subset of Boost::parameters using proto
From: Eric Niebler (eric_at_[hidden])
Date: 2010-08-16 17:20:25


On 8/16/2010 4:54 PM, joel falcou wrote:
> Got some error trying to compile this vs boost :: trunk
>
> joel_at_dell-desktop:~/Desktop$ time g++-4.3 -O3 -c options.cpp -I./
> -I/usr/local/include/boost-trunk
> options.cpp: In member function ‘typename
> boost::option_expr<Expr>::result<const boost::option_expr<Expr>
> ()(Option, Default)>::type boost::option_expr<Expr>::operator()(const
> Option&, const Default&) const’:
> options.cpp:103: error: wrong number of template arguments (3, should be 2)

For those following along at home, there's a stray comma on line 103.
Delete it and all it fine.

-- 
Eric Niebler
BoostPro Computing
http://www.boostpro.com

Proto list run by eric at boostpro.com