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.

00038 : x1 (0), x2 (0) {}

twin ( const T x  )  [inline]

Definition at line 39 of file twin.hpp.

00039                                                :
00040     //x1 (x), x2 (x) {}
00041     x1 (as<C> (x)), x2 (as<D> (x)) {}
  template<typename T, typename U> inline twin (const T& y1, const U& y2):

twin ( const T y1,
const U &  y2 
) [inline]

Definition at line 42 of file twin.hpp.

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

twin ( const int &  x  )  [inline]

Definition at line 45 of file twin.hpp.

00045                             :
00046     x1 (x), x2 (x) {}
  template<typename T> inline twin (const T& y1, const int& y2):

twin ( const T y1,
const int &  y2 
) [inline]

Definition at line 47 of file twin.hpp.

00047                                                                :
00048     x1 (as<C> (y1)), x2 (y2) {}
  template<typename W> inline twin (const twin<C,V,W>& x):

twin ( const twin< C, V, W > &  x  )  [inline]

Definition at line 49 of file twin.hpp.

00049                                                          :
00050     x1 (car (x)), x2 (cdr (x)) {}
  friend C car LESSGTR (const Twin& x);


Friends And Related Function Documentation

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]
C car LESSGTR ( const twin< C, D, V > &  x  )  [friend]

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

Generated on 6 Dec 2012 for numerix by  doxygen 1.6.1