Boost logo

Boost :

From: joel de guzman (djowel_at_[hidden])
Date: 2001-11-26 18:13:28


----- Original Message -----
From: "David Abrahams" <david.abrahams_at_[hidden]>
To: <boost_at_[hidden]>
Sent: Tuesday, November 27, 2001 5:36 AM
Subject: Re: [boost] Submission: typelist

> Too bad we can't overload compile-time functions; then we could have
> identity<10>::value == 10 and identity<char>::type == type.
>
> Maybe value_identity is best... leading to type_identity for symmetry :-/
>

In fact I was almost going to suggest:

int_identity<N> and type_identity<T>

--Joel


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