#include <utility>
#include "internal/__xtd_scope.hpp"
Contains scope_fail_ keyword.
- Copyright
- Copyright (c) 2025 Gammasoft. All rights reserved.
Go to the source code of this file.
|
| struct | xtd::scope_fail |
| | Nowadays, every C++ developer is familiar with the Resource Acquisition Is Initialization (RAII) technique. It binds resource acquisition and release to initialization and destruction of a variable that holds the resource. There are times when writing a special class for such a variable is not worth the effort. This is when xtd xtd::scope_fail comes into play. xtd::scope_fail is executed only if an exception is in progress. More...
|
| |
|
| namespace | xtd |
| | The xtd namespace contains all fundamental classes to access Hardware, Os, System, and more.
|
| |
|
|
#define | __XTD_CORE_INTERNAL__ |
| |
| #define | scope_fail_ |
| | Nowadays, every C++ developer is familiar with the Resource Acquisition Is Initialization (RAII) technique. It binds resource acquisition and release to initialization and destruction of a variable that holds the resource. There are times when writing a special class for such a variable is not worth the effort. This is when xtd scope_fail_ comes into play. scope_fail_ is executed only if an exception is in progress.
|
| |