Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
boost::numeric::ublas::promote_traits< X, Y > Struct Template Reference

#include <traits.hpp>

Inheritance diagram for boost::numeric::ublas::promote_traits< X, Y >:

Public Types

typedef
type_deduction_detail::base_result_of
< X, Y > 
base_type
 
typedef mpl::at_c< typename
base_type::types, index >
::type 
id
 
typedef id::type promote_type
 

Static Public Attributes

static base_type::x_type x
 
static base_type::y_type y
 
static const std::size_t size
 
static const std::size_t index = (size / sizeof (char)) - 1
 

Member Typedef Documentation

template<class X, class Y>
typedef type_deduction_detail::base_result_of<X, Y> boost::numeric::ublas::promote_traits< X, Y >::base_type
template<class X, class Y>
typedef mpl::at_c< typename base_type::types, index>::type boost::numeric::ublas::promote_traits< X, Y >::id
template<class X, class Y>
typedef id::type boost::numeric::ublas::promote_traits< X, Y >::promote_type

Member Data Documentation

template<class X, class Y>
const std::size_t boost::numeric::ublas::promote_traits< X, Y >::index = (size / sizeof (char)) - 1
static
template<class X, class Y>
const std::size_t boost::numeric::ublas::promote_traits< X, Y >::size
static
Initial value:
= sizeof (
typename base_type::x_type
, typename base_type::y_type
>(x + y)
)
template<class X, class Y>
base_type::x_type boost::numeric::ublas::promote_traits< X, Y >::x
static
template<class X, class Y>
base_type::y_type boost::numeric::ublas::promote_traits< X, Y >::y
static

The documentation for this struct was generated from the following file: