Boost logo

Boost :

From: John Maddock (john_at_[hidden])
Date: 2007-01-21 05:57:05


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.

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

John.




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