ternary< D, S1, S2, S3, fun > Struct Template Reference

#include <memoize.hpp>

List of all members.

Public Types

Static Public Member Functions

Static Public Attributes


Detailed Description

template<typename V>
template<typename D, typename S1, typename S2, typename S3, D(*)(const S1 &, const S2 &, const S3 &) fun>
struct mmx::memoizer< V >::ternary< D, S1, S2, S3, fun >

Definition at line 91 of file memoize.hpp.


Member Typedef Documentation

typedef D(* fun_type)(const S1 &, const S2 &, const S3 &)

Definition at line 93 of file memoize.hpp.


Member Function Documentation

static void end (  )  [inline, static]

Definition at line 95 of file memoize.hpp.

00095                        {
00096       busy= false;
00097       t= table<D,triple<S1,S2,S3>,table_variant> (); }

static void start (  )  [inline, static]

Definition at line 98 of file memoize.hpp.

References memoizer< V >::end(), and memoizer< V >::to_clean.

00098                                 {
00099       if (!busy) {
00100         busy= true;
00101         to_clean= cons<cleaner> (end, to_clean); } }


Member Data Documentation

bool busy = false [inline, static]

Definition at line 92 of file memoize.hpp.

table< D, triple< S1, S2, S3 >, typename V::table_variant > t [inline, static]
Initial value:
  table<D,triple<S1,S2,S3>,typename V::table_variant> ()

Definition at line 94 of file memoize.hpp.


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

Generated on 6 Dec 2012 for basix by  doxygen 1.6.1