template <class M>
struct writer_tag
{
// unspecified
};
This tag represents the Writer monad. M
represents the tag of the state. monoid
<M>
is expected to be defined.
#include <mpllibs/metamonad/writer_tag.hpp>
The following are equivalent
tag_tag
writer_tag::tag
writer_tag
writer_tag::type
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