Boost.Hana: boost/hana/fwd/duplicate.hpp File Reference

| Boost.Hana 1.0.0 Your standard library for metaprogramming |

Namespaces | Variables
duplicate.hpp File Reference

Forward declares `boost::hana::duplicate`. More...

## Namespaces

| boost
| boost::hana
| Namespace containing everything in the library.

## Variables

constexpr auto | boost::hana::duplicate

Add an extra layer of comonadic context to a comonadic value.Given a value already in a comonadic context, `duplicate` wraps this value with an additional layer of comonadic context. This can be seen as the dual operation to `flatten` from the Monad concept. More...

## Detailed Description

Forward declares `boost::hana::duplicate`.

Copyright
  Louis Dionne 2013-2016 Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt)