![]() |
Scarab
v2.9.1
Project 8 C++ Utility Library
|
#include <cast.h>

Public Types | |
| using | CharT = typename StringType::value_type |
| template<typename T_ > | |
| using | cast_op_type = pybind11::detail::movable_cast_op_type< T_ > |
Public Member Functions | |
| bool | load (handle src, bool) |
| operator StringType * () | |
| operator StringType & () | |
| operator StringType && () && | |
Static Public Member Functions | |
| static handle | cast (const StringType &src, return_value_policy, handle) |
| template<typename T_ , enable_if_t< std::is_same< StringType, remove_cv_t< T_ >>::value, int > = 0> | |
| static handle | cast (T_ *src, return_value_policy policy, handle parent) |
Static Public Attributes | |
| static constexpr size_t | UTF_N = 8 * sizeof(CharT) |
| static constexpr auto | name = _( "unicode" ) |
Protected Attributes | |
| StringType | value |
Private Member Functions | |
| template<typename C = CharT> | |
| bool | load_bytes (enable_if_t< sizeof(C)==1, handle > src) |
| template<typename C = CharT> | |
| bool | load_bytes (enable_if_t< sizeof(C) !=1, handle >) |
Static Private Member Functions | |
| static handle | decode_utfN (const char *buffer, ssize_t nbytes) |
| using cast_op_type = pybind11::detail::movable_cast_op_type<T_> |
|
inlinestatic |
|
inlinestatic |
|
inlineprivate |
|
inlineprivate |
1.8.13