Option++
2.0
C++ library for reading command-line options
|
Source file for implementation of utility functions. More...
Namespaces | |
optionpp | |
Library namespace. | |
optionpp::utility | |
Namespace for utility functions. | |
Functions | |
bool | optionpp::utility::is_space (char c) |
Determine if a character is whitespace. More... | |
std::string | optionpp::utility::wrap_line (const std::string &str, int line_len, int indent, int first_line_indent) |
Performs word-wrapping for a single line of text. 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... | |
Source file for implementation of utility functions.