MCPcopy Create free account
hub / github.com/bitcoin/bitcoin / ToString

Function ToString

src/util/string.h:249–255  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

247 */
248template <typename T>
249std::string ToString(const T& t)
250{
251 std::ostringstream oss;
252 oss.imbue(std::locale::classic());
253 oss << t;
254 return oss.str();
255}
256
257/**
258 * Check whether a container begins with the given prefix.

Callers 15

WriteReplyMethod · 0.50
MutateTxAddOutMultiSigFunction · 0.50
torcontrol.cppFile · 0.50
PingTimeToStringMethod · 0.50
ProcessReplyMethod · 0.50
InitParameterInteractionFunction · 0.50
ActivateSnapshotMethod · 0.50
SerializeMethod · 0.50
MigrateToDescriptorMethod · 0.50
AddToWalletMethod · 0.50
InputAmountsToStringFunction · 0.50
spend.cppFile · 0.50

Calls 1

strMethod · 0.80

Tested by 15

InputAmountsToStringFunction · 0.40
BOOST_AUTO_TEST_CASEFunction · 0.40
BOOST_AUTO_TEST_CASEFunction · 0.40
BOOST_FIXTURE_TEST_CASEFunction · 0.40
GetValuesMethod · 0.40
BOOST_AUTO_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
BOOST_AUTO_TEST_CASEFunction · 0.40