Boost logo

Boost :

From: fredrik.blomqvist_at_[hidden]
Date: 2001-02-17 17:31:34


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?
The only reason I can think of Not to do this, is to make a const_cast
work, but as I understand the standard doesn't require a const_cast
to succeed at all?
Perhaps this could be made optionable in the config?


Boost list run by bdawes at, gregod at, cpdaniel at, john at