MCPcopy Create free account
hub / github.com/apache/arrow / struct_class_prefix

Function struct_class_prefix

r/src/nameof.h:56–64  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

54
55template <typename T>
56size_t struct_class_prefix() {
57#ifdef _MSC_VER
58 return starts_with(raw<T>() + typename_prefix, "struct ") ? 7
59 : starts_with(raw<T>() + typename_prefix, "class ") ? 6
60 : 0;
61#else
62 return 0;
63#endif
64}
65
66template <typename T>
67size_t typename_length() {

Callers

nothing calls this directly

Calls 1

starts_withFunction · 0.85

Tested by

no test coverage detected