![]() |
boost::scope::always_true — A predicate that always returns true
.
// In header: <boost/scope/scope_exit.hpp> class always_true { public: // types typedef bool result_type; // Predicate result type. // public member functions result_type operator()() const noexcept; };
This predicate can be used as the default condition function object for scope_exit
and similar scope guards.