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

Function StringEquals

external/as_add_on/scriptstdstring/scriptstdstring.cpp:718–721  ·  view source on GitHub ↗

String equality comparison. Returns true iff lhs is equal to rhs. For some reason gcc 4.7 has difficulties resolving the asFUNCTIONPR(operator==, (const string &, const string &) makro, so this wrapper was introduced as work around.

Source from the content-addressed store, hash-verified

716// asFUNCTIONPR(operator==, (const string &, const string &)
717// makro, so this wrapper was introduced as work around.
718static bool StringEquals(const std::string& lhs, const std::string& rhs)
719{
720 return lhs == rhs;
721}
722
723void RegisterStdString_Native(asIScriptEngine *engine)
724{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected