Карта сайта Kansoftware
НОВОСТИУСЛУГИРЕШЕНИЯКОНТАКТЫ
Разработка программного обеспечения

Struct strtol

Boost , Chapter 1. Boost.Convert 2.0 , Header <boost/convert/strtol.hpp>

Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

PrevUpHomeNext

Struct strtol

boost::cnv::strtol — std::strtol-based extended converter

Synopsis

// In header: <boost/convert/strtol.hpp>

struct strtol : public boost::cnv::cnvbase< boost::cnv::strtol > {
  // types
  typedef boost::cnv::strtol               this_type;
  typedef boost::cnv::cnvbase< this_type > base_type;
  // private member functions
  template<typename string_type> 
    void str_to(cnv::range< string_type >, optional< int_type > &) const;
  template<typename string_type> 
    void str_to(cnv::range< string_type >, optional< sint_type > &) const;
  template<typename string_type> 
    void str_to(cnv::range< string_type >, optional< lint_type > &) const;
  template<typename string_type> 
    void str_to(cnv::range< string_type >, optional< llint_type > &) const;
  template<typename string_type> 
    void str_to(cnv::range< string_type >, optional< uint_type > &) const;
  template<typename string_type> 
    void str_to(cnv::range< string_type >, optional< usint_type > &) const;
  template<typename string_type> 
    void str_to(cnv::range< string_type >, optional< ulint_type > &) const;
  template<typename string_type> 
    void str_to(cnv::range< string_type >, optional< ullint_type > &) const;
  template<typename string_type> 
    void str_to(cnv::range< string_type >, optional< flt_type > &) const;
  template<typename string_type> 
    void str_to(cnv::range< string_type >, optional< dbl_type > &) const;
  template<typename string_type> 
    void str_to(cnv::range< string_type >, optional< ldbl_type > &) const;
  template<typename char_type> 
    cnv::range< char_type * > to_str(int_type, char_type *) const;
  template<typename char_type> 
    cnv::range< char_type * > to_str(uint_type, char_type *) const;
  template<typename char_type> 
    cnv::range< char_type * > to_str(lint_type, char_type *) const;
  template<typename char_type> 
    cnv::range< char_type * > to_str(ulint_type, char_type *) const;
  template<typename char_type> 
    cnv::range< char_type * > to_str(llint_type, char_type *) const;
  template<typename char_type> 
    cnv::range< char_type * > to_str(ullint_type, char_type *) const;
  template<typename char_type> 
    cnv::range< char_type * > to_str(dbl_type, char_type *) const;
  template<typename char_type, typename in_type> 
    cnv::range< char_type * > i_to_str(in_type, char_type *) const;
  template<typename string_type, typename out_type> 
    void str_to_i(cnv::range< string_type >, optional< out_type > &) const;
  template<typename string_type, typename out_type> 
    void str_to_d(cnv::range< string_type >, optional< out_type > &) const;
  // private static functions
  static double adjust_fraction(double, int);
  static int get_char(int);
  // public member functions
  template<typename char_type, typename Type> 
    boost::cnv::range< char_type * > i_to_str(Type, char_type *) const;
  template<typename char_type> 
    boost::cnv::range< char_type * > to_str(double, char_type *) const;
  template<typename string_type, typename out_type> 
    void str_to_i(cnv::range< string_type >, boost::optional< out_type > &) const;
};

Description

Конвертер предлагает довольно приличную общую производительность и умеренные возможности форматирования.

strtol private member functions

  1. >>>> str_to(cnv>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>><2>>>>>>>>>>>>>>>>>>>>><2>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
  2. >>> str_to>>>>>> 2> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
  3. >>>>>str_to>>>>>>>>>str_to>>,>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
  4. >>>>str_to>>>>>>>str_to>>,>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>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>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>><2>>>>>>>>>>>>>>>
  12. template<typename char_type> cnv::range< char_type >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>><
  13. template<typename char_type> cnv::range< char_type 2> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
  14. template<typename char_type> cnv::range< char_type 2> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
  15. template<typename char_type> cnv::range< char_type >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
  16. template<typename char_type> cnv::< char_type  >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
  17. template<typename char_type> cnv::range< char_type >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
  18. template<typename char_type> cnv::< char_type  >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
  19. >>>>>2>>>>>>>>>>2>>>>>>>2>>28>28>13>i_to_str>>>>>>>>>>>>>>>>>>>>>>>>2>>>>>>>>>>>>>>>
  20. >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
  21. >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

strtol private static functions

  1. статический дп коррект_fraction(дп, инт);
  2. статический int get_char(int v);

strtol public member functions

  1. >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
  2. template<typename char_type> boost::cnv::range<char_type>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
  3. >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

PrevUpHomeNext

Статья Struct strtol раздела Chapter 1. Boost.Convert 2.0 Header <boost/convert/strtol.hpp> может быть полезна для разработчиков на c++ и boost.




Материалы статей собраны из открытых источников, владелец сайта не претендует на авторство. Там где авторство установить не удалось, материал подаётся без имени автора. В случае если Вы считаете, что Ваши права нарушены, пожалуйста, свяжитесь с владельцем сайта.



:: Главная :: Header <boost/convert/strtol.hpp> ::


реклама


©KANSoftWare (разработка программного обеспечения, создание программ, создание интерактивных сайтов), 2007
Top.Mail.Ru

Время компиляции файла: 2024-08-30 11:47:00
2025-05-19 22:52:30/0.010045051574707/1