We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 09c3e73 commit 303cbb9Copy full SHA for 303cbb9
include/Args/Utils.hpp
@@ -12,7 +12,6 @@ namespace args
12
{
13
namespace utils
14
15
- std::string TypeToStr(ArgType type);
16
bool Stob(const std::string &str);
17
int Stoi(const std::string &str);
18
long Stol(const std::string &str);
src/Utils.cpp
@@ -2,19 +2,6 @@
2
3
#include "Args/Assert.hpp"
4
5
-std::string args::utils::TypeToStr(ArgType type)
6
-{
7
- switch (type)
8
- {
9
- case ArgType::ARGS_REQUIRED:
10
- return "REQUIRED ARGUMENT";
11
- case ArgType::ARGS_OPTIONAL:
- return "OPTIONAL ARGUMENT";
- default:
- return "UNKNOWN";
- }
-}
-
bool args::utils::Stob(const std::string &value)
19
20
if (value == "on")
0 commit comments