Template Struct NoDiscard¶
Defined in File nodiscard.hpp
Struct Documentation¶
-
template<typename F>
struct NoDiscard¶ can be used to wrap a callable and make its call operator [[nodiscard]]
Note
this will not be needed in C++23
Public Functions