Boost logo

Boost :

From: Hartmut Kaiser (hartmut.kaiser_at_[hidden])
Date: 2006-03-02 13:08:18


Hi all,

could anybody please explain to me why there is no general overload for the
boost::get_pointer() function:

template <typename T>
T* get_pointer(T& t)
{
    return &t;
}

which would catch all the non-specialized cases?

Regards Hartmut


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