Utility std::string subclass.
More...
#include <util.hxx>
Public Member Functions |
| String (const std::string &other) |
| Constructor from std::string.
|
bool | startsWith (const std::string &prefix) const |
| Tell whether the string begins with a prefix.
|
Detailed Description
Utility std::string subclass.
String provides all features of std::string, and more.
Example use:
Constructor & Destructor Documentation
String::String |
( |
const std::string & |
other | ) |
|
|
inline |
Constructor from std::string.
- Parameters
-
other | existing std::string to convert to String |
Member Function Documentation
bool String::startsWith |
( |
const std::string & |
prefix | ) |
const |
|
inline |
Tell whether the string begins with a prefix.
- Parameters
-
prefix | prefix string to be tested |
- Returns
true
iff the string begins with prefix
The documentation for this struct was generated from the following file:
- /home/francois/projets/git/clang-tags/src/util/util.hxx