
21 Jan
2007
21 Jan
'07
10:57 a.m.
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.