MCPcopy Create free account
hub / github.com/awslabs/aws-lambda-cpp / FormatIntWidth2

Method FormatIntWidth2

tests/gtest/gtest-all.cc:3451–3455  ·  view source on GitHub ↗

Formats an int value as "%02d".

Source from the content-addressed store, hash-verified

3449
3450// Formats an int value as "%02d".
3451std::string String::FormatIntWidth2(int value) {
3452 std::stringstream ss;
3453 ss << std::setfill('0') << std::setw(2) << value;
3454 return ss.str();
3455}
3456
3457// Formats an int value as "%X".
3458std::string String::FormatHexUInt32(UInt32 value) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected