$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: John Maddock (john_at_[hidden])
Date: 2007-01-22 05:21:30
me22 wrote:
> 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?
Well it does get detected as dereferencable. Whether it should is open to
debate I guess, but it's certainly "pointer like".
John.