Boost logo

Proto :

Subject: Re: [proto] Funky exercie: subset of Boost::parameters using proto
From: Daniel Oberhoff (daniel.oberhoff_at_[hidden])
Date: 2010-08-16 17:30:35


been following this. I wonder if you guys shouldn't start talking to compiler creators, specifically modern open source ones such as the clang folks, about optimizing compile times and erro messages of proto-style code. on the side of error messages i was wondering if it would be possible to teach the compiler specific error messages such as are possible in perocompiler land with the error macro. I myself had started working on a numeric library like blitz for kicks a few months ago, using proto, and was suprised that it actually worked :). I am still dreaming of a numeric library with a blitz like interface that dispatches automatically (with both static and dynamic dispatch as appropriate) to serial, sse, openmp-style, and cuda code.


Am 16.08.2010 um 23:20 schrieb Eric Niebler:

> 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
> _______________________________________________
> proto mailing list
> proto_at_[hidden]

Proto list run by eric at