userver
C++ Async Framework
Loading...
Searching...
No Matches
disable_core_dumps.hpp
1
#
pragma
once
2
3
#
include
<
memory
>
4
5
USERVER_NAMESPACE_BEGIN
6
7
namespace
utils::impl {
8
9
class
DisableCoreDumps
final
{
10
public
:
11
DisableCoreDumps();
12
13
DisableCoreDumps(DisableCoreDumps&&) =
delete
;
14
DisableCoreDumps& operator=(DisableCoreDumps&&) =
delete
;
15
~DisableCoreDumps();
16
17
bool
IsValid()
const
noexcept
;
18
void
Invalidate()
noexcept
;
19
20
private
:
21
class
Impl;
22
23
std::unique_ptr<Impl> impl_;
24
};
25
26
}
// namespace utils::impl
27
28
USERVER_NAMESPACE_END
userver
utils
impl
disable_core_dumps.hpp
Generated on Wed May 15 2024 22:34:58 for userver by
Doxygen
1.10.0