|
Boost : |
From: John Maddock (John_Maddock_at_[hidden])
Date: 2002-02-22 07:30:30
>Is this a good idea? Shouldn't we return true for all references? The
reason
>to ask whether a type has a trivial destructor (it seems to me) is to
decide
>when you can skip calling it, or more importantly, when you can avoid
>destroying an array since that's less likely to optimize away. At the very
>least, this behavior should be documented.
No idea, but is it even relevent? Can you new a reference type, I don't
think so...
- John Maddock
http://ourworld.compuserve.com/homepages/john_maddock/
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk