Boost.Hana  1.1.0
Your standard library for metaprogramming
replicate.hpp File Reference

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


 Namespace containing everything in the library.


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 lifts x into the monadic structure, and then combines that with itself n times: More...

Detailed Description

Forward declares boost::hana::replicate.