MCPcopy Create free account
hub / github.com/FlightGear/flightgear / toString

Function toString

3rdparty/cppunit/include/cppunit/tools/StringHelper.h:22–28  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

20
21template<typename T>
22typename std::enable_if<!std::is_enum<T>::value, std::string>::type toString(const T& x)
23{
24 OStringStream ost;
25 ost << x;
26
27 return ost.str();
28}
29
30template<typename T>
31typename std::enable_if<std::is_enum<T>::value, std::string>::type toString(const T& x)

Callers 8

setContentMethod · 0.85
addAttributeMethod · 0.85
assertDoubleEqualsFunction · 0.85
TestAssert.hFile · 0.85
assertGreaterFunction · 0.85
assertLessEqualFunction · 0.85
assertGreaterEqualFunction · 0.85
getTestNameForFunction · 0.85

Calls 1

strMethod · 0.45

Tested by 5

assertDoubleEqualsFunction · 0.68
assertGreaterFunction · 0.68
assertLessEqualFunction · 0.68
assertGreaterEqualFunction · 0.68
getTestNameForFunction · 0.68