This class is used to disambiguate a constructor which takes a non-literal string argument from an overload which takes a string-literal i.e. FixedString.
More...
#include <kanzi/core/metadata/metadata.hpp>
This class is used to disambiguate a constructor which takes a non-literal string argument from an overload which takes a string-literal i.e. FixedString.
kanzi::MetadataGeneratedName::MetadataGeneratedName |
( |
string_view |
name | ) |
|
|
inlineexplicit |
Constructor.
- Parameters
-
name | The string view being wrapped. |
Dynamically allocates a null-terminated string equivalent to the wrapped string view.
- Returns
- A unique ptr to a new null-terminated string equivalent to the wrapped string view.
string_view kanzi::MetadataGeneratedName::get |
( |
| ) |
|
|
inline |
Returns the wrapped string view.
- Returns
- The wrapped string view.
The documentation for this class was generated from the following file: