Custom strlen() which works on different character types.
- Template Parameters
-
Ch | Character type (e.g. char, wchar_t, short) |
- Parameters
-
s | Null-terminated input string. |
- Returns
- Number of characters in the string.
- Note
- This has the same semantics as strlen(), the return value is not number of Unicode codepoints.
float * p
Definition: Tutorial_Map_using.cpp:9
RealScalar s
Definition: level1_cplx_impl.h:130
unsigned SizeType
Use 32-bit array/string indices even for 64-bit platform, instead of using size_t.
Definition: rapidjson.h:67
References p, and s.
Referenced by rapidjson::GenericValue< Encoding, Allocator >::AddMember(), rapidjson::GenericValue< Encoding, Allocator >::FindMember(), rapidjson::GenericValue< Encoding, Allocator >::GenericValue(), rapidjson::GenericValue< Encoding, Allocator >::SetString(), rapidjson::PrettyWriter< Stream, Encoding, Allocator >::String(), and rapidjson::Writer< Stream, Encoding, Allocator >::String().