Subject: Re: [Boost-users] detect if a type has a size_t member
From: Mathias Gaunard (mathias.gaunard_at_[hidden])
Date: 2009-07-29 10:48:03


Hicham Mouline wrote:

> Nevertheless, I still couldn't figure out how to detect the static const
> size_t member.
>
> Which version to use?

No version allows this at the moment.
You may, however, try to simply duplicate HAS_STATIC_MEMBER (or whatever
it's called), change &X::Name to X::Name, and Type* to Type.