Boost logo

Boost :

From: Daniel Frey (daniel.frey_at_[hidden])
Date: 2001-01-12 06:05:03


"Moore, Paul" wrote:
>
> > Lastly, there is a question of efficiency. The 'assign'
> > member function and two of the constructors take arguments
> > of type IntType. For use with user-defined integer types
> > it would be better to have arguments of type const IntType&.
> > Perhaps the choice between IntType and const IntType& should
> > be made to depend upon the type (using boost::is_standard_integral,
> > for example).
>
> Urk. This is all that fancy stuff that Howard and John have been having so
> much fun with. Isn't there some sort of
> boost::most_efficient_way_of_passing_a_parameter<T> that does what I want?

Uhm... wasn't this spelled boost::call_traits<T>::param_type? Else I
misunderstood the reason for call_traits<>::param_type completely... :-/

Regards, Daniel

--
Daniel Frey               wir machen anleger
aixigo AG - financial research and education
Schloß-Rahe-Straße 15, 52072 Aachen, Germany
phone: +49 (0)241 93 67 37 - 42    fax: - 99
daniel.frey_at_[hidden]   http://www.aixigo.de

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