Boost logo

Boost Users :

Subject: Re: [Boost-users] detect if a type has a size_t member
From: joel (joel.falcou_at_[hidden])
Date: 2009-07-03 14:03:34


Hicham Mouline wrote:
> Can I put the macro inside the struct S ? I guess not. I'd write:
> HAS_STATIC_MEMBER_NAMED(T, value)
>
> which would return a integral bool or a bool type
it works liek BOOST_MPL_HAS_XXXX so put it where you want to define
a boolean meta-function. It supports ::value and ::type return mpl boolean.

-- 
___________________________________________
Joel Falcou - Assistant Professor
PARALL Team - LRI - Universite Paris Sud XI
Tel : (+33)1 69 15 66 35

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