48 bool setC(
const std::string& str) {
50 if (str ==
"c89" || str ==
"C89") {
54 if (str ==
"c99" || str ==
"C99") {
58 if (str ==
"c11" || str ==
"C11") {
124 if (std ==
"c++03") {
127 if (std ==
"c++11") {
130 if (std ==
"c++14") {
133 if (std ==
"c++17") {
136 if (std ==
"c++20") {
139 if (std ==
"c++23") {
This is just a container for standards settings.
static cppstd_t getCPP(const std::string &std)
bool setC(const std::string &str)
std::string stdValue
–std value given on command line
bool setCPP(std::string str)
static cstd_t getC(const std::string &std)
std::string getCPP() const
static std::string getCPP(cppstd_t std)
enum Standards::cppstd_t cpp
cppstd_t
C++ code standard.
void strTolower(std::string &str)