unbox

Synopsis

template <class T>
struct unbox
{
  // unspecified
};

Description

Metafunction for unboxing boxed values.

#include <mpllibs/metamonad/unbox.hpp>

Expression semantics

For any t type

unbox<box<t>>::type

is equivalent with

t

Example

typedef unbox<box<int>>::type int_t;

[up]