MCPcopy Create free account
hub / github.com/Dobiasd/FunctionalPlus / to_string_fill_left

Function to_string_fill_left

include/fplus/string_tools.hpp:171–175  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

169// to_string_fill_left(' ', 5, 42) == " 42"
170template <typename T>
171std::string to_string_fill_left(const std::string::value_type& filler,
172 std::size_t min_size, const T& x)
173{
174 return fill_left(filler, min_size, std::to_string(x));
175}
176
177// API search type: to_string_fill_right : (Char, Int, a) -> String
178// fwd bind count: 2

Callers 1

Calls 1

fill_leftFunction · 0.70

Tested by

no test coverage detected