cpp-terminal
1.0.0
Small C++ library for writing multiplatform terminal applications
Loading...
Searching...
No Matches
terminal_initializer.hpp
Go to the documentation of this file.
1
/*
2
* cpp-terminal
3
* C++ library for writing multi-platform terminal applications.
4
*
5
* SPDX-FileCopyrightText: 2019-2024 cpp-terminal
6
*
7
* SPDX-License-Identifier: MIT
8
*/
9
10
#pragma once
11
12
#include <cstddef>
13
14
namespace
Term
15
{
16
17
class
TerminalInitializer
18
{
19
public
:
20
~TerminalInitializer
() noexcept;
21
TerminalInitializer
() noexcept;
22
TerminalInitializer
(const
TerminalInitializer
&) = delete;
23
TerminalInitializer
(
TerminalInitializer
&&) = delete;
24
TerminalInitializer
& operator=(
TerminalInitializer
&&) = delete;
25
TerminalInitializer
& operator=(const
TerminalInitializer
&) = delete;
26
27
private:
28
static std::
size_t
m_counter
;
29
};
30
31
}
// namespace Term
Term::TerminalInitializer
Definition
terminal_initializer.hpp:18
Term::TerminalInitializer::~TerminalInitializer
~TerminalInitializer() noexcept
Definition
terminal_initializer.cpp:40
Term::TerminalInitializer::m_counter
static std::size_t m_counter
Definition
terminal_initializer.hpp:19
Term
Definition
args.cpp:13
cpp-terminal
terminal_initializer.hpp
Generated by
1.11.0