MCPcopy Create free account
hub / github.com/baidu/babylon / use_remove_prefix_in_constexpr

Function use_remove_prefix_in_constexpr

test/test_string_view.cpp:17–21  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

15}
16
17inline constexpr StringView use_remove_prefix_in_constexpr(StringView original,
18 size_t num) {
19 original.remove_prefix(num);
20 return original;
21}
22
23inline constexpr StringView use_remove_suffix_in_constexpr(StringView original,
24 size_t num) {

Callers 1

TESTFunction · 0.85

Calls 1

remove_prefixMethod · 0.80

Tested by

no test coverage detected