Skip to content

Class fn_return_constant

class fn_return_constant<T, value> meta

template <typename T, T value>
struct fn_return_constant { … }

Functor returning a fixed constant of type T , ignoring all arguments.

Template parameters
T type of the constant
value the constant value

function operator()(Args &&...)

template <typename... Args>
constexpr T operator()(Args&&...) const noexcept { … }

Returns the wrapped constant

Fully qualified name: kfr::fn_return_constant<T, value>::operator()(Args &&...)

Declared at meta.hpp:1133

Fully qualified name: kfr::fn_return_constant<T, value>

Declared at meta.hpp:1129

This file was generated by cxxdox, a C++ documentation generator based on MkDocs Material and libclang.