basix_doc 0.1
memoizer< V >::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.

static void start ( ) [inline, static]

Definition at line 98 of file memoize.hpp.

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

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

Member Data Documentation

bool busy = false [static]

Definition at line 92 of file memoize.hpp.

table< D, triple< S1, S2, S3 >, typename V::table_variant > t [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:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines