MCPcopy Create free account
hub / github.com/Ubpa/USRefl / Data

Method Data

include/USRefl_99.h:12–12  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10 template<fcstr str> struct TStr { using Char = typename decltype(str)::value_type;
11 template<typename T> static constexpr bool Is(T = {}) { return std::is_same_v<T, TStr>; }
12 static constexpr auto Data() { return str.data; } static constexpr auto Size() { return str.size; }
13 static constexpr std::basic_string_view<Char> View() { return str.data; } };
14 template<class L, class F> constexpr std::size_t FindIf(const L&, F&&, std::index_sequence<>) { return -1; }
15 template<class L, class F, std::size_t N0, std::size_t... Ns> constexpr std::size_t FindIf(const L& l, F&& f, std::index_sequence<N0, Ns...>)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected