Boost logo

Boost :

From: David Abrahams (david.abrahams_at_[hidden])
Date: 2002-06-22 17:23:08

From: "William Kempf" <williamkempf_at_[hidden]>

> Another option is to provide a standalone templated get_raw_ptr() method
> that's specialized to just return the pointer if it's not a smart pointer
> and return get() otherwise. Then anywhere in your implementation where
> call p.get() you instead call get_raw_ptr(p).

Do you mean get_pointer()?


It's already specialized for all our smart pointers AFAIK, but also AFAIK
there's no documentation to that effect :(


Boost list run by bdawes at, gregod at, cpdaniel at, john at