|
Boost : |
From: John Maddock (john_at_[hidden])
Date: 2005-03-29 11:58:30
> Sorry, I actually need param_type. Reference indeed is just
> add_[const_]reference.
>
> Any idea in this direction?
You mean:
template <class T>
struct add_const_reference
{
private:
typedef typename remove_reference<T>::type nref_t;
typedef typename add_const<nref_t>::type ct;
public:
typedef typename add_reference<ct>::type type;
};
???
John.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk