46#ifndef LIB_META_FUNCTION_ERASURE_H
47#define LIB_META_FUNCTION_ERASURE_H
83 template<
typename FUN>
117 template<
typename SIG>
122 template<
typename SIG>
127 template<
typename SIG>
146 template<
typename SIG>
151 template<
typename SIG>
156 template<
typename SIG>
177 template<
typename SIG>
180 funP_ =
reinterpret_cast<void*
> (&fun);
182 template<
typename SIG>
185 funP_ =
reinterpret_cast<void*
> (fun);
188 template<
typename SIG>
192 return *
reinterpret_cast<SIG*
> (
funP_);
Inline buffer to hold and own an object while concealing the concrete type.
Lumiera error handling (C++ interface).
Implementation namespace for support and library code.
OBJ * unConst(const OBJ *)
shortcut to save some typing when having to define const and non-const variants of member functions
Helper allowing type erasure while holding the actual object inline.
Tiny helper functions and shortcuts to be used everywhere Consider this header to be effectively incl...