template <class Value>
struct do_return
// unspecified
;
Template expression that can be used inside a do_ block. do_return evaluates return_<MonadTag, Value> using the MonadTag of the do block containing do_return.
#include <mpllibs/metamonad/do.hpp>
using boost::mpl::int_;
using namespace mpllibs::metamonad::name;
do_<exception_tag>::apply<
do_return<int_<13>>
>
Copyright Abel Sinkovics (abel at elte dot hu) 2011. Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt