template< auto V >
struct nontype_t { explicit nontype_t() = default; };
template< auto V >
constexpr std::nontype_t<V> nontype {};
1) The class template std::nontype_t
can be used in the constructor's parameter list to match the intended tag.
The corresponding
std::nontype
instance of
(1)is a disambiguation argument tag that can be passed to the constructors of
std::function_refto indicate that the contained object should be constructed with the value of the constant template parameter
V
.
[edit] Template parameters [edit] See alsoRetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4