Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bwapi/bwapi
/ StrTerminate
Function
StrTerminate
bwapi/Util/Source/Util/Convenience.h:16–19 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
14
15
template <size_t N>
16
inline void StrTerminate(char (&str)[N])
17
{
18
str[N-1] =
'\0'
;
19
};
20
21
template <size_t N>
22
inline void StrCopy(char(&dst)[N], const char *src)
Callers
2
StrCopy
Function · 0.70
VSNPrintf
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected