Dummy fbstring core that uses an actual std::string. This doesn't make any sense ‐ it's just for testing purposes.
Synopsis
Declared in <folly/FBString.h>
template<class Char>
class dummy_fbstring_core;
Member Functions
Name |
Description |
|
Constructors |
Returns the capacity of the string. |
|
Returns a pointer to the string's buffer. |
|
Expands the string by |
|
Returns whether the string uses reference‐counted storage. |
|
Returns whether the underlying data is shared. |
|
Returns a writable pointer to the string's buffer. |
|
Appends a single character to the string. |
|
Ensures capacity for at least |
|
Shrinks the string by |
|
Returns the number of characters in the string. |
|
Swaps the contents with another dummy core. |
|
Returns the reference count of the underlying storage. |
Created with MrDocs