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 for the latest Boost documentation.
PrevUpHomeNext

Struct template make_system

boost::units::make_system

Synopsis

// In header: <boost/units/make_system.hpp>

template<typename BaseUnit0, typename BaseUnit1, typename BaseUnit2, ... , 
         typename BaseUnitN> 
struct make_system {
  // types
  typedef unspecified type;
};

Description

Metafunction returning a homogeneous system that can represent any combination of the base units. There must be no way to represent any of the base units in terms of the others. make_system<foot_base_unit, meter_base_unit>::type is not allowed, for example.


PrevUpHomeNext