:relfileprefix: ../
[#9010F04689A5A89ACE45416BDC344A9C535C7DA0]

= Namespace scope

==  Types
[,cols=2]
|===
|Name |Description
|xref:boost/scope/always_true.adoc[`pass:v[always_true]`] |
pass:v,q[A predicate that always returns] `true.`

|xref:boost/scope/default_resource_t.adoc[`pass:v[default_resource_t]`] |

|xref:boost/scope/error_code_checker.adoc[`pass:v[error_code_checker]`] |
pass:v,q[A predicate for checking whether an error code indicates error.]

|xref:boost/scope/exception_checker.adoc[`pass:v[exception_checker]`] |
pass:v,q[A predicate for checking whether an exception is being thrown.]

|xref:boost/scope/fd_deleter.adoc[`pass:v[fd_deleter]`] |
pass:v,q[POSIX-like file descriptor deleter]

|xref:boost/scope/fd_resource_traits.adoc[`pass:v[fd_resource_traits]`] |
pass:v,q[POSIX-like file descriptor resource traits]

|xref:boost/scope/scope_exit-0a.adoc[`pass:v[scope_exit]`] |
pass:v,q[Scope exit guard that conditionally invokes a function upon leaving the scope.]

|xref:boost/scope/scope_fail-04.adoc[`pass:v[scope_fail]`] |
pass:v,q[Scope exit guard that invokes a function upon leaving the scope with] pass:v,q[a failure condition satisfied.]

|xref:boost/scope/scope_final-00.adoc[`pass:v[scope_final]`] |
pass:v,q[Scope final guard that invokes a function upon leaving the scope.]

|xref:boost/scope/scope_success-0ec.adoc[`pass:v[scope_success]`] |
pass:v,q[Scope exit guard that invokes a function upon leaving the scope with] pass:v,q[a failure condition not satisfied.]

|xref:boost/scope/unique_fd.adoc[`pass:v[unique_fd]`] |
pass:v,q[Unique POSIX-like file descriptor resource]

|xref:boost/scope/unique_resource-0c.adoc[`pass:v[unique_resource]`] |
pass:v,q[RAII wrapper for automatically reclaiming arbitrary resources.]

|===
== Functions
[,cols=2]
|===
|Name |Description
|xref:boost/scope/check_error_code.adoc[`pass:v[check_error_code]`] |
pass:v,q[Creates a predicate for checking whether an exception is being thrown]

|xref:boost/scope/check_exception.adoc[`pass:v[check_exception]`] |
pass:v,q[Creates a predicate for checking whether an exception is being thrown]

|xref:boost/scope/make_scope_exit.adoc[`pass:v[make_scope_exit]`] |
pass:v,q[Creates a scope guard with a given action function object.]

|xref:boost/scope/make_scope_fail.adoc[`pass:v[make_scope_fail]`] |
pass:v,q[Creates a scope fail guard with a given action function object.]

|xref:boost/scope/make_scope_success.adoc[`pass:v[make_scope_success]`] |
pass:v,q[Creates a scope fail guard with a given action function object.]

|xref:boost/scope/make_unique_resource_checked.adoc[`pass:v[make_unique_resource_checked]`] |
pass:v,q[Checks if the resource is valid and creates a] `unique_resource` pass:v,q[wrapper.]

|xref:boost/scope/swap.adoc[`pass:v[swap]`] |

|===
== Variables
[,cols=2]
|===
|Name |Description
|xref:boost/scope/default_resource.adoc[`pass:v[default_resource]`] |
pass:v,q[Keyword representing default, unallocated resource argument]

|===
==  Deduction Guides
[,cols=2]
|===
|Name |Description
|xref:boost/scope/scope_exit-05.adoc[`pass:v[scope_exit<Func>]`] |

|xref:boost/scope/scope_exit-076.adoc[`pass:v[scope_exit<Func>]`] |

|xref:boost/scope/scope_exit-07b.adoc[`pass:v[scope_exit<Func, Cond>]`] |

|xref:boost/scope/scope_exit-04.adoc[`pass:v[scope_exit<Func, Cond>]`] |

|xref:boost/scope/scope_fail-0a.adoc[`pass:v[scope_fail<Func>]`] |

|xref:boost/scope/scope_fail-09.adoc[`pass:v[scope_fail<Func>]`] |

|xref:boost/scope/scope_fail-08.adoc[`pass:v[scope_fail<Func, Cond>]`] |

|xref:boost/scope/scope_fail-0c.adoc[`pass:v[scope_fail<Func, Cond>]`] |

|xref:boost/scope/scope_final-08.adoc[`pass:v[scope_final<Func>]`] |

|xref:boost/scope/scope_success-0c.adoc[`pass:v[scope_success<Func>]`] |

|xref:boost/scope/scope_success-0ef.adoc[`pass:v[scope_success<Func>]`] |

|xref:boost/scope/scope_success-08b.adoc[`pass:v[scope_success<Func, Cond>]`] |

|xref:boost/scope/scope_success-08c.adoc[`pass:v[scope_success<Func, Cond>]`] |

|xref:boost/scope/unique_resource-07.adoc[`pass:v[unique_resource<Resource, Deleter>]`] |

|===
