2 Copyright (c) Vladimir Batov 2009-2016
3 Distributed under the Boost Software License, Version 1.0.
4 See copy at http://www.boost.org/LICENSE_1_0.txt.
7 [section:strtol_converter ['boost::cnv::strtol] Converter]
9 The converter started as a deployment example (with the `std::strtol` family of functions as its conversion engine) and a part of the performance-test set. Surprisingly, the converter showed fairly decent all-around performance (see [link boost_convert.performance.converters_compared Converters Compared]) and, consequently, has been rewritten and extended to provide additional conversion support and formatting. At the moment it seems to be a good choice with moderate formatting facilities and adequate performance.
11 It should be noted though that the converter is nowhere as mature as `boost::cnv::lexical_cast` or `boost::cnv::stream` and, therefore, bugs are to be expected.
13 [section Basic Deployment]
14 [strtol_basic_deployment_header]
15 [strtol_basic_deployment]
18 [section Formatting Support]
20 [section Numeric Base (bin, oct, dec, hex)]
21 [strtol_numeric_base_header]
23 [wide_strtol_numeric_base]
26 [section Field Width, Fill Character and Adjustment]
30 [section Leading Whitespace Characters]
35 [section Floating-Point Precision]
40 [section Supported String Types]
43 [wide_strtol_numeric_base]
47 [section Custom String Types]
48 [my_string_declaration]