#include <cast.h>
Public Types | |
using | CharT = typename StringType::value_type |
Public Member Functions | |
bool | load (handle src, bool) |
PYBIND11_TYPE_CASTER (StringType, _(PYBIND11_STRING_NAME)) | |
Static Public Member Functions | |
static handle | cast (const StringType &src, return_value_policy, handle) |
Static Public Attributes | |
static constexpr size_t | UTF_N = 8 * sizeof(CharT) |
Private Member Functions | |
template<typename C = CharT> | |
bool | load_bytes (enable_if_t< std::is_same< C, char >::value, handle > src) |
template<typename C = CharT> | |
bool | load_bytes (enable_if_t<!std::is_same< C, char >::value, handle >) |
Static Private Member Functions | |
static handle | decode_utfN (const char *buffer, ssize_t nbytes) |
using string_caster< StringType, IsView >::CharT = typename StringType::value_type |
|
inlinestatic |
|
inlinestaticprivate |
|
inline |
|
inlineprivate |
|
inlineprivate |
string_caster< StringType, IsView >::PYBIND11_TYPE_CASTER | ( | StringType | , |
_(PYBIND11_STRING_NAME) | |||
) |
|
static |