MCPcopy Create free account
hub / github.com/CytopiaTeam/Cytopia / StringIsEmpty

Function StringIsEmpty

external/as_add_on/scriptstdstring/scriptstdstring.cpp:155–162  ·  view source on GitHub ↗

bool string::isEmpty() bool string::empty() // if AS_USE_STLNAMES == 1

Source from the content-addressed store, hash-verified

153// bool string::isEmpty()
154// bool string::empty() // if AS_USE_STLNAMES == 1
155static bool StringIsEmpty(const string &str)
156{
157 // We don't register the method directly because some compilers
158 // and standard libraries inline the definition, resulting in the
159 // linker being unable to find the declaration
160 // Example: CLang/LLVM with XCode 4.3 on OSX 10.7
161 return str.empty();
162}
163
164static string &AssignUInt64ToString(asQWORD i, string &dest)
165{

Callers 1

StringIsEmptyGenericFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected