Boost logo

Boost :

From: me22 (me22.ca_at_[hidden])
Date: 2007-01-21 12:34:02


On 1/21/07, John Maddock <john_at_[hidden]> wrote:
> Following requests for a way to detect smart pointers, I've attached below a
> small trait that detects whether a type can be dereferenced or not.
>
Should an optional count as a pointer?

Or by detecting a smart pointer do people just mean that it models
http://boost.org/libs/utility/OptionalPointee.html ?

> At present I can't see any downside to this? Anyone spot any potential
> flaws?
>


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