17 #ifndef VCSN_MISC_DEFERRER_HH
18 # define VCSN_MISC_DEFERRER_HH
39 enum { deferrer_runtime_checks_default =
true };
41 enum { deferrer_runtime_checks_default =
false };
42 # endif // ! VCSN_NDEBUG
46 template <
class T,
bool B>
53 void set_valid (
bool b);
55 const T& cast (
const void*)
const;
66 void set_valid (
bool b);
68 const T& cast (
const void*)
const;
95 template <
class T,
bool rt_checks = deferrer_runtime_checks_default>
98 typedef T deferred_type;
123 typedef unsigned char data_t[
sizeof (deferred_type)];
139 # if !defined VCSN_USE_INTERFACE_ONLY || defined VCSN_USE_LIB
141 # endif // VCSN_USE_INTERFACE_ONLY
143 #endif // ! VCSN_MISC_DEFERRER_HH