
22 Jan
2007
22 Jan
'07
10:21 a.m.
me22 wrote:
On 1/21/07, John Maddock <john@johnmaddock.co.uk> 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?
Well it does get detected as dereferencable. Whether it should is open to debate I guess, but it's certainly "pointer like". John.