...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
boost::proto::is_domain
// In header: <boost/proto/domain.hpp>
template<typename T>
struct is_domain : mpl::bool_< true-or-false
> {
};
A metafunction that returns mpl::true_
if the type
T
is the type of a Proto domain;
mpl::false_
otherwise. If T
inherits from proto::domain<>
,
is_domain<T>
is mpl::true_
.