Option++
2.0
C++ library for reading command-line options
|
Header file for various utility functions. More...
#include <stdexcept>
#include <string>
Go to the source code of this file.
Namespaces | |
optionpp | |
Library namespace. | |
optionpp::utility | |
Namespace for utility functions. | |
Functions | |
template<typename OutputIt > | |
void | optionpp::utility::split (const std::string &str, OutputIt dest, const std::string &delims=" \t\n\r", const std::string "es="\"\'", char escape_char='\\', bool allow_empty=false) |
Split a string over delimiters into substrings. More... | |
std::string | optionpp::utility::wrap_text (const std::string &str, int line_len=79, int indent=0) |
Perform word-wrapping on a string. More... | |
std::string | optionpp::utility::wrap_text (const std::string &str, int line_len, int indent, int first_line_indent) |
Perform word-wrapping on a string. More... | |
bool | optionpp::utility::is_substr_at_pos (const std::string &str, const std::string &substr, std::string::size_type pos=0) noexcept |
Determine if a string occurs within another string at a particular position. More... | |
Header file for various utility functions.