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

| Boost.Hana 1.0.0 Your standard library for metaprogramming |

Namespaces | Variables
replicate.hpp File Reference

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

## Namespaces

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

## Variables

template<typename M >
constexpr auto | boost::hana::replicate

Create a monadic structure by combining a lifted value with itself `n` times.Given a value `x`, a non-negative `IntegralConstant` `n` and the tag of a monadic structure `M`, `replicate` creates a new monadic structure which is the result of combining `x` with itself `n` times inside the monadic structure. In other words, `replicate` simply `lift`s `x` into the monadic structure, and then combines that with itself `n` times: More...

## Detailed Description

Forward declares `boost::hana::replicate`.

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)