$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
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