funcy  1.6.1
Public Member Functions | List of all members
funcy::Constant< Type > Struct Template Reference

Wrap a constant. More...

#include <constant.h>

Public Member Functions

constexpr Constant (Type &&t_) noexcept(std::is_nothrow_move_constructible_v< Type >)
 
constexpr Constant (const Type &t_) noexcept(std::is_nothrow_copy_constructible_v< Type >)
 
constexpr const Type & operator() () const noexcept
 Function value.
 

Detailed Description

template<class Type>
struct funcy::Constant< Type >

Wrap a constant.


The documentation for this struct was generated from the following file: