rsl 1.1.0
ROS Support Library
|
Template for creating lambdas with the nodiscard attribute. More...
#include <no_discard.hpp>
Public Member Functions | |
NoDiscard (Fn const &fn) | |
template<typename... Ts> | |
constexpr auto | operator() (Ts &&... args) const noexcept(noexcept(fn_(std::forward< Ts >(args)...))) |
Template for creating lambdas with the nodiscard attribute.
Fn | Lambda |