Boost logo

Boost :

From: David Abrahams (abrahams_at_[hidden])
Date: 2000-12-21 13:03:37


I dont' see this as similar.

remove_const_reference == remove_const<remove_reference<T>::type>::type,
right? If we go that way, why not remove_reference_to_const_pointer<T> and a
whole host of other such chains?

The point of remove_pointer is that it is an "eigenvector" in the type
deduction space.

-Dave
----- Original Message -----
From: "Jeremy Siek" <jsiek_at_[hidden]>
To: <boost_at_[hidden]>
Sent: Thursday, December 21, 2000 12:27 PM
Subject: Re: [boost] type_traits: remove_pointer?

>
> and how about remove_const_reference too?
>
> On Thu, 21 Dec 2000, David Abrahams wrote:
>
> abraha> I notice there is a remove_reference<T> but no remove_pointer<T>
in
> abraha> type_traits. Oversight? Rationale?
> abraha>
> abraha> TIA,
> abraha> Dave
> abraha>
> abraha>
> abraha>
> abraha>
> abraha>
>
> ----------------------------------------------------------------------
> Jeremy Siek www: http://www.lsc.nd.edu/~jsiek/
> Ph.D. Candidate email: jsiek_at_[hidden]
> Univ. of Notre Dame work phone: (219) 631-3906
> ----------------------------------------------------------------------
>
>
>
>
>


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