Boost logo

Boost :

From: David B. Held (dheld_at_[hidden])
Date: 2004-07-06 10:37:27


"Howard Hinnant" <hinnant_at_[hidden]> wrote in message
news:D131A1F4-CEE6-11D8-ACE3-003065D18932_at_twcny.rr.com...
> [...]
> I initially viewed call_traits as a way to optimize whether a type
> should be passed by const ref or by value. But I was mistaken.
> The real value was in passing/returning reference types without
> bumping into the reference-to-reference problem.

So are you saying that call_traits is *not* useful for said
optimization? If so, why not?

Dave

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.710 / Virus Database: 466 - Release Date: 6/23/2004

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