A predicate that always returns true.

Synopsis

Declared in header <boost/scope/scope_exit.hpp>

class always_true;

Types

Name

Description

result_type

Predicate result type

Member Functions

Name

Description

operator()

Throws: Nothing.

Description

This predicate can be used as the default condition function object for scope_exit and similar scope guards.