Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/chen3feng/toft
/ LengthMatch
Method
LengthMatch
base/string/format/specification.h:45–48 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
43
}
44
45
bool LengthMatch(int allowed) const
46
{
47
return length == 0 || length == allowed;
48
}
49
50
template <size_t N>
51
bool LengthMatch(const int (&allowed)[N]) const
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected