Boost logo

Boost :

From: yahoo_at_[hidden]
Date: 2001-02-18 08:48:30


--- In boost_at_y..., fredrik.blomqvist_at_p... wrote:
> Hi!
>
> I have noticed that the call_traits<>::const_reference translates to
> const& even for 'small built-in types' I was wondering if it
wouldn't
> be "better" i.e more efficient to let it translate to const by-value
> for these types instead?

Isn't this optimisation boost::call_traits<>::param_type policy?

Bernard


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