with_rounding< C, Mode > Struct Template Reference

#include <type_props.hpp>

List of all members.

Public Types

Public Member Functions

Public Attributes


Detailed Description

template<typename C, mmx_rounding Mode>
struct mmx::with_rounding< C, Mode >

Definition at line 1053 of file type_props.hpp.


Member Typedef Documentation

typedef rounding_helper<C> H

Definition at line 1054 of file type_props.hpp.

Definition at line 1055 of file type_props.hpp.


Constructor & Destructor Documentation

with_rounding (  )  [inline]

Definition at line 1057 of file type_props.hpp.

01057                           {
01058     old= H::get_rounding ();
01059     H::set_rounding (H::template translate<Mode>::val); }

~with_rounding (  )  [inline]

Definition at line 1060 of file type_props.hpp.

01060                            {
01061     H::set_rounding (old); }


Member Data Documentation

R old

Definition at line 1056 of file type_props.hpp.


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

Generated on 6 Dec 2012 for basix by  doxygen 1.6.1