ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> boost
boost
is_class
by Peter Dimov other posts by this author
Mar 18 2002 1:20PM messages near this date
Re: [boost] Lambda library - comparison with FACT and other solutions? | Threads: New version of barrier uploaded to files section
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.

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved