MCPcopy Create free account
hub / github.com/apache/singa / MakeCheckOpString

Function MakeCheckOpString

include/singa/utils/logging.h:178–183  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

176
177template <typename T1, typename T2>
178string* MakeCheckOpString(const T1& v1, const T2& v2, const char* exprtext) {
179 CheckOpMessageBuilder comb(exprtext);
180 MakeCheckOpValueString(comb.ForVar1(), v1);
181 MakeCheckOpValueString(comb.ForVar2(), v2);
182 return comb.NewString();
183}
184
185// Helper functions for CHECK_OP macro.
186// The (int, int) specialization works around the issue that the compiler

Callers

nothing calls this directly

Calls 4

ForVar1Method · 0.80
ForVar2Method · 0.80
NewStringMethod · 0.80
MakeCheckOpValueStringFunction · 0.70

Tested by

no test coverage detected