C++ Utilities  5.3.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).
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::IniFile
  • Preserve difference between absence of equal sign and empty value after equal sign.
  • Preserve order within section.
  • Preserve comments.
Member CppUtilities::readFile (const std::string &path, std::string::size_type maxSize)
Use std::string_view to pass path in v6.
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).

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).

Class CppUtilities::TimeSpan
  • Add method for parsing custom string formats.
  • Add method for printing to custom string formats.