![]() |
Home | Libraries | People | FAQ | More |
boost::cnv::printf
// In header: <boost/convert/printf.hpp> struct printf : public boost::cnv::cnvbase< boost::cnv::printf > { // types typedef boost::cnv::printf this_type; typedef boost::cnv::cnvbase< this_type > base_type; // public member functions template<typename in_type> cnv::range< char * > to_str(in_type, char *) const; template<typename string_type, typename out_type> void str_to(cnv::range< string_type >, optional< out_type > &) const; void operator()(type_in const &, boost::optional< type_out > &) const; std::enable_if< boost::parameter::is_argument_pack< argument_pack >::value, this_type & >::type operator()(argument_pack const &); // private member functions template<typename Type> int pos() const; char_cptr printf_format(int) const; char_cptr sscanf_format(int) const; };
printf public member functionstemplate<typename in_type> cnv::range< char * > to_str(in_type value_in, char * buf) const;
template<typename string_type, typename out_type> void str_to(cnv::range< string_type > range, optional< out_type > & result_out) const;
void operator()(type_in const & in, boost::optional< type_out > & out) const;
std::enable_if< boost::parameter::is_argument_pack< argument_pack >::value, this_type & >::type operator()(argument_pack const & arg);