|
Ultralight C++ API 1.4.0
|
STL compatibility header for ultralight::String.
#include <Ultralight/StringSTL.h>
This optional header provides utility functions for converting between ultralight::String, std::string, and std::string_view. It also provides support for using ultralight::String with standard library containers and stream operators.
Classes | |
| struct | is_string_type< T > |
| Trait to check if a type is a supported string-like type. More... | |
| struct | is_string_type< String > |
| struct | is_string_type< std::string > |
| struct | is_string_type< std::string_view > |
| struct | is_string_type< const char * > |
| struct | hash< ultralight::String > |
| Hash specialization for ultralight::String. More... | |
Functions | |
| template<typename To = void, typename From> | |
| auto | Convert (const From &from) |
| Convert between string types. | |
| std::ostream & | operator<< (std::ostream &os, const ultralight::String &str) |
| Stream output operator for ultralight::String. | |
| std::istream & | operator>> (std::istream &is, ultralight::String &str) |
| Stream input operator for ultralight::String. | |
Namespaces | |
| namespace | ultralight |
| namespace | std |
|
inline |
Stream output operator for ultralight::String.
| os | The output stream. |
| str | The string to output. |
|
inline |
Stream input operator for ultralight::String.
| is | The input stream. |
| str | The string to input into. |