cpp-terminal
1.0.0
Small C++ library for writing multiplatform terminal applications
Loading...
Searching...
No Matches
iostream_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
IOStreamInitializer
18
{
19
public
:
20
~IOStreamInitializer
() noexcept;
21
IOStreamInitializer
() noexcept;
22
IOStreamInitializer
(const
IOStreamInitializer
&) = delete;
23
IOStreamInitializer
(
IOStreamInitializer
&&) = delete;
24
IOStreamInitializer
& operator=(
IOStreamInitializer
&&) = delete;
25
IOStreamInitializer
& operator=(const
IOStreamInitializer
&) = delete;
26
27
private:
28
static std::
size_t
m_counter
;
29
};
30
31
}
// namespace Term
Term::IOStreamInitializer
Definition
iostream_initializer.hpp:18
Term::IOStreamInitializer::m_counter
static std::size_t m_counter
Definition
iostream_initializer.hpp:20
Term::IOStreamInitializer::~IOStreamInitializer
~IOStreamInitializer() noexcept
Definition
iostream_initializer.cpp:42
Term
Definition
args.cpp:13
cpp-terminal
iostream_initializer.hpp
Generated by
1.11.0