boost::cnv::base
// In header: <boost/convert/parameters.hpp> struct base { enum type { bin = =2, dec = =10, hex = =16, oct = =8 }; };