:relfileprefix: ../../
[#E89EFEF6C903A28E19662BEE2DA7F1119E3186DD]

= Class always_true

pass:v,q[A predicate that always returns] `true.`


== Synopsis

Declared in header `<https://github.com/Lastique/scope/blob/develop/include/boost/scope/scope_exit.hpp#L97[boost/scope/scope_exit.hpp,window=blank_]>`

[source,cpp,subs="verbatim,macros,-callouts"]
----
class always_true;
----

==  Types
[,cols=2]
|===
|Name |Description
|xref:boost/scope/always_true/result_type.adoc[`pass:v[result_type]`] |
pass:v,q[Predicate result type]

|===
==  Member Functions
[,cols=2]
|===
|Name |Description
|xref:boost/scope/always_true/operator_call.adoc[`pass:v[operator()]`] |
pass:v,q[**Throws:** Nothing.]

|===

== Description

pass:v,q[This predicate can be used as the default condition function object for]
`scope_exit`
pass:v,q[and similar scope guards.]



