$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
From: Agoston Bejo (gusz1_at_[hidden])
Date: 2004-06-06 09:41:13
Hi,
I have took a look at some parts of the boost library, but I couldn't find
what I want, and
that is something like this: How can I determine if a type T has such and
such member? It
would look like something like this:
has_member<T, paint>::result (true if T::paint() exists)
has_member<T, m_size>::result (true if T::m_size exists)
The closest to this I could find is boost::type_traits but that does not
provide this
functionality.
Thx,
Gus