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

Function to_string_fill_right

include/fplus/string_tools.hpp:182–186  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

180// to_string_fill_right(' ', 5, 42) == "42 "
181template <typename T>
182std::string to_string_fill_right(const std::string::value_type& filler,
183 std::size_t min_size, const T& x)
184{
185 return fill_right(filler, min_size, std::to_string(x));
186}
187
188} // namespace fplus

Callers 1

Calls 1

fill_rightFunction · 0.70

Tested by

no test coverage detected