MCPcopy Create free account
hub / github.com/ElementsProject/elements / ToString

Function ToString

src/util/string.h:88–94  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

86 */
87template <typename T>
88std::string ToString(const T& t)
89{
90 std::ostringstream oss;
91 oss.imbue(std::locale::classic());
92 oss << t;
93 return oss.str();
94}
95
96/**
97 * Check whether a container begins with the given prefix.

Callers 15

ToStringMethod · 0.50
MutateTxAddOutMultiSigFunction · 0.50
PingTimeToStringMethod · 0.50
ProcessReplyMethod · 0.50
LogPrintStrMethod · 0.50
SerializeMethod · 0.50
DeriveNewChildKeyMethod · 0.50
AddToWalletMethod · 0.50
ToNormalizedStringMethod · 0.50
ToNormalizedStringMethod · 0.50
BOOST_AUTO_TEST_CASEFunction · 0.50
GetValuesMethod · 0.50

Calls 1

strMethod · 0.80

Tested by 14

BOOST_AUTO_TEST_CASEFunction · 0.40
GetValuesMethod · 0.40
BOOST_AUTO_TEST_CASEFunction · 0.40
MultiAddTimeDataFunction · 0.40
BOOST_FIXTURE_TEST_CASEFunction · 0.40
BOOST_AUTO_TEST_CASEFunction · 0.40
BOOST_AUTO_TEST_CASEFunction · 0.40
RenameEnMasseFunction · 0.40
BOOST_AUTO_TEST_CASEFunction · 0.40
RejectDifficultyMismatchFunction · 0.40
FUZZ_TARGET_INITFunction · 0.40
SetMempoolConstraintsFunction · 0.40