C++ Utilities  5.7.0
Useful C++ classes and routines such as argument parser, IO and conversion utilities
Todo List
Member CppUtilities::charToDigit (CharType character, CharType base)
Provide an alternative using std::expected (when switching to C++17).
Member CppUtilities::stringToNumber (const StringType &string, typename StringType::value_type base=10)

Provide an alternative using std::expected (when switching to C++17).

Provide an alternative using std::expected (when switching to C++17).

Provide an alternative using std::expected (when switching to C++17).

Member CppUtilities::stringToNumber (const CharType *string, unsigned char base=10)

Provide an alternative using std::expected (when switching to C++17).

Provide an alternative using std::expected (when switching to C++17).

Class CppUtilities::DateTime
  • Add method for parsing custom string formats.
  • Add method for printing to custom string formats.
  • Allow to determine the date part for each compontent at once to prevent multiple invocations of getDatePart().
Class CppUtilities::TimeSpan
  • Add method for parsing custom string formats.
  • Add method for printing to custom string formats.
Class CppUtilities::AdvancedIniFile
Support "line continuation", where a backslash followed immediately by EOL (end-of-line) causes the line break to be ignored, and the "logical line" to be continued on the next actual line from the INI file.
Member CppUtilities::readFile (const std::string &path, std::string::size_type maxSize)
Use std::string_view to pass path in v6.