Boost logo

Boost :

From: David Abrahams (dave_at_[hidden])
Date: 2007-06-15 14:24:27


on Fri Jun 15 2007, David Abrahams <dave-AT-boost-consulting.com> wrote:

>> Yep, the problem occurs when:
>>
>> typedef typename boost::parameter::binding<
>> args, tag::domain_error_name,
>> domain_error<BOOST_MATH_DOMAIN_ERROR_POLICY> >::type
>> domain_error_type;
>>
>> is instantiated, and there are a large number of deduced parameters.
>
> Do you *have* to use binding<>? There is almost always a better way,
> and binding<> is usually more expensive than the alternatives. Maybe
> you could show me the context.

Oh, I see your example; it's a class template so of course you have no
choice but to use binding<> :(. I'll give this a look, but I can't
promise positive results. EDG's template instantiation is pig-slow.

-- 
Dave Abrahams
Boost Consulting
http://www.boost-consulting.com
The Astoria Seminar ==> http://www.astoriaseminar.com

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk