cpp-terminal 1.0.0
Small C++ library for writing multiplatform terminal applications
Loading...
Searching...
No Matches
args.cpp
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#include "cpp-terminal/args.hpp"
11
12namespace Term
13{
14
16
18
19Term::Argc::operator unsigned int() { return static_cast<unsigned int>(Term::Arguments::argc()); }
20
21Term::Argc::operator unsigned int() const { return static_cast<unsigned int>(Term::Arguments::argc()); }
22
23std::string Term::Arguments::operator[](const std::size_t& arg) const { return m_args[arg]; }
24
25} // namespace Term
std::string operator[](const std::size_t &arg) const
Definition args.cpp:23
static std::size_t argc()
Definition args.cpp:83
Definition args.cpp:13