numerix_doc 0.4
twin< C, D, V > Class Template Reference

#include <twin.hpp>

List of all members.

Public Member Functions

Friends


Detailed Description

template<typename C, typename D = generic, typename V = std_twin>
class mmx::twin< C, D, V >

Definition at line 32 of file twin.hpp.


Constructor & Destructor Documentation

twin ( ) [inline]

Definition at line 38 of file twin.hpp.

: x1 (0), x2 (0) {}
twin ( const T &  x) [inline]

Definition at line 39 of file twin.hpp.

                                               :
    //x1 (x), x2 (x) {}
    x1 (as<C> (x)), x2 (as<D> (x)) {}
twin ( const T &  y1,
const U &  y2 
) [inline]

Definition at line 42 of file twin.hpp.

                                                                         :
    // x1 (y1), x2 (y2) {}
    x1 (as<C> (y1)), x2 (as<D> (y2)) {}
twin ( const int &  x) [inline]

Definition at line 45 of file twin.hpp.

                            :
    x1 (x), x2 (x) {}
twin ( const T &  y1,
const int &  y2 
) [inline]

Definition at line 47 of file twin.hpp.

                                                               :
    x1 (as<C> (y1)), x2 (y2) {}
twin ( const twin< C, V, W > &  x) [inline]

Definition at line 49 of file twin.hpp.

                                                         :
    x1 (car (x)), x2 (cdr (x)) {}

Friends And Related Function Documentation

C car LESSGTR ( const twin< C, D, V > &  x) [friend]
D& cdr LESSGTR ( twin< C, D, V > &  x) [friend]
C& car LESSGTR ( twin< C, D, V > &  x) [friend]
D cdr LESSGTR ( const twin< C, D, V > &  x) [friend]

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Friends Defines