Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is the documentation for an old version of Boost. Click here to view this page for the latest version.
PrevUpHomeNext

Struct template domain_of

boost::proto::domain_of

Synopsis

// In header: <boost/proto/domain.hpp>

template<typename T> 
struct domain_of {
  // types
  typedef domain-of-T type;
};

Description

A metafunction that returns the domain of a given type. If T is a Proto expression type, it returns that expression's associated domain. If not, it returns proto::default_domain.


PrevUpHomeNext