Boost logo

Boost :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2002-03-18 08:20:35


This post

http://groups.google.com/groups?selm=000001c1cc83%24e154d5e0%247772e50c%40c1
61550a

contains a clever is_class<> implementation based on the fact that void T::*
is only valid when T is a class.

The thread contains another gem, has_key_type<T>::value which is true only
when T has a nested type named key_type.

--
Peter Dimov
Multi Media Ltd.

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