nngn
Loading...
Searching...
No Matches
nngn::constant< x > Struct Template Reference

Function object which always produces the same value. More...

#include <fn.h>

Public Member Functions

constexpr auto operator() (auto &&...) const
 

Detailed Description

template<auto x>
struct nngn::constant< x >

Function object which always produces the same value.

Member Function Documentation

◆ operator()()

template<auto x>
auto nngn::constant< x >::operator() ( auto && ...) const
inlineconstexpr

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