|
Boost Users : |
Subject: Re: [Boost-users] Detect typedef in class
From: Ovanes Markarian (om_boost_at_[hidden])
Date: 2010-02-25 11:07:15
On Thu, Feb 25, 2010 at 4:52 PM, Hansjoerg <hansipet_at_[hidden]> wrote:
> 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-def.html
With kind regards,
Ovanes
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net