MCPcopy Create free account
hub / github.com/Kitware/CMake / cmStrLen

Function cmStrLen

Source/cmStringAlgorithms.h:26–29  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

24/** Returns length of a literal string. */
25template <size_t N>
26constexpr size_t cmStrLen(char const (&)[N])
27{
28 return N - 1;
29}
30
31/** Callable string comparison struct. */
32struct cmStrCmp

Callers 15

stripExportInterfaceFunction · 0.70
ReplaceInstallPrefixMethod · 0.70
IsLinkLookupScopeMethod · 0.70
CheckNinjaCodePageMethod · 0.70
GetSONameMethod · 0.70
HandleTidyFunction · 0.70
Bin2CColumnPosHexFunction · 0.70

Calls

no outgoing calls

Tested by 2

testStringAlgorithmsFunction · 0.40

Used in the wild real call sites across dependent graphs

searching dependent graphs…