oss_src/util/stl_util.hpp
inline std::string pad_number(const size_t number,
                                const size_t npad,
                                const char pad_value = '0') {
    std::stringstream strm;
    strm << std::setw((int)npad) << std::setfill(pad_value)
         << number;
    return strm.str();
  }
/**
  Returns a string representation of the number,
  padded to 'npad' characters using the pad_value character
  */
Returns a string representation of the number,
padded to 'npad' characters using the pad_value character
Returns a string representation of the number padded to ' npad ' characters using the pad_value character
inline std::string pad_number(const size_t number,
                                const size_t npad,
                                const char pad_value = '0') {
    std::stringstream strm;
    strm << std::setw((int)npad) << std::setfill(pad_value)
         << number;
    return strm.str();
  }
inline std :: string pad_number ( const size_t number , const size_t npad , const char pad_value = ' ' ) { std :: stringstream strm ; strm << std :: setw ( ( int ) npad ) << std :: setfill ( pad_value ) << number ; return strm . str ( ) ; }
Returns a string representation of the number,
padded to 'npad' characters using the pad_value character
Returns a string representation of the number padded to ' npad ' characters using the pad_value character