Detect typedef in class

Hello, is there some way to detect if a class has an typedef with boost 1.34.1? I want to detect typedef T value_type; in a class... Thanks Hansjörg

On Thu, Feb 25, 2010 at 4:52 PM, Hansjoerg
Hello,
is there some way to detect if a class has an typedef with boost 1.34.1? I want to detect typedef T value_type; in a class...
Thanks Hansjörg
Take a look at has_xxx at http://www.boost.org/doc/libs/1_34_0/libs/mpl/doc/refmanual/has-xxx-trait-de... With kind regards, Ovanes

AMDG Hansjoerg wrote:
is there some way to detect if a class has an typedef with boost 1.34.1? I want to detect typedef T value_type; in a class...
http://www.boost.org/libs/mpl/doc/refmanual/has-xxx-trait-def.html In Christ, Steven Watanabe
participants (3)
-
Hansjoerg
-
Ovanes Markarian
-
Steven Watanabe