Boost.uBlas 1.49
Linear Algebra in C++: matrices, vectors and numeric algorithms

boost::numeric::ublas::promote_traits< X, Y > Struct Template Reference

#include <traits.hpp>

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

List of all members.

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 const std::size_t index = (size / sizeof (char)) - 1
static const std::size_t size
static base_type::x_type x
static base_type::y_type y

Detailed Description

template<class X, class Y>
struct boost::numeric::ublas::promote_traits< X, Y >

Definition at line 51 of file traits.hpp.


Member Typedef Documentation

Definition at line 52 of file traits.hpp.

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

Definition at line 64 of file traits.hpp.

template<class X, class Y>
typedef id::type boost::numeric::ublas::promote_traits< X, Y >::promote_type

Definition at line 65 of file traits.hpp.


Member Data Documentation

template<class X, class Y>
base_type::x_type boost::numeric::ublas::promote_traits< X, Y >::x [static]

Definition at line 53 of file traits.hpp.

template<class X, class Y>
base_type::y_type boost::numeric::ublas::promote_traits< X, Y >::y [static]

Definition at line 54 of file traits.hpp.

template<class X, class Y>
const std::size_t boost::numeric::ublas::promote_traits< X, Y >::size [static]
Initial value:
 sizeof (
                type_deduction_detail::test<
                    typename base_type::x_type
                  , typename base_type::y_type
                >(x + y)     
            )

Definition at line 55 of file traits.hpp.

template<class X, class Y>
const std::size_t boost::numeric::ublas::promote_traits< X, Y >::index = (size / sizeof (char)) - 1 [static]

Definition at line 62 of file traits.hpp.


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