Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r74432 - in trunk: boost libs/conversion libs/conversion/doc
From: antoshkka_at_[hidden]
Date: 2011-09-17 05:09:33


Author: apolukhin
Date: 2011-09-17 05:09:27 EDT (Sat, 17 Sep 2011)
New Revision: 74432
URL: http://svn.boost.org/trac/boost/changeset/74432

Log:
char16_t and char32_t conversions now work on gcc for C locale
Optimizations for C locale
Performance section of documentation updated
Text files modified:
   trunk/boost/lexical_cast.hpp | 175 ++++----
   trunk/libs/conversion/doc/lexical_cast.qbk | 780 +++++++++++++++++----------------------
   trunk/libs/conversion/lexical_cast_test.cpp | 10
   3 files changed, 448 insertions(+), 517 deletions(-)

Modified: trunk/boost/lexical_cast.hpp
==============================================================================
--- trunk/boost/lexical_cast.hpp (original)
+++ trunk/boost/lexical_cast.hpp 2011-09-17 05:09:27 EDT (Sat, 17 Sep 2011)
@@ -461,7 +461,7 @@
     namespace detail // lcast_put_unsigned
     {
         template<class Traits, class T, class CharT>
- CharT* lcast_put_unsigned(T n, CharT* finish)
+ CharT* lcast_put_unsigned(const T n_param, CharT* finish)
         {
 #ifndef BOOST_NO_LIMITS_COMPILE_TIME_CONSTANTS
             BOOST_STATIC_ASSERT(!std::numeric_limits<T>::is_signed);
@@ -470,51 +470,58 @@
             typedef typename Traits::int_type int_type;
             CharT const czero = lcast_char_constants<CharT>::zero;
             int_type const zero = Traits::to_int_type(czero);
+ BOOST_DEDUCED_TYPENAME boost::mpl::if_c<
+ (sizeof(int_type) > sizeof(T))
+ , int_type
+ , T
+ >::type n = n_param;
 
 #ifndef BOOST_LEXICAL_CAST_ASSUME_C_LOCALE
             std::locale loc;
- typedef std::numpunct<CharT> numpunct;
- numpunct const& np = BOOST_USE_FACET(numpunct, loc);
- std::string const& grouping = np.grouping();
- std::string::size_type const grouping_size = grouping.size();
+ if (loc != std::locale::classic()) {
+ typedef std::numpunct<CharT> numpunct;
+ numpunct const& np = BOOST_USE_FACET(numpunct, loc);
+ std::string const grouping = np.grouping();
+ std::string::size_type const grouping_size = grouping.size();
 
- if ( grouping_size && grouping[0] > 0 )
- {
+ if ( grouping_size && grouping[0] > 0 )
+ {
 
 #ifndef BOOST_NO_LIMITS_COMPILE_TIME_CONSTANTS
- // Check that ulimited group is unreachable:
- BOOST_STATIC_ASSERT(std::numeric_limits<T>::digits10 < CHAR_MAX);
+ // Check that ulimited group is unreachable:
+ BOOST_STATIC_ASSERT(std::numeric_limits<T>::digits10 < CHAR_MAX);
 #endif
- CharT thousands_sep = np.thousands_sep();
- std::string::size_type group = 0; // current group number
- char last_grp_size = grouping[0];
- char left = last_grp_size;
+ CharT thousands_sep = np.thousands_sep();
+ std::string::size_type group = 0; // current group number
+ char last_grp_size = grouping[0];
+ char left = last_grp_size;
 
- do
- {
- if(left == 0)
+ do
                     {
- ++group;
- if(group < grouping_size)
+ if(left == 0)
                         {
- char const grp_size = grouping[group];
- last_grp_size = grp_size <= 0 ? CHAR_MAX : grp_size;
+ ++group;
+ if(group < grouping_size)
+ {
+ char const grp_size = grouping[group];
+ last_grp_size = grp_size <= 0 ? CHAR_MAX : grp_size;
+ }
+
+ left = last_grp_size;
+ --finish;
+ Traits::assign(*finish, thousands_sep);
                         }
 
- left = last_grp_size;
- --finish;
- Traits::assign(*finish, thousands_sep);
- }
+ --left;
 
- --left;
-
- --finish;
- int_type const digit = static_cast<int_type>(n % 10U);
- Traits::assign(*finish, Traits::to_char_type(zero + digit));
- n /= 10;
- } while(n);
-
- } else
+ --finish;
+ int_type const digit = static_cast<int_type>(n % 10U);
+ Traits::assign(*finish, Traits::to_char_type(zero + digit));
+ n /= 10;
+ } while(n);
+ return finish;
+ }
+ }
 #endif
             {
                 do
@@ -551,61 +558,63 @@
 
 #ifndef BOOST_LEXICAL_CAST_ASSUME_C_LOCALE
             std::locale loc;
- typedef std::numpunct<CharT> numpunct;
- numpunct const& np = BOOST_USE_FACET(numpunct, loc);
- std::string const& grouping = np.grouping();
- std::string::size_type const grouping_size = grouping.size();
+ if (loc != std::locale::classic()) {
+ typedef std::numpunct<CharT> numpunct;
+ numpunct const& np = BOOST_USE_FACET(numpunct, loc);
+ std::string const& grouping = np.grouping();
+ std::string::size_type const grouping_size = grouping.size();
 
- /* According to Programming languages - C++
- * we MUST check for correct grouping
- */
- if (grouping_size && grouping[0] > 0)
- {
- unsigned char current_grouping = 0;
- CharT const thousands_sep = np.thousands_sep();
- char remained = grouping[current_grouping] - 1;
- bool shall_we_return = true;
-
- for(;end>=begin; --end)
+ /* According to Programming languages - C++
+ * we MUST check for correct grouping
+ */
+ if (grouping_size && grouping[0] > 0)
                 {
- if (remained) {
- T const new_sub_value = multiplier * 10 * (*end - czero);
+ unsigned char current_grouping = 0;
+ CharT const thousands_sep = np.thousands_sep();
+ char remained = grouping[current_grouping] - 1;
+ bool shall_we_return = true;
 
- if (*end < czero || *end >= czero + 10
- /* detecting overflow */
- || new_sub_value/10 != multiplier * (*end - czero)
- || static_cast<T>((std::numeric_limits<T>::max)()-new_sub_value) < value
- )
- return false;
+ for(;end>=begin; --end)
+ {
+ if (remained) {
+ T const new_sub_value = multiplier * 10 * (*end - czero);
 
- value += new_sub_value;
- multiplier *= 10;
- --remained;
- } else {
- if ( !Traits::eq(*end, thousands_sep) ) //|| begin == end ) return false;
- {
- /*
- * According to Programming languages - C++
- * Digit grouping is checked. That is, the positions of discarded
- * separators is examined for consistency with
- * use_facet<numpunct<charT> >(loc ).grouping()
- *
- * BUT what if there is no separators at all and grouping()
- * is not empty? Well, we have no extraced separators, so we
- * won`t check them for consistency. This will allow us to
- * work with "C" locale from other locales
- */
- shall_we_return = false;
- break;
+ if (*end < czero || *end >= czero + 10
+ /* detecting overflow */
+ || new_sub_value/10 != multiplier * (*end - czero)
+ || static_cast<T>((std::numeric_limits<T>::max)()-new_sub_value) < value
+ )
+ return false;
+
+ value += new_sub_value;
+ multiplier *= 10;
+ --remained;
                         } else {
- if ( begin == end ) return false;
- if (current_grouping < grouping_size-1 ) ++current_grouping;
- remained = grouping[current_grouping];
+ if ( !Traits::eq(*end, thousands_sep) ) //|| begin == end ) return false;
+ {
+ /*
+ * According to Programming languages - C++
+ * Digit grouping is checked. That is, the positions of discarded
+ * separators is examined for consistency with
+ * use_facet<numpunct<charT> >(loc ).grouping()
+ *
+ * BUT what if there is no separators at all and grouping()
+ * is not empty? Well, we have no extraced separators, so we
+ * won`t check them for consistency. This will allow us to
+ * work with "C" locale from other locales
+ */
+ shall_we_return = false;
+ break;
+ } else {
+ if ( begin == end ) return false;
+ if (current_grouping < grouping_size-1 ) ++current_grouping;
+ remained = grouping[current_grouping];
+ }
                         }
                     }
- }
 
- if (shall_we_return) return true;
+ if (shall_we_return) return true;
+ }
             }
 #endif
             {
@@ -809,7 +818,11 @@
             std::locale loc;
             typedef std::numpunct<CharT> numpunct;
             numpunct const& np = BOOST_USE_FACET(numpunct, loc);
- std::string const& grouping = np.grouping();
+ std::string const grouping(
+ (loc == std::locale::classic())
+ ? std::string()
+ : np.grouping()
+ );
             std::string::size_type const grouping_size = grouping.size();
             CharT const thousands_sep = grouping_size ? np.thousands_sep() : 0;
             CharT const decimal_point = np.decimal_point();

Modified: trunk/libs/conversion/doc/lexical_cast.qbk
==============================================================================
--- trunk/libs/conversion/doc/lexical_cast.qbk (original)
+++ trunk/libs/conversion/doc/lexical_cast.qbk 2011-09-17 05:09:27 EDT (Sat, 17 Sep 2011)
@@ -243,457 +243,365 @@
 
 [section clang-linux-2.8][table:id Performance Table (clang-linux-2.8)
 [[From->To] [lexical_cast] [std::stringstream with construction] [std::stringstream without construction][scanf/printf]]
-[[ string->char ][ !!! *<1* !!! ][ 106 ][ 11 ][ 11 ]]
-[[ string->signed char ][ !!! *<1* !!! ][ 102 ][ 8 ][ 8 ]]
-[[ string->unsigned char ][ !!! *<1* !!! ][ 83 ][ 7 ][ 15 ]]
-[[ string->int ][ !!! *8* !!! ][ 114 ][ 21 ][ 17 ]]
-[[ string->short ][ !!! *10* !!! ][ 111 ][ 20 ][ 17 ]]
-[[ string->long int ][ !!! *9* !!! ][ 113 ][ 20 ][ 16 ]]
-[[ string->long long ][ !!! *9* !!! ][ 112 ][ 21 ][ 16 ]]
-[[ string->unsigned int ][ !!! *9* !!! ][ 115 ][ 23 ][ 17 ]]
-[[ string->unsigned short ][ !!! *7* !!! ][ 111 ][ 21 ][ 16 ]]
-[[ string->unsigned long int ][ !!! *9* !!! ][ 106 ][ 20 ][ 17 ]]
-[[ string->unsigned long long ][ !!! *9* !!! ][ 104 ][ 21 ][ 17 ]]
-[[ string->bool ][ !!! *<1* !!! ][ 101 ][ 17 ][ 10 ]]
-[[ string->float ][ !!! *16* !!! ][ 175 ][ 67 ][ 33 ]]
-[[ string->double ][ !!! *18* !!! ][ 196 ][ 91 ][ 56 ]]
-[[ string->long double ][ 126 ][ 198 ][ 92 ][ !!! *61* !!! ]]
-[[ char->string ][ !!! *12* !!! ][ 101 ][ 16 ][ 12 ]]
-[[ unsigned char->string ][ !!! *10* !!! ][ 103 ][ 18 ][ 17 ]]
-[[ signed char->string ][ !!! *12* !!! ][ 101 ][ 18 ][ 12 ]]
-[[ int->string ][ !!! *19* !!! ][ 124 ][ 25 ][ 19 ]]
-[[ short->string ][ 23 ][ 124 ][ 26 ][ !!! *17* !!! ]]
-[[ long int->string ][ 20 ][ 123 ][ 23 ][ !!! *17* !!! ]]
-[[ long long->string ][ 19 ][ 124 ][ 23 ][ !!! *18* !!! ]]
-[[ unsigned int->string ][ 18 ][ 122 ][ 28 ][ !!! *17* !!! ]]
-[[ unsigned short->string ][ 36 ][ 160 ][ 31 ][ !!! *17* !!! ]]
-[[ unsigned long int->string ][ 22 ][ 123 ][ 28 ][ !!! *18* !!! ]]
-[[ unsigned long long->string ][ !!! *23* !!! ][ 137 ][ 32 ][ 23 ]]
-[[ bool->string ][ !!! *11* !!! ][ 124 ][ 26 ][ 17 ]]
-[[ float->string ][ 178 ][ 273 ][ 124 ][ !!! *57* !!! ]]
-[[ double->string ][ 227 ][ 450 ][ 241 ][ !!! *77* !!! ]]
-[[ long double->string ][ 249 ][ 331 ][ 185 ][ !!! *85* !!! ]]
-[[ char*->char ][ !!! *<1* !!! ][ 109 ][ 9 ][ 11 ]]
-[[ char*->signed char ][ !!! *<1* !!! ][ 105 ][ 15 ][ 8 ]]
-[[ char*->unsigned char ][ !!! *<1* !!! ][ 111 ][ 11 ][ 20 ]]
-[[ char*->int ][ !!! *7* !!! ][ 143 ][ 25 ][ 19 ]]
-[[ char*->short ][ !!! *10* !!! ][ 131 ][ 24 ][ 18 ]]
-[[ char*->long int ][ !!! *12* !!! ][ 134 ][ 24 ][ 18 ]]
-[[ char*->long long ][ !!! *12* !!! ][ 132 ][ 26 ][ 17 ]]
-[[ char*->unsigned int ][ !!! *10* !!! ][ 133 ][ 26 ][ 19 ]]
-[[ char*->unsigned short ][ !!! *11* !!! ][ 127 ][ 24 ][ 20 ]]
-[[ char*->unsigned long int ][ !!! *10* !!! ][ 143 ][ 26 ][ 19 ]]
-[[ char*->unsigned long long ][ !!! *12* !!! ][ 137 ][ 26 ][ 19 ]]
-[[ char*->bool ][ !!! *2* !!! ][ 138 ][ 27 ][ 13 ]]
-[[ char*->float ][ !!! *19* !!! ][ 186 ][ 65 ][ 31 ]]
-[[ char*->double ][ !!! *19* !!! ][ 195 ][ 96 ][ 57 ]]
-[[ char*->long double ][ 134 ][ 200 ][ 92 ][ !!! *61* !!! ]]
-[[ unsigned char*->char ][ !!! *<1* !!! ][ 87 ][ 8 ][ 10 ]]
-[[ unsigned char*->signed char ][ !!! *<1* !!! ][ 87 ][ 8 ][ 10 ]]
-[[ unsigned char*->unsigned char ][ !!! *<1* !!! ][ 89 ][ 8 ][ 16 ]]
-[[ unsigned char*->int ][ !!! *10* !!! ][ 117 ][ 22 ][ 17 ]]
-[[ unsigned char*->short ][ !!! *11* !!! ][ 117 ][ 21 ][ 17 ]]
-[[ unsigned char*->long int ][ !!! *10* !!! ][ 116 ][ 22 ][ 17 ]]
-[[ unsigned char*->long long ][ !!! *9* !!! ][ 116 ][ 22 ][ 17 ]]
-[[ unsigned char*->unsigned int ][ !!! *10* !!! ][ 117 ][ 24 ][ 17 ]]
-[[ unsigned char*->unsigned short ][ !!! *11* !!! ][ 119 ][ 22 ][ 17 ]]
-[[ unsigned char*->unsigned long int ][ !!! *10* !!! ][ 111 ][ 21 ][ 17 ]]
-[[ unsigned char*->unsigned long long ][ !!! *10* !!! ][ 109 ][ 21 ][ 17 ]]
-[[ unsigned char*->bool ][ !!! *<1* !!! ][ 105 ][ 18 ][ 10 ]]
-[[ unsigned char*->float ][ !!! *17* !!! ][ 174 ][ 66 ][ 33 ]]
-[[ unsigned char*->double ][ !!! *19* !!! ][ 198 ][ 91 ][ 56 ]]
-[[ unsigned char*->long double ][ 129 ][ 200 ][ 92 ][ !!! *58* !!! ]]
-[[ unsigned char*->string ][ !!! *12* !!! ][ 122 ][ 20 ][ --- ]]
-[[ signed char*->char ][ !!! *<1* !!! ][ 87 ][ 8 ][ 9 ]]
-[[ signed char*->signed char ][ !!! *<1* !!! ][ 86 ][ 8 ][ 10 ]]
-[[ signed char*->unsigned char ][ !!! *<1* !!! ][ 93 ][ 8 ][ 16 ]]
-[[ signed char*->int ][ !!! *10* !!! ][ 117 ][ 21 ][ 17 ]]
-[[ signed char*->short ][ !!! *11* !!! ][ 117 ][ 22 ][ 17 ]]
-[[ signed char*->long int ][ !!! *10* !!! ][ 115 ][ 21 ][ 17 ]]
-[[ signed char*->long long ][ !!! *10* !!! ][ 115 ][ 24 ][ 17 ]]
-[[ signed char*->unsigned int ][ !!! *10* !!! ][ 118 ][ 24 ][ 17 ]]
-[[ signed char*->unsigned short ][ !!! *11* !!! ][ 139 ][ 27 ][ 20 ]]
-[[ signed char*->unsigned long int ][ !!! *9* !!! ][ 144 ][ 27 ][ 19 ]]
-[[ signed char*->unsigned long long ][ !!! *7* !!! ][ 127 ][ 25 ][ 22 ]]
-[[ signed char*->bool ][ !!! *<1* !!! ][ 123 ][ 23 ][ 9 ]]
-[[ signed char*->float ][ !!! *21* !!! ][ 207 ][ 80 ][ 41 ]]
-[[ signed char*->double ][ !!! *23* !!! ][ 255 ][ 115 ][ 68 ]]
-[[ signed char*->long double ][ 159 ][ 275 ][ 125 ][ !!! *72* !!! ]]
-[[ signed char*->string ][ !!! *16* !!! ][ 155 ][ 27 ][ --- ]]
-[[ int->int ][ !!! *<1* !!! ][ 150 ][ 32 ][ --- ]]
-[[ float->double ][ !!! *<1* !!! ][ 304 ][ 162 ][ --- ]]
-[[ double->double ][ !!! *<1* !!! ][ 298 ][ 168 ][ --- ]]
-[[ int->int ][ !!! *<1* !!! ][ 311 ][ 154 ][ --- ]]
-[[ int->int ][ !!! *<1* !!! ][ 308 ][ 154 ][ --- ]]
-[[ char->unsigned char ][ !!! *<1* !!! ][ 97 ][ 9 ][ --- ]]
-[[ char->signed char ][ !!! *<1* !!! ][ 94 ][ 11 ][ --- ]]
-[[ unsigned char->char ][ !!! *<1* !!! ][ 106 ][ 8 ][ --- ]]
-[[ signed char->char ][ !!! *<1* !!! ][ 111 ][ 8 ][ --- ]]
-]
-[endsect]
-[section gcc-4.3][table:id Performance Table (gcc-4.3)
-[[From->To] [lexical_cast] [std::stringstream with construction] [std::stringstream without construction][scanf/printf]]
-[[ string->char ][ !!! *<1* !!! ][ 92 ][ 7 ][ 8 ]]
-[[ string->signed char ][ !!! *<1* !!! ][ 92 ][ 7 ][ 8 ]]
-[[ string->unsigned char ][ !!! *<1* !!! ][ 92 ][ 7 ][ 13 ]]
-[[ string->int ][ !!! *6* !!! ][ 115 ][ 21 ][ 14 ]]
-[[ string->short ][ !!! *7* !!! ][ 141 ][ 26 ][ 24 ]]
-[[ string->long int ][ !!! *7* !!! ][ 141 ][ 27 ][ 18 ]]
-[[ string->long long ][ !!! *7* !!! ][ 153 ][ 28 ][ 17 ]]
-[[ string->unsigned int ][ !!! *7* !!! ][ 156 ][ 26 ][ 18 ]]
-[[ string->unsigned short ][ !!! *8* !!! ][ 146 ][ 25 ][ 18 ]]
-[[ string->unsigned long int ][ !!! *9* !!! ][ 143 ][ 29 ][ 37 ]]
-[[ string->unsigned long long ][ !!! *14* !!! ][ 135 ][ 20 ][ 15 ]]
-[[ string->bool ][ !!! *<1* !!! ][ 117 ][ 20 ][ 8 ]]
-[[ string->float ][ !!! *15* !!! ][ 177 ][ 63 ][ 31 ]]
-[[ string->double ][ !!! *15* !!! ][ 198 ][ 89 ][ 54 ]]
-[[ string->long double ][ 133 ][ 198 ][ 88 ][ !!! *55* !!! ]]
-[[ char->string ][ !!! *10* !!! ][ 108 ][ 16 ][ 12 ]]
-[[ unsigned char->string ][ !!! *10* !!! ][ 119 ][ 18 ][ 15 ]]
-[[ signed char->string ][ !!! *10* !!! ][ 111 ][ 24 ][ 11 ]]
-[[ int->string ][ !!! *14* !!! ][ 129 ][ 22 ][ 15 ]]
-[[ short->string ][ !!! *14* !!! ][ 128 ][ 22 ][ 17 ]]
-[[ long int->string ][ !!! *14* !!! ][ 127 ][ 21 ][ 17 ]]
-[[ long long->string ][ !!! *14* !!! ][ 127 ][ 22 ][ 18 ]]
-[[ unsigned int->string ][ !!! *15* !!! ][ 124 ][ 22 ][ 17 ]]
-[[ unsigned short->string ][ 16 ][ 125 ][ 22 ][ !!! *15* !!! ]]
-[[ unsigned long int->string ][ !!! *15* !!! ][ 125 ][ 22 ][ 17 ]]
-[[ unsigned long long->string ][ !!! *18* !!! ][ 138 ][ 34 ][ 23 ]]
-[[ bool->string ][ !!! *7* !!! ][ 120 ][ 22 ][ 12 ]]
-[[ float->string ][ 136 ][ 229 ][ 110 ][ !!! *48* !!! ]]
-[[ double->string ][ 184 ][ 270 ][ 136 ][ !!! *67* !!! ]]
-[[ long double->string ][ 198 ][ 264 ][ 148 ][ !!! *69* !!! ]]
-[[ char*->char ][ !!! *<1* !!! ][ 98 ][ 8 ][ 8 ]]
-[[ char*->signed char ][ !!! *<1* !!! ][ 99 ][ 8 ][ 8 ]]
-[[ char*->unsigned char ][ !!! *<1* !!! ][ 96 ][ 8 ][ 14 ]]
-[[ char*->int ][ !!! *8* !!! ][ 120 ][ 21 ][ 15 ]]
-[[ char*->short ][ !!! *8* !!! ][ 122 ][ 22 ][ 16 ]]
-[[ char*->long int ][ !!! *8* !!! ][ 122 ][ 24 ][ 16 ]]
-[[ char*->long long ][ !!! *8* !!! ][ 120 ][ 23 ][ 14 ]]
-[[ char*->unsigned int ][ !!! *7* !!! ][ 123 ][ 23 ][ 15 ]]
-[[ char*->unsigned short ][ !!! *8* !!! ][ 123 ][ 24 ][ 15 ]]
-[[ char*->unsigned long int ][ !!! *8* !!! ][ 121 ][ 22 ][ 14 ]]
-[[ char*->unsigned long long ][ !!! *7* !!! ][ 116 ][ 20 ][ 16 ]]
-[[ char*->bool ][ !!! *<1* !!! ][ 107 ][ 18 ][ 10 ]]
-[[ char*->float ][ !!! *14* !!! ][ 181 ][ 67 ][ 32 ]]
-[[ char*->double ][ !!! *16* !!! ][ 197 ][ 88 ][ 53 ]]
-[[ char*->long double ][ 127 ][ 208 ][ 93 ][ !!! *56* !!! ]]
-[[ unsigned char*->char ][ !!! *<1* !!! ][ 94 ][ 8 ][ 8 ]]
-[[ unsigned char*->signed char ][ !!! *<1* !!! ][ 93 ][ 8 ][ 10 ]]
-[[ unsigned char*->unsigned char ][ !!! *<1* !!! ][ 94 ][ 8 ][ 15 ]]
-[[ unsigned char*->int ][ !!! *7* !!! ][ 117 ][ 21 ][ 16 ]]
-[[ unsigned char*->short ][ !!! *8* !!! ][ 119 ][ 21 ][ 16 ]]
-[[ unsigned char*->long int ][ !!! *7* !!! ][ 117 ][ 22 ][ 16 ]]
-[[ unsigned char*->long long ][ !!! *8* !!! ][ 119 ][ 23 ][ 16 ]]
-[[ unsigned char*->unsigned int ][ !!! *10* !!! ][ 123 ][ 20 ][ 15 ]]
-[[ unsigned char*->unsigned short ][ !!! *8* !!! ][ 122 ][ 24 ][ 15 ]]
-[[ unsigned char*->unsigned long int ][ !!! *8* !!! ][ 120 ][ 21 ][ 14 ]]
-[[ unsigned char*->unsigned long long ][ !!! *8* !!! ][ 118 ][ 23 ][ 16 ]]
-[[ unsigned char*->bool ][ !!! *1* !!! ][ 108 ][ 18 ][ 8 ]]
-[[ unsigned char*->float ][ !!! *13* !!! ][ 182 ][ 63 ][ 30 ]]
-[[ unsigned char*->double ][ !!! *16* !!! ][ 204 ][ 87 ][ 53 ]]
-[[ unsigned char*->long double ][ 126 ][ 206 ][ 90 ][ !!! *60* !!! ]]
-[[ unsigned char*->string ][ !!! *9* !!! ][ 123 ][ 21 ][ --- ]]
-[[ signed char*->char ][ !!! *<1* !!! ][ 95 ][ 8 ][ 10 ]]
-[[ signed char*->signed char ][ !!! *<1* !!! ][ 94 ][ 8 ][ 10 ]]
-[[ signed char*->unsigned char ][ !!! *<1* !!! ][ 94 ][ 8 ][ 15 ]]
-[[ signed char*->int ][ !!! *8* !!! ][ 117 ][ 22 ][ 16 ]]
-[[ signed char*->short ][ !!! *7* !!! ][ 117 ][ 22 ][ 16 ]]
-[[ signed char*->long int ][ !!! *8* !!! ][ 118 ][ 25 ][ 15 ]]
-[[ signed char*->long long ][ !!! *7* !!! ][ 117 ][ 24 ][ 16 ]]
-[[ signed char*->unsigned int ][ !!! *7* !!! ][ 120 ][ 20 ][ 16 ]]
-[[ signed char*->unsigned short ][ !!! *8* !!! ][ 124 ][ 24 ][ 15 ]]
-[[ signed char*->unsigned long int ][ !!! *8* !!! ][ 115 ][ 21 ][ 16 ]]
-[[ signed char*->unsigned long long ][ !!! *9* !!! ][ 120 ][ 21 ][ 16 ]]
-[[ signed char*->bool ][ !!! *1* !!! ][ 112 ][ 19 ][ 8 ]]
-[[ signed char*->float ][ !!! *14* !!! ][ 183 ][ 64 ][ 31 ]]
-[[ signed char*->double ][ !!! *18* !!! ][ 208 ][ 87 ][ 51 ]]
-[[ signed char*->long double ][ 126 ][ 217 ][ 94 ][ !!! *55* !!! ]]
-[[ signed char*->string ][ !!! *12* !!! ][ 126 ][ 22 ][ --- ]]
-[[ int->int ][ !!! *<1* !!! ][ 146 ][ 23 ][ --- ]]
-[[ float->double ][ !!! *<1* !!! ][ 275 ][ 139 ][ --- ]]
-[[ double->double ][ !!! *<1* !!! ][ 270 ][ 142 ][ --- ]]
-[[ int->int ][ !!! *<1* !!! ][ 281 ][ 145 ][ --- ]]
-[[ int->int ][ !!! *<1* !!! ][ 301 ][ 145 ][ --- ]]
-[[ char->unsigned char ][ !!! *<1* !!! ][ 96 ][ 7 ][ --- ]]
-[[ char->signed char ][ !!! *<1* !!! ][ 95 ][ 7 ][ --- ]]
-[[ unsigned char->char ][ !!! *<1* !!! ][ 96 ][ 7 ][ --- ]]
-[[ signed char->char ][ !!! *<1* !!! ][ 91 ][ 7 ][ --- ]]
+[[ string->char ][ !!! *<1* !!! ][ 148 ][ 14 ][ 12 ]]
+[[ string->signed char ][ !!! *<1* !!! ][ 97 ][ 8 ][ 7 ]]
+[[ string->unsigned char ][ !!! *<1* !!! ][ 90 ][ 8 ][ 13 ]]
+[[ string->int ][ !!! *4* !!! ][ 102 ][ 19 ][ 15 ]]
+[[ string->short ][ !!! *4* !!! ][ 105 ][ 20 ][ 15 ]]
+[[ string->long int ][ !!! *4* !!! ][ 105 ][ 19 ][ 15 ]]
+[[ string->long long ][ !!! *4* !!! ][ 115 ][ 19 ][ 14 ]]
+[[ string->unsigned int ][ !!! *4* !!! ][ 102 ][ 18 ][ 14 ]]
+[[ string->unsigned short ][ !!! *4* !!! ][ 101 ][ 19 ][ 15 ]]
+[[ string->unsigned long int ][ !!! *3* !!! ][ 107 ][ 20 ][ 14 ]]
+[[ string->unsigned long long ][ !!! *3* !!! ][ 103 ][ 20 ][ 14 ]]
+[[ string->bool ][ !!! *<1* !!! ][ 97 ][ 16 ][ 8 ]]
+[[ string->float ][ !!! *21* !!! ][ 170 ][ 61 ][ 32 ]]
+[[ string->double ][ !!! *18* !!! ][ 206 ][ 93 ][ 58 ]]
+[[ string->long double ][ 135 ][ 221 ][ 94 ][ !!! *57* !!! ]]
+[[ char->string ][ !!! *7* !!! ][ 100 ][ 17 ][ 13 ]]
+[[ unsigned char->string ][ !!! *7* !!! ][ 99 ][ 18 ][ 16 ]]
+[[ signed char->string ][ !!! *7* !!! ][ 101 ][ 17 ][ 12 ]]
+[[ int->string ][ !!! *13* !!! ][ 110 ][ 23 ][ 15 ]]
+[[ short->string ][ !!! *13* !!! ][ 112 ][ 24 ][ 18 ]]
+[[ long int->string ][ !!! *13* !!! ][ 119 ][ 23 ][ 17 ]]
+[[ long long->string ][ !!! *13* !!! ][ 110 ][ 23 ][ 18 ]]
+[[ unsigned int->string ][ !!! *14* !!! ][ 113 ][ 24 ][ 17 ]]
+[[ unsigned short->string ][ !!! *13* !!! ][ 108 ][ 24 ][ 17 ]]
+[[ unsigned long int->string ][ !!! *13* !!! ][ 109 ][ 24 ][ 16 ]]
+[[ unsigned long long->string ][ !!! *13* !!! ][ 110 ][ 23 ][ 17 ]]
+[[ bool->string ][ !!! *7* !!! ][ 105 ][ 24 ][ 12 ]]
+[[ float->string ][ 70 ][ 192 ][ 94 ][ !!! *49* !!! ]]
+[[ double->string ][ 106 ][ 217 ][ 122 ][ !!! *76* !!! ]]
+[[ long double->string ][ 120 ][ 219 ][ 123 ][ !!! *80* !!! ]]
+[[ char*->char ][ !!! *2* !!! ][ 90 ][ 9 ][ 8 ]]
+[[ char*->signed char ][ !!! *2* !!! ][ 87 ][ 10 ][ 7 ]]
+[[ char*->unsigned char ][ !!! *3* !!! ][ 90 ][ 10 ][ 13 ]]
+[[ char*->int ][ !!! *6* !!! ][ 107 ][ 21 ][ 15 ]]
+[[ char*->short ][ !!! *6* !!! ][ 110 ][ 19 ][ 14 ]]
+[[ char*->long int ][ !!! *6* !!! ][ 103 ][ 19 ][ 14 ]]
+[[ char*->long long ][ !!! *7* !!! ][ 104 ][ 20 ][ 15 ]]
+[[ char*->unsigned int ][ !!! *6* !!! ][ 101 ][ 20 ][ 15 ]]
+[[ char*->unsigned short ][ !!! *7* !!! ][ 100 ][ 20 ][ 14 ]]
+[[ char*->unsigned long int ][ !!! *6* !!! ][ 105 ][ 22 ][ 15 ]]
+[[ char*->unsigned long long ][ !!! *7* !!! ][ 106 ][ 21 ][ 14 ]]
+[[ char*->bool ][ !!! *2* !!! ][ 99 ][ 18 ][ 7 ]]
+[[ char*->float ][ !!! *22* !!! ][ 159 ][ 67 ][ 33 ]]
+[[ char*->double ][ !!! *20* !!! ][ 205 ][ 94 ][ 58 ]]
+[[ char*->long double ][ 140 ][ 214 ][ 95 ][ !!! *58* !!! ]]
+[[ unsigned char*->char ][ !!! *2* !!! ][ 92 ][ 9 ][ 7 ]]
+[[ unsigned char*->signed char ][ !!! *2* !!! ][ 89 ][ 10 ][ 7 ]]
+[[ unsigned char*->unsigned char ][ !!! *2* !!! ][ 89 ][ 10 ][ 14 ]]
+[[ unsigned char*->int ][ !!! *6* !!! ][ 104 ][ 20 ][ 14 ]]
+[[ unsigned char*->short ][ !!! *6* !!! ][ 106 ][ 21 ][ 14 ]]
+[[ unsigned char*->long int ][ !!! *6* !!! ][ 105 ][ 19 ][ 14 ]]
+[[ unsigned char*->long long ][ !!! *6* !!! ][ 106 ][ 20 ][ 15 ]]
+[[ unsigned char*->unsigned int ][ !!! *7* !!! ][ 105 ][ 19 ][ 14 ]]
+[[ unsigned char*->unsigned short ][ !!! *6* !!! ][ 103 ][ 19 ][ 14 ]]
+[[ unsigned char*->unsigned long int ][ !!! *6* !!! ][ 106 ][ 19 ][ 14 ]]
+[[ unsigned char*->unsigned long long ][ !!! *6* !!! ][ 104 ][ 21 ][ 15 ]]
+[[ unsigned char*->bool ][ !!! *2* !!! ][ 102 ][ 18 ][ 7 ]]
+[[ unsigned char*->float ][ !!! *23* !!! ][ 160 ][ 66 ][ 32 ]]
+[[ unsigned char*->double ][ !!! *20* !!! ][ 201 ][ 95 ][ 58 ]]
+[[ unsigned char*->long double ][ 144 ][ 221 ][ 95 ][ !!! *60* !!! ]]
+[[ unsigned char*->string ][ !!! *12* !!! ][ 104 ][ 23 ][ --- ]]
+[[ signed char*->char ][ !!! *2* !!! ][ 90 ][ 9 ][ 7 ]]
+[[ signed char*->signed char ][ !!! *2* !!! ][ 89 ][ 9 ][ 7 ]]
+[[ signed char*->unsigned char ][ !!! *2* !!! ][ 89 ][ 10 ][ 13 ]]
+[[ signed char*->int ][ !!! *6* !!! ][ 106 ][ 19 ][ 15 ]]
+[[ signed char*->short ][ !!! *6* !!! ][ 107 ][ 20 ][ 15 ]]
+[[ signed char*->long int ][ !!! *6* !!! ][ 103 ][ 19 ][ 14 ]]
+[[ signed char*->long long ][ !!! *6* !!! ][ 103 ][ 19 ][ 14 ]]
+[[ signed char*->unsigned int ][ !!! *6* !!! ][ 101 ][ 19 ][ 15 ]]
+[[ signed char*->unsigned short ][ !!! *6* !!! ][ 101 ][ 19 ][ 16 ]]
+[[ signed char*->unsigned long int ][ !!! *6* !!! ][ 105 ][ 22 ][ 15 ]]
+[[ signed char*->unsigned long long ][ !!! *6* !!! ][ 104 ][ 21 ][ 15 ]]
+[[ signed char*->bool ][ !!! *2* !!! ][ 100 ][ 18 ][ 7 ]]
+[[ signed char*->float ][ !!! *23* !!! ][ 161 ][ 62 ][ 32 ]]
+[[ signed char*->double ][ !!! *20* !!! ][ 207 ][ 102 ][ 57 ]]
+[[ signed char*->long double ][ 144 ][ 216 ][ 96 ][ !!! *63* !!! ]]
+[[ signed char*->string ][ !!! *12* !!! ][ 104 ][ 23 ][ --- ]]
+[[ int->int ][ !!! *<1* !!! ][ 110 ][ 22 ][ --- ]]
+[[ float->double ][ !!! *<1* !!! ][ 223 ][ 113 ][ --- ]]
+[[ double->double ][ !!! *<1* !!! ][ 227 ][ 111 ][ --- ]]
+[[ int->int ][ !!! *<1* !!! ][ 231 ][ 122 ][ --- ]]
+[[ int->int ][ !!! *<1* !!! ][ 229 ][ 121 ][ --- ]]
+[[ char->unsigned char ][ !!! *<1* !!! ][ 90 ][ 8 ][ --- ]]
+[[ char->signed char ][ !!! *<1* !!! ][ 88 ][ 8 ][ --- ]]
+[[ unsigned char->char ][ !!! *<1* !!! ][ 89 ][ 8 ][ --- ]]
+[[ signed char->char ][ !!! *<1* !!! ][ 91 ][ 9 ][ --- ]]
 ]
 [endsect]
 [section gcc-4.4][table:id Performance Table (gcc-4.4)
 [[From->To] [lexical_cast] [std::stringstream with construction] [std::stringstream without construction][scanf/printf]]
-[[ string->char ][ !!! *<1* !!! ][ 81 ][ 8 ][ 8 ]]
-[[ string->signed char ][ !!! *<1* !!! ][ 110 ][ 7 ][ 9 ]]
-[[ string->unsigned char ][ !!! *<1* !!! ][ 94 ][ 8 ][ 18 ]]
-[[ string->int ][ !!! *9* !!! ][ 125 ][ 25 ][ 15 ]]
-[[ string->short ][ !!! *7* !!! ][ 113 ][ 25 ][ 15 ]]
-[[ string->long int ][ !!! *8* !!! ][ 112 ][ 24 ][ 15 ]]
-[[ string->long long ][ !!! *8* !!! ][ 109 ][ 22 ][ 15 ]]
-[[ string->unsigned int ][ !!! *8* !!! ][ 108 ][ 26 ][ 20 ]]
-[[ string->unsigned short ][ !!! *9* !!! ][ 125 ][ 22 ][ 18 ]]
-[[ string->unsigned long int ][ !!! *11* !!! ][ 125 ][ 32 ][ 17 ]]
-[[ string->unsigned long long ][ !!! *10* !!! ][ 119 ][ 23 ][ 19 ]]
-[[ string->bool ][ !!! *<1* !!! ][ 132 ][ 24 ][ 11 ]]
-[[ string->float ][ !!! *18* !!! ][ 178 ][ 75 ][ 37 ]]
-[[ string->double ][ !!! *24* !!! ][ 236 ][ 100 ][ 64 ]]
-[[ string->long double ][ 146 ][ 233 ][ 118 ][ !!! *75* !!! ]]
-[[ char->string ][ !!! *8* !!! ][ 136 ][ 22 ][ 13 ]]
-[[ unsigned char->string ][ !!! *11* !!! ][ 127 ][ 22 ][ 20 ]]
-[[ signed char->string ][ !!! *11* !!! ][ 128 ][ 21 ][ 15 ]]
-[[ int->string ][ 25 ][ 159 ][ 30 ][ !!! *20* !!! ]]
-[[ short->string ][ 25 ][ 151 ][ 30 ][ !!! *20* !!! ]]
-[[ long int->string ][ !!! *20* !!! ][ 150 ][ 30 ][ 20 ]]
-[[ long long->string ][ !!! *19* !!! ][ 164 ][ 26 ][ 21 ]]
-[[ unsigned int->string ][ 35 ][ 147 ][ 27 ][ !!! *20* !!! ]]
-[[ unsigned short->string ][ 26 ][ 149 ][ 26 ][ !!! *20* !!! ]]
-[[ unsigned long int->string ][ 19 ][ 142 ][ 38 ][ !!! *17* !!! ]]
-[[ unsigned long long->string ][ !!! *20* !!! ][ 139 ][ 36 ][ 26 ]]
-[[ bool->string ][ !!! *10* !!! ][ 144 ][ 28 ][ 13 ]]
-[[ float->string ][ 166 ][ 268 ][ 127 ][ !!! *52* !!! ]]
-[[ double->string ][ 192 ][ 285 ][ 170 ][ !!! *90* !!! ]]
-[[ long double->string ][ 250 ][ 344 ][ 160 ][ !!! *85* !!! ]]
-[[ char*->char ][ !!! *<1* !!! ][ 90 ][ 9 ][ 8 ]]
-[[ char*->signed char ][ !!! *<1* !!! ][ 82 ][ 9 ][ 8 ]]
-[[ char*->unsigned char ][ !!! *<1* !!! ][ 88 ][ 8 ][ 13 ]]
-[[ char*->int ][ !!! *6* !!! ][ 113 ][ 26 ][ 14 ]]
-[[ char*->short ][ !!! *6* !!! ][ 114 ][ 25 ][ 14 ]]
-[[ char*->long int ][ !!! *6* !!! ][ 123 ][ 38 ][ 17 ]]
-[[ char*->long long ][ !!! *7* !!! ][ 126 ][ 37 ][ 17 ]]
-[[ char*->unsigned int ][ !!! *6* !!! ][ 134 ][ 26 ][ 18 ]]
-[[ char*->unsigned short ][ !!! *8* !!! ][ 126 ][ 24 ][ 17 ]]
-[[ char*->unsigned long int ][ !!! *8* !!! ][ 121 ][ 24 ][ 17 ]]
-[[ char*->unsigned long long ][ !!! *5* !!! ][ 117 ][ 24 ][ 18 ]]
-[[ char*->bool ][ !!! *<1* !!! ][ 116 ][ 24 ][ 9 ]]
-[[ char*->float ][ !!! *16* !!! ][ 171 ][ 67 ][ 30 ]]
-[[ char*->double ][ !!! *15* !!! ][ 204 ][ 109 ][ 64 ]]
-[[ char*->long double ][ 152 ][ 250 ][ 110 ][ !!! *71* !!! ]]
-[[ unsigned char*->char ][ !!! *<1* !!! ][ 109 ][ 11 ][ 11 ]]
-[[ unsigned char*->signed char ][ !!! *<1* !!! ][ 108 ][ 11 ][ 9 ]]
-[[ unsigned char*->unsigned char ][ !!! *<1* !!! ][ 106 ][ 11 ][ 17 ]]
-[[ unsigned char*->int ][ !!! *7* !!! ][ 143 ][ 31 ][ 17 ]]
-[[ unsigned char*->short ][ !!! *9* !!! ][ 143 ][ 32 ][ 19 ]]
-[[ unsigned char*->long int ][ !!! *8* !!! ][ 153 ][ 30 ][ 18 ]]
-[[ unsigned char*->long long ][ !!! *10* !!! ][ 146 ][ 27 ][ 18 ]]
-[[ unsigned char*->unsigned int ][ !!! *9* !!! ][ 144 ][ 25 ][ 18 ]]
-[[ unsigned char*->unsigned short ][ !!! *9* !!! ][ 138 ][ 26 ][ 17 ]]
-[[ unsigned char*->unsigned long int ][ !!! *9* !!! ][ 143 ][ 25 ][ 18 ]]
-[[ unsigned char*->unsigned long long ][ !!! *10* !!! ][ 132 ][ 26 ][ 18 ]]
-[[ unsigned char*->bool ][ !!! *<1* !!! ][ 102 ][ 18 ][ 9 ]]
-[[ unsigned char*->float ][ !!! *13* !!! ][ 171 ][ 65 ][ 31 ]]
-[[ unsigned char*->double ][ !!! *14* !!! ][ 197 ][ 89 ][ 53 ]]
-[[ unsigned char*->long double ][ 122 ][ 208 ][ 89 ][ !!! *58* !!! ]]
-[[ unsigned char*->string ][ !!! *8* !!! ][ 115 ][ 20 ][ --- ]]
-[[ signed char*->char ][ !!! *<1* !!! ][ 93 ][ 10 ][ 9 ]]
-[[ signed char*->signed char ][ !!! *<1* !!! ][ 91 ][ 8 ][ 8 ]]
-[[ signed char*->unsigned char ][ !!! *<1* !!! ][ 90 ][ 10 ][ 15 ]]
-[[ signed char*->int ][ !!! *7* !!! ][ 112 ][ 26 ][ 16 ]]
-[[ signed char*->short ][ !!! *7* !!! ][ 112 ][ 26 ][ 16 ]]
-[[ signed char*->long int ][ !!! *6* !!! ][ 118 ][ 25 ][ 14 ]]
-[[ signed char*->long long ][ !!! *13* !!! ][ 114 ][ 25 ][ 14 ]]
-[[ signed char*->unsigned int ][ !!! *7* !!! ][ 114 ][ 23 ][ 16 ]]
-[[ signed char*->unsigned short ][ !!! *7* !!! ][ 107 ][ 25 ][ 16 ]]
-[[ signed char*->unsigned long int ][ !!! *7* !!! ][ 106 ][ 23 ][ 14 ]]
-[[ signed char*->unsigned long long ][ !!! *7* !!! ][ 103 ][ 22 ][ 16 ]]
-[[ signed char*->bool ][ !!! *<1* !!! ][ 110 ][ 20 ][ 9 ]]
-[[ signed char*->float ][ !!! *13* !!! ][ 175 ][ 66 ][ 32 ]]
-[[ signed char*->double ][ !!! *14* !!! ][ 203 ][ 90 ][ 53 ]]
-[[ signed char*->long double ][ 124 ][ 205 ][ 87 ][ !!! *55* !!! ]]
-[[ signed char*->string ][ !!! *8* !!! ][ 120 ][ 20 ][ --- ]]
-[[ int->int ][ !!! *<1* !!! ][ 116 ][ 28 ][ --- ]]
-[[ float->double ][ !!! *<1* !!! ][ 264 ][ 135 ][ --- ]]
-[[ double->double ][ !!! *<1* !!! ][ 260 ][ 140 ][ --- ]]
-[[ int->int ][ !!! *<1* !!! ][ 275 ][ 135 ][ --- ]]
-[[ int->int ][ !!! *<1* !!! ][ 274 ][ 135 ][ --- ]]
-[[ char->unsigned char ][ !!! *<1* !!! ][ 77 ][ 7 ][ --- ]]
-[[ char->signed char ][ !!! *<1* !!! ][ 79 ][ 7 ][ --- ]]
-[[ unsigned char->char ][ !!! *<1* !!! ][ 78 ][ 8 ][ --- ]]
-[[ signed char->char ][ !!! *<1* !!! ][ 83 ][ 7 ][ --- ]]
+[[ string->char ][ !!! *<1* !!! ][ 90 ][ 7 ][ 7 ]]
+[[ string->signed char ][ !!! *<1* !!! ][ 88 ][ 7 ][ 8 ]]
+[[ string->unsigned char ][ !!! *<1* !!! ][ 88 ][ 8 ][ 14 ]]
+[[ string->int ][ !!! *3* !!! ][ 103 ][ 18 ][ 15 ]]
+[[ string->short ][ !!! *3* !!! ][ 105 ][ 20 ][ 15 ]]
+[[ string->long int ][ !!! *3* !!! ][ 101 ][ 18 ][ 16 ]]
+[[ string->long long ][ !!! *3* !!! ][ 101 ][ 18 ][ 15 ]]
+[[ string->unsigned int ][ !!! *3* !!! ][ 98 ][ 23 ][ 14 ]]
+[[ string->unsigned short ][ !!! *3* !!! ][ 100 ][ 17 ][ 14 ]]
+[[ string->unsigned long int ][ !!! *3* !!! ][ 100 ][ 21 ][ 15 ]]
+[[ string->unsigned long long ][ !!! *3* !!! ][ 99 ][ 19 ][ 15 ]]
+[[ string->bool ][ !!! *<1* !!! ][ 95 ][ 16 ][ 8 ]]
+[[ string->float ][ !!! *13* !!! ][ 160 ][ 61 ][ 33 ]]
+[[ string->double ][ !!! *14* !!! ][ 206 ][ 93 ][ 59 ]]
+[[ string->long double ][ 128 ][ 217 ][ 96 ][ !!! *61* !!! ]]
+[[ char->string ][ !!! *7* !!! ][ 100 ][ 17 ][ 12 ]]
+[[ unsigned char->string ][ !!! *7* !!! ][ 109 ][ 17 ][ 16 ]]
+[[ signed char->string ][ !!! *7* !!! ][ 99 ][ 17 ][ 12 ]]
+[[ int->string ][ !!! *13* !!! ][ 110 ][ 21 ][ 15 ]]
+[[ short->string ][ !!! *14* !!! ][ 110 ][ 22 ][ 17 ]]
+[[ long int->string ][ !!! *14* !!! ][ 109 ][ 21 ][ 16 ]]
+[[ long long->string ][ !!! *13* !!! ][ 114 ][ 20 ][ 17 ]]
+[[ unsigned int->string ][ !!! *13* !!! ][ 109 ][ 23 ][ 15 ]]
+[[ unsigned short->string ][ !!! *14* !!! ][ 109 ][ 23 ][ 17 ]]
+[[ unsigned long int->string ][ !!! *13* !!! ][ 112 ][ 23 ][ 16 ]]
+[[ unsigned long long->string ][ !!! *14* !!! ][ 109 ][ 21 ][ 17 ]]
+[[ bool->string ][ !!! *7* !!! ][ 108 ][ 23 ][ 11 ]]
+[[ float->string ][ 63 ][ 185 ][ 92 ][ !!! *50* !!! ]]
+[[ double->string ][ 106 ][ 216 ][ 116 ][ !!! *75* !!! ]]
+[[ long double->string ][ 118 ][ 219 ][ 119 ][ !!! *80* !!! ]]
+[[ char*->char ][ !!! *1* !!! ][ 93 ][ 9 ][ 9 ]]
+[[ char*->signed char ][ !!! *1* !!! ][ 92 ][ 9 ][ 9 ]]
+[[ char*->unsigned char ][ !!! *1* !!! ][ 92 ][ 9 ][ 14 ]]
+[[ char*->int ][ !!! *4* !!! ][ 107 ][ 19 ][ 15 ]]
+[[ char*->short ][ !!! *5* !!! ][ 109 ][ 19 ][ 15 ]]
+[[ char*->long int ][ !!! *4* !!! ][ 113 ][ 19 ][ 15 ]]
+[[ char*->long long ][ !!! *4* !!! ][ 108 ][ 20 ][ 15 ]]
+[[ char*->unsigned int ][ !!! *4* !!! ][ 106 ][ 19 ][ 15 ]]
+[[ char*->unsigned short ][ !!! *4* !!! ][ 106 ][ 18 ][ 15 ]]
+[[ char*->unsigned long int ][ !!! *4* !!! ][ 103 ][ 22 ][ 15 ]]
+[[ char*->unsigned long long ][ !!! *4* !!! ][ 105 ][ 20 ][ 15 ]]
+[[ char*->bool ][ !!! *1* !!! ][ 104 ][ 18 ][ 8 ]]
+[[ char*->float ][ !!! *15* !!! ][ 164 ][ 62 ][ 33 ]]
+[[ char*->double ][ !!! *16* !!! ][ 203 ][ 97 ][ 58 ]]
+[[ char*->long double ][ 132 ][ 223 ][ 98 ][ !!! *60* !!! ]]
+[[ unsigned char*->char ][ !!! *2* !!! ][ 90 ][ 9 ][ 8 ]]
+[[ unsigned char*->signed char ][ !!! *2* !!! ][ 92 ][ 10 ][ 8 ]]
+[[ unsigned char*->unsigned char ][ !!! *2* !!! ][ 91 ][ 9 ][ 14 ]]
+[[ unsigned char*->int ][ !!! *6* !!! ][ 106 ][ 20 ][ 15 ]]
+[[ unsigned char*->short ][ !!! *6* !!! ][ 106 ][ 21 ][ 15 ]]
+[[ unsigned char*->long int ][ !!! *6* !!! ][ 111 ][ 19 ][ 15 ]]
+[[ unsigned char*->long long ][ !!! *6* !!! ][ 107 ][ 20 ][ 15 ]]
+[[ unsigned char*->unsigned int ][ !!! *6* !!! ][ 105 ][ 19 ][ 15 ]]
+[[ unsigned char*->unsigned short ][ !!! *6* !!! ][ 103 ][ 18 ][ 15 ]]
+[[ unsigned char*->unsigned long int ][ !!! *6* !!! ][ 106 ][ 22 ][ 14 ]]
+[[ unsigned char*->unsigned long long ][ !!! *6* !!! ][ 105 ][ 20 ][ 14 ]]
+[[ unsigned char*->bool ][ !!! *2* !!! ][ 106 ][ 18 ][ 8 ]]
+[[ unsigned char*->float ][ !!! *15* !!! ][ 167 ][ 68 ][ 33 ]]
+[[ unsigned char*->double ][ !!! *17* !!! ][ 203 ][ 99 ][ 58 ]]
+[[ unsigned char*->long double ][ 129 ][ 216 ][ 97 ][ !!! *61* !!! ]]
+[[ unsigned char*->string ][ !!! *13* !!! ][ 111 ][ 23 ][ --- ]]
+[[ signed char*->char ][ !!! *2* !!! ][ 92 ][ 9 ][ 8 ]]
+[[ signed char*->signed char ][ !!! *2* !!! ][ 91 ][ 9 ][ 8 ]]
+[[ signed char*->unsigned char ][ !!! *2* !!! ][ 91 ][ 9 ][ 14 ]]
+[[ signed char*->int ][ !!! *6* !!! ][ 107 ][ 19 ][ 15 ]]
+[[ signed char*->short ][ !!! *6* !!! ][ 109 ][ 24 ][ 14 ]]
+[[ signed char*->long int ][ !!! *6* !!! ][ 112 ][ 19 ][ 15 ]]
+[[ signed char*->long long ][ !!! *5* !!! ][ 107 ][ 20 ][ 15 ]]
+[[ signed char*->unsigned int ][ !!! *6* !!! ][ 108 ][ 20 ][ 15 ]]
+[[ signed char*->unsigned short ][ !!! *6* !!! ][ 104 ][ 18 ][ 15 ]]
+[[ signed char*->unsigned long int ][ !!! *6* !!! ][ 102 ][ 22 ][ 15 ]]
+[[ signed char*->unsigned long long ][ !!! *6* !!! ][ 104 ][ 20 ][ 15 ]]
+[[ signed char*->bool ][ !!! *2* !!! ][ 104 ][ 18 ][ 8 ]]
+[[ signed char*->float ][ !!! *16* !!! ][ 165 ][ 63 ][ 33 ]]
+[[ signed char*->double ][ !!! *16* !!! ][ 203 ][ 98 ][ 59 ]]
+[[ signed char*->long double ][ 129 ][ 215 ][ 98 ][ !!! *61* !!! ]]
+[[ signed char*->string ][ !!! *13* !!! ][ 109 ][ 21 ][ --- ]]
+[[ int->int ][ !!! *<1* !!! ][ 109 ][ 21 ][ --- ]]
+[[ float->double ][ !!! *<1* !!! ][ 221 ][ 102 ][ --- ]]
+[[ double->double ][ !!! *<1* !!! ][ 223 ][ 103 ][ --- ]]
+[[ int->int ][ !!! *<1* !!! ][ 231 ][ 115 ][ --- ]]
+[[ int->int ][ !!! *<1* !!! ][ 231 ][ 115 ][ --- ]]
+[[ char->unsigned char ][ !!! *<1* !!! ][ 92 ][ 8 ][ --- ]]
+[[ char->signed char ][ !!! *<1* !!! ][ 88 ][ 8 ][ --- ]]
+[[ unsigned char->char ][ !!! *<1* !!! ][ 88 ][ 7 ][ --- ]]
+[[ signed char->char ][ !!! *<1* !!! ][ 89 ][ 8 ][ --- ]]
 ]
 [endsect]
 [section gcc-4.5][table:id Performance Table (gcc-4.5)
 [[From->To] [lexical_cast] [std::stringstream with construction] [std::stringstream without construction][scanf/printf]]
-[[ string->char ][ !!! *<1* !!! ][ 86 ][ 8 ][ 9 ]]
-[[ string->signed char ][ !!! *<1* !!! ][ 88 ][ 9 ][ 9 ]]
-[[ string->unsigned char ][ !!! *<1* !!! ][ 87 ][ 8 ][ 15 ]]
-[[ string->int ][ !!! *6* !!! ][ 107 ][ 23 ][ 16 ]]
-[[ string->short ][ !!! *7* !!! ][ 108 ][ 25 ][ 15 ]]
-[[ string->long int ][ !!! *6* !!! ][ 110 ][ 26 ][ 15 ]]
-[[ string->long long ][ !!! *7* !!! ][ 110 ][ 26 ][ 15 ]]
-[[ string->unsigned int ][ !!! *6* !!! ][ 108 ][ 26 ][ 16 ]]
-[[ string->unsigned short ][ !!! *7* !!! ][ 105 ][ 24 ][ 15 ]]
-[[ string->unsigned long int ][ !!! *6* !!! ][ 108 ][ 23 ][ 15 ]]
-[[ string->unsigned long long ][ !!! *10* !!! ][ 104 ][ 24 ][ 15 ]]
-[[ string->bool ][ !!! *<1* !!! ][ 102 ][ 21 ][ 9 ]]
-[[ string->float ][ !!! *13* !!! ][ 173 ][ 64 ][ 34 ]]
-[[ string->double ][ !!! *15* !!! ][ 196 ][ 89 ][ 53 ]]
-[[ string->long double ][ 126 ][ 211 ][ 90 ][ !!! *56* !!! ]]
-[[ char->string ][ !!! *8* !!! ][ 107 ][ 20 ][ 10 ]]
-[[ unsigned char->string ][ !!! *8* !!! ][ 107 ][ 17 ][ 15 ]]
-[[ signed char->string ][ !!! *8* !!! ][ 108 ][ 19 ][ 10 ]]
-[[ int->string ][ 16 ][ 129 ][ 25 ][ !!! *15* !!! ]]
-[[ short->string ][ !!! *14* !!! ][ 128 ][ 25 ][ 17 ]]
-[[ long int->string ][ 20 ][ 128 ][ 24 ][ !!! *15* !!! ]]
-[[ long long->string ][ !!! *16* !!! ][ 128 ][ 25 ][ 16 ]]
-[[ unsigned int->string ][ !!! *15* !!! ][ 125 ][ 25 ][ 15 ]]
-[[ unsigned short->string ][ !!! *14* !!! ][ 125 ][ 24 ][ 15 ]]
-[[ unsigned long int->string ][ 16 ][ 125 ][ 25 ][ !!! *15* !!! ]]
-[[ unsigned long long->string ][ !!! *18* !!! ][ 140 ][ 32 ][ 22 ]]
-[[ bool->string ][ !!! *8* !!! ][ 121 ][ 24 ][ 10 ]]
-[[ float->string ][ 137 ][ 226 ][ 108 ][ !!! *48* !!! ]]
-[[ double->string ][ 174 ][ 255 ][ 141 ][ !!! *71* !!! ]]
-[[ long double->string ][ 208 ][ 268 ][ 144 ][ !!! *72* !!! ]]
-[[ char*->char ][ !!! *<1* !!! ][ 93 ][ 8 ][ 9 ]]
-[[ char*->signed char ][ !!! *<1* !!! ][ 94 ][ 9 ][ 9 ]]
-[[ char*->unsigned char ][ !!! *<1* !!! ][ 94 ][ 8 ][ 15 ]]
-[[ char*->int ][ !!! *7* !!! ][ 115 ][ 26 ][ 16 ]]
-[[ char*->short ][ !!! *8* !!! ][ 114 ][ 26 ][ 15 ]]
-[[ char*->long int ][ !!! *7* !!! ][ 115 ][ 27 ][ 16 ]]
-[[ char*->long long ][ !!! *7* !!! ][ 114 ][ 26 ][ 16 ]]
-[[ char*->unsigned int ][ !!! *8* !!! ][ 115 ][ 25 ][ 16 ]]
-[[ char*->unsigned short ][ !!! *7* !!! ][ 113 ][ 24 ][ 16 ]]
-[[ char*->unsigned long int ][ !!! *8* !!! ][ 117 ][ 23 ][ 16 ]]
-[[ char*->unsigned long long ][ !!! *8* !!! ][ 107 ][ 25 ][ 16 ]]
-[[ char*->bool ][ !!! *<1* !!! ][ 110 ][ 21 ][ 9 ]]
-[[ char*->float ][ !!! *17* !!! ][ 170 ][ 67 ][ 34 ]]
-[[ char*->double ][ !!! *14* !!! ][ 197 ][ 91 ][ 52 ]]
-[[ char*->long double ][ 127 ][ 206 ][ 89 ][ !!! *56* !!! ]]
-[[ unsigned char*->char ][ !!! *<1* !!! ][ 83 ][ 8 ][ 9 ]]
-[[ unsigned char*->signed char ][ !!! *<1* !!! ][ 83 ][ 10 ][ 9 ]]
-[[ unsigned char*->unsigned char ][ !!! *<1* !!! ][ 83 ][ 8 ][ 15 ]]
-[[ unsigned char*->int ][ !!! *7* !!! ][ 113 ][ 26 ][ 16 ]]
-[[ unsigned char*->short ][ !!! *7* !!! ][ 112 ][ 24 ][ 16 ]]
-[[ unsigned char*->long int ][ !!! *8* !!! ][ 114 ][ 26 ][ 16 ]]
-[[ unsigned char*->long long ][ !!! *8* !!! ][ 113 ][ 26 ][ 16 ]]
-[[ unsigned char*->unsigned int ][ !!! *8* !!! ][ 114 ][ 25 ][ 16 ]]
-[[ unsigned char*->unsigned short ][ !!! *8* !!! ][ 109 ][ 24 ][ 16 ]]
-[[ unsigned char*->unsigned long int ][ !!! *8* !!! ][ 111 ][ 23 ][ 16 ]]
-[[ unsigned char*->unsigned long long ][ !!! *7* !!! ][ 106 ][ 25 ][ 16 ]]
-[[ unsigned char*->bool ][ !!! *<1* !!! ][ 106 ][ 20 ][ 9 ]]
-[[ unsigned char*->float ][ !!! *14* !!! ][ 169 ][ 65 ][ 34 ]]
-[[ unsigned char*->double ][ !!! *16* !!! ][ 198 ][ 91 ][ 52 ]]
-[[ unsigned char*->long double ][ 127 ][ 205 ][ 88 ][ !!! *56* !!! ]]
-[[ unsigned char*->string ][ !!! *10* !!! ][ 123 ][ 21 ][ --- ]]
-[[ signed char*->char ][ !!! *<1* !!! ][ 90 ][ 9 ][ 9 ]]
-[[ signed char*->signed char ][ !!! *<1* !!! ][ 91 ][ 8 ][ 9 ]]
-[[ signed char*->unsigned char ][ !!! *<1* !!! ][ 92 ][ 8 ][ 15 ]]
-[[ signed char*->int ][ !!! *7* !!! ][ 116 ][ 26 ][ 16 ]]
-[[ signed char*->short ][ !!! *8* !!! ][ 113 ][ 26 ][ 15 ]]
-[[ signed char*->long int ][ !!! *8* !!! ][ 113 ][ 24 ][ 16 ]]
-[[ signed char*->long long ][ !!! *8* !!! ][ 113 ][ 27 ][ 16 ]]
-[[ signed char*->unsigned int ][ !!! *8* !!! ][ 113 ][ 25 ][ 16 ]]
-[[ signed char*->unsigned short ][ !!! *7* !!! ][ 107 ][ 24 ][ 16 ]]
-[[ signed char*->unsigned long int ][ !!! *7* !!! ][ 111 ][ 23 ][ 17 ]]
-[[ signed char*->unsigned long long ][ !!! *8* !!! ][ 105 ][ 25 ][ 16 ]]
-[[ signed char*->bool ][ !!! *<1* !!! ][ 106 ][ 21 ][ 9 ]]
-[[ signed char*->float ][ !!! *13* !!! ][ 169 ][ 63 ][ 34 ]]
-[[ signed char*->double ][ !!! *16* !!! ][ 196 ][ 90 ][ 52 ]]
-[[ signed char*->long double ][ 127 ][ 211 ][ 91 ][ !!! *60* !!! ]]
-[[ signed char*->string ][ !!! *9* !!! ][ 123 ][ 21 ][ --- ]]
-[[ int->int ][ !!! *<1* !!! ][ 120 ][ 29 ][ --- ]]
-[[ float->double ][ !!! *<1* !!! ][ 258 ][ 147 ][ --- ]]
-[[ double->double ][ !!! *<1* !!! ][ 261 ][ 140 ][ --- ]]
-[[ int->int ][ !!! *<1* !!! ][ 266 ][ 138 ][ --- ]]
-[[ int->int ][ !!! *<1* !!! ][ 266 ][ 137 ][ --- ]]
-[[ char->unsigned char ][ !!! *<1* !!! ][ 89 ][ 8 ][ --- ]]
-[[ char->signed char ][ !!! *<1* !!! ][ 91 ][ 8 ][ --- ]]
-[[ unsigned char->char ][ !!! *<1* !!! ][ 90 ][ 9 ][ --- ]]
+[[ string->char ][ !!! *<1* !!! ][ 91 ][ 8 ][ 7 ]]
+[[ string->signed char ][ !!! *<1* !!! ][ 91 ][ 8 ][ 7 ]]
+[[ string->unsigned char ][ !!! *<1* !!! ][ 90 ][ 8 ][ 13 ]]
+[[ string->int ][ !!! *3* !!! ][ 100 ][ 20 ][ 14 ]]
+[[ string->short ][ !!! *3* !!! ][ 106 ][ 20 ][ 14 ]]
+[[ string->long int ][ !!! *3* !!! ][ 100 ][ 18 ][ 14 ]]
+[[ string->long long ][ !!! *9* !!! ][ 100 ][ 18 ][ 15 ]]
+[[ string->unsigned int ][ !!! *3* !!! ][ 97 ][ 20 ][ 14 ]]
+[[ string->unsigned short ][ !!! *3* !!! ][ 102 ][ 17 ][ 14 ]]
+[[ string->unsigned long int ][ !!! *3* !!! ][ 97 ][ 21 ][ 14 ]]
+[[ string->unsigned long long ][ !!! *3* !!! ][ 97 ][ 19 ][ 14 ]]
+[[ string->bool ][ !!! *<1* !!! ][ 95 ][ 16 ][ 7 ]]
+[[ string->float ][ !!! *15* !!! ][ 157 ][ 63 ][ 32 ]]
+[[ string->double ][ !!! *17* !!! ][ 203 ][ 95 ][ 59 ]]
+[[ string->long double ][ 129 ][ 216 ][ 93 ][ !!! *58* !!! ]]
+[[ char->string ][ !!! *8* !!! ][ 100 ][ 17 ][ 10 ]]
+[[ unsigned char->string ][ !!! *8* !!! ][ 96 ][ 18 ][ 16 ]]
+[[ signed char->string ][ !!! *8* !!! ][ 96 ][ 18 ][ 10 ]]
+[[ int->string ][ !!! *14* !!! ][ 105 ][ 22 ][ 15 ]]
+[[ short->string ][ !!! *14* !!! ][ 107 ][ 23 ][ 17 ]]
+[[ long int->string ][ !!! *14* !!! ][ 109 ][ 22 ][ 17 ]]
+[[ long long->string ][ !!! *14* !!! ][ 105 ][ 22 ][ 18 ]]
+[[ unsigned int->string ][ !!! *14* !!! ][ 105 ][ 25 ][ 15 ]]
+[[ unsigned short->string ][ !!! *15* !!! ][ 105 ][ 23 ][ 17 ]]
+[[ unsigned long int->string ][ !!! *14* !!! ][ 109 ][ 24 ][ 17 ]]
+[[ unsigned long long->string ][ !!! *14* !!! ][ 102 ][ 23 ][ 17 ]]
+[[ bool->string ][ !!! *8* !!! ][ 104 ][ 23 ][ 12 ]]
+[[ float->string ][ 66 ][ 181 ][ 92 ][ !!! *49* !!! ]]
+[[ double->string ][ 107 ][ 215 ][ 120 ][ !!! *75* !!! ]]
+[[ long double->string ][ 117 ][ 221 ][ 125 ][ !!! *79* !!! ]]
+[[ char*->char ][ !!! *1* !!! ][ 89 ][ 9 ][ 7 ]]
+[[ char*->signed char ][ !!! *1* !!! ][ 90 ][ 9 ][ 7 ]]
+[[ char*->unsigned char ][ !!! *2* !!! ][ 90 ][ 9 ][ 13 ]]
+[[ char*->int ][ !!! *7* !!! ][ 103 ][ 20 ][ 15 ]]
+[[ char*->short ][ !!! *6* !!! ][ 102 ][ 29 ][ 14 ]]
+[[ char*->long int ][ !!! *7* !!! ][ 101 ][ 20 ][ 15 ]]
+[[ char*->long long ][ !!! *6* !!! ][ 102 ][ 20 ][ 14 ]]
+[[ char*->unsigned int ][ !!! *6* !!! ][ 99 ][ 19 ][ 14 ]]
+[[ char*->unsigned short ][ !!! *6* !!! ][ 101 ][ 18 ][ 14 ]]
+[[ char*->unsigned long int ][ !!! *6* !!! ][ 102 ][ 22 ][ 14 ]]
+[[ char*->unsigned long long ][ !!! *6* !!! ][ 101 ][ 21 ][ 14 ]]
+[[ char*->bool ][ !!! *3* !!! ][ 98 ][ 18 ][ 7 ]]
+[[ char*->float ][ !!! *18* !!! ][ 162 ][ 63 ][ 31 ]]
+[[ char*->double ][ !!! *17* !!! ][ 203 ][ 96 ][ 58 ]]
+[[ char*->long double ][ 135 ][ 214 ][ 98 ][ !!! *58* !!! ]]
+[[ unsigned char*->char ][ !!! *2* !!! ][ 87 ][ 9 ][ 7 ]]
+[[ unsigned char*->signed char ][ !!! *2* !!! ][ 87 ][ 9 ][ 7 ]]
+[[ unsigned char*->unsigned char ][ !!! *3* !!! ][ 87 ][ 9 ][ 13 ]]
+[[ unsigned char*->int ][ !!! *6* !!! ][ 105 ][ 20 ][ 14 ]]
+[[ unsigned char*->short ][ !!! *6* !!! ][ 102 ][ 21 ][ 14 ]]
+[[ unsigned char*->long int ][ !!! *6* !!! ][ 101 ][ 20 ][ 14 ]]
+[[ unsigned char*->long long ][ !!! *6* !!! ][ 102 ][ 20 ][ 14 ]]
+[[ unsigned char*->unsigned int ][ !!! *6* !!! ][ 99 ][ 19 ][ 14 ]]
+[[ unsigned char*->unsigned short ][ !!! *6* !!! ][ 100 ][ 18 ][ 14 ]]
+[[ unsigned char*->unsigned long int ][ !!! *6* !!! ][ 101 ][ 24 ][ 14 ]]
+[[ unsigned char*->unsigned long long ][ !!! *6* !!! ][ 100 ][ 20 ][ 14 ]]
+[[ unsigned char*->bool ][ !!! *3* !!! ][ 99 ][ 18 ][ 8 ]]
+[[ unsigned char*->float ][ !!! *17* !!! ][ 164 ][ 64 ][ 32 ]]
+[[ unsigned char*->double ][ !!! *18* !!! ][ 201 ][ 94 ][ 58 ]]
+[[ unsigned char*->long double ][ 133 ][ 217 ][ 95 ][ !!! *60* !!! ]]
+[[ unsigned char*->string ][ !!! *14* !!! ][ 103 ][ 23 ][ --- ]]
+[[ signed char*->char ][ !!! *3* !!! ][ 88 ][ 10 ][ 8 ]]
+[[ signed char*->signed char ][ !!! *2* !!! ][ 87 ][ 10 ][ 7 ]]
+[[ signed char*->unsigned char ][ !!! *3* !!! ][ 87 ][ 9 ][ 13 ]]
+[[ signed char*->int ][ !!! *6* !!! ][ 104 ][ 20 ][ 14 ]]
+[[ signed char*->short ][ !!! *6* !!! ][ 105 ][ 21 ][ 14 ]]
+[[ signed char*->long int ][ !!! *6* !!! ][ 104 ][ 20 ][ 15 ]]
+[[ signed char*->long long ][ !!! *6* !!! ][ 106 ][ 20 ][ 14 ]]
+[[ signed char*->unsigned int ][ !!! *6* !!! ][ 99 ][ 20 ][ 14 ]]
+[[ signed char*->unsigned short ][ !!! *6* !!! ][ 100 ][ 18 ][ 14 ]]
+[[ signed char*->unsigned long int ][ !!! *6* !!! ][ 102 ][ 23 ][ 14 ]]
+[[ signed char*->unsigned long long ][ !!! *6* !!! ][ 103 ][ 20 ][ 14 ]]
+[[ signed char*->bool ][ !!! *3* !!! ][ 99 ][ 18 ][ 7 ]]
+[[ signed char*->float ][ !!! *18* !!! ][ 159 ][ 60 ][ 32 ]]
+[[ signed char*->double ][ !!! *18* !!! ][ 203 ][ 95 ][ 57 ]]
+[[ signed char*->long double ][ 129 ][ 213 ][ 97 ][ !!! *56* !!! ]]
+[[ signed char*->string ][ !!! *14* !!! ][ 105 ][ 22 ][ --- ]]
+[[ int->int ][ !!! *<1* !!! ][ 109 ][ 22 ][ --- ]]
+[[ float->double ][ !!! *<1* !!! ][ 226 ][ 104 ][ --- ]]
+[[ double->double ][ !!! *<1* !!! ][ 229 ][ 103 ][ --- ]]
+[[ int->int ][ !!! *<1* !!! ][ 225 ][ 115 ][ --- ]]
+[[ int->int ][ !!! *<1* !!! ][ 227 ][ 115 ][ --- ]]
+[[ char->unsigned char ][ !!! *<1* !!! ][ 90 ][ 8 ][ --- ]]
+[[ char->signed char ][ !!! *<1* !!! ][ 84 ][ 8 ][ --- ]]
+[[ unsigned char->char ][ !!! *<1* !!! ][ 88 ][ 8 ][ --- ]]
 [[ signed char->char ][ !!! *<1* !!! ][ 89 ][ 8 ][ --- ]]
 ]
 [endsect]
-[section intel-12-linux][table:id Performance Table (intel-12-linux)
+[section gcc-4.6][table:id Performance Table (gcc-4.6)
 [[From->To] [lexical_cast] [std::stringstream with construction] [std::stringstream without construction][scanf/printf]]
-[[ string->char ][ !!! *1* !!! ][ 87 ][ 9 ][ 8 ]]
-[[ string->signed char ][ !!! *<1* !!! ][ 90 ][ 9 ][ 8 ]]
-[[ string->unsigned char ][ !!! *<1* !!! ][ 99 ][ 9 ][ 20 ]]
-[[ string->int ][ !!! *8* !!! ][ 112 ][ 24 ][ 16 ]]
-[[ string->short ][ !!! *8* !!! ][ 110 ][ 26 ][ 16 ]]
-[[ string->long int ][ !!! *7* !!! ][ 110 ][ 23 ][ 16 ]]
-[[ string->long long ][ !!! *10* !!! ][ 114 ][ 31 ][ 16 ]]
-[[ string->unsigned int ][ !!! *7* !!! ][ 122 ][ 25 ][ 16 ]]
-[[ string->unsigned short ][ !!! *7* !!! ][ 120 ][ 27 ][ 16 ]]
-[[ string->unsigned long int ][ !!! *7* !!! ][ 114 ][ 25 ][ 16 ]]
-[[ string->unsigned long long ][ !!! *7* !!! ][ 128 ][ 23 ][ 25 ]]
-[[ string->bool ][ !!! *1* !!! ][ 103 ][ 20 ][ 9 ]]
-[[ string->float ][ !!! *15* !!! ][ 166 ][ 73 ][ 31 ]]
-[[ string->double ][ !!! *19* !!! ][ 206 ][ 103 ][ 56 ]]
-[[ string->long double ][ 142 ][ 205 ][ 106 ][ !!! *61* !!! ]]
-[[ char->string ][ !!! *10* !!! ][ 111 ][ 19 ][ 12 ]]
-[[ unsigned char->string ][ !!! *12* !!! ][ 109 ][ 19 ][ 16 ]]
-[[ signed char->string ][ !!! *9* !!! ][ 110 ][ 18 ][ 12 ]]
-[[ int->string ][ 19 ][ 126 ][ 23 ][ !!! *17* !!! ]]
-[[ short->string ][ 20 ][ 127 ][ 23 ][ !!! *18* !!! ]]
-[[ long int->string ][ 20 ][ 128 ][ 24 ][ !!! *18* !!! ]]
-[[ long long->string ][ !!! *16* !!! ][ 129 ][ 23 ][ 22 ]]
-[[ unsigned int->string ][ 20 ][ 126 ][ 23 ][ !!! *17* !!! ]]
-[[ unsigned short->string ][ 20 ][ 126 ][ 23 ][ !!! *17* !!! ]]
-[[ unsigned long int->string ][ 20 ][ 126 ][ 23 ][ !!! *17* !!! ]]
-[[ unsigned long long->string ][ !!! *24* !!! ][ 134 ][ 35 ][ 24 ]]
-[[ bool->string ][ !!! *9* !!! ][ 124 ][ 29 ][ 12 ]]
-[[ float->string ][ 147 ][ 218 ][ 104 ][ !!! *48* !!! ]]
-[[ double->string ][ 202 ][ 245 ][ 128 ][ !!! *68* !!! ]]
-[[ long double->string ][ 199 ][ 236 ][ 128 ][ !!! *69* !!! ]]
-[[ char*->char ][ !!! *1* !!! ][ 91 ][ 10 ][ 9 ]]
-[[ char*->signed char ][ !!! *1* !!! ][ 98 ][ 10 ][ 9 ]]
-[[ char*->unsigned char ][ !!! *1* !!! ][ 97 ][ 14 ][ 15 ]]
-[[ char*->int ][ !!! *8* !!! ][ 114 ][ 24 ][ 16 ]]
-[[ char*->short ][ !!! *8* !!! ][ 112 ][ 27 ][ 15 ]]
-[[ char*->long int ][ !!! *8* !!! ][ 117 ][ 28 ][ 16 ]]
-[[ char*->long long ][ !!! *8* !!! ][ 123 ][ 30 ][ 16 ]]
-[[ char*->unsigned int ][ !!! *8* !!! ][ 120 ][ 26 ][ 16 ]]
-[[ char*->unsigned short ][ !!! *8* !!! ][ 122 ][ 30 ][ 16 ]]
-[[ char*->unsigned long int ][ !!! *10* !!! ][ 119 ][ 25 ][ 16 ]]
-[[ char*->unsigned long long ][ !!! *8* !!! ][ 140 ][ 54 ][ 34 ]]
-[[ char*->bool ][ !!! *1* !!! ][ 108 ][ 21 ][ 8 ]]
-[[ char*->float ][ !!! *16* !!! ][ 177 ][ 76 ][ 33 ]]
-[[ char*->double ][ !!! *18* !!! ][ 271 ][ 104 ][ 56 ]]
-[[ char*->long double ][ 142 ][ 207 ][ 106 ][ !!! *61* !!! ]]
-[[ unsigned char*->char ][ !!! *1* !!! ][ 91 ][ 10 ][ 9 ]]
-[[ unsigned char*->signed char ][ !!! *1* !!! ][ 92 ][ 10 ][ 8 ]]
-[[ unsigned char*->unsigned char ][ !!! *1* !!! ][ 92 ][ 10 ][ 15 ]]
-[[ unsigned char*->int ][ !!! *8* !!! ][ 111 ][ 24 ][ 16 ]]
-[[ unsigned char*->short ][ !!! *9* !!! ][ 113 ][ 27 ][ 16 ]]
-[[ unsigned char*->long int ][ !!! *7* !!! ][ 113 ][ 28 ][ 16 ]]
-[[ unsigned char*->long long ][ !!! *7* !!! ][ 120 ][ 29 ][ 15 ]]
-[[ unsigned char*->unsigned int ][ !!! *7* !!! ][ 119 ][ 24 ][ 15 ]]
-[[ unsigned char*->unsigned short ][ !!! *8* !!! ][ 116 ][ 28 ][ 15 ]]
-[[ unsigned char*->unsigned long int ][ !!! *7* !!! ][ 118 ][ 25 ][ 16 ]]
-[[ unsigned char*->unsigned long long ][ !!! *7* !!! ][ 116 ][ 25 ][ 16 ]]
-[[ unsigned char*->bool ][ !!! *1* !!! ][ 102 ][ 20 ][ 9 ]]
-[[ unsigned char*->float ][ !!! *16* !!! ][ 167 ][ 74 ][ 31 ]]
-[[ unsigned char*->double ][ !!! *19* !!! ][ 231 ][ 109 ][ 55 ]]
-[[ unsigned char*->long double ][ 141 ][ 214 ][ 109 ][ !!! *61* !!! ]]
-[[ unsigned char*->string ][ !!! *12* !!! ][ 122 ][ 23 ][ --- ]]
-[[ signed char*->char ][ !!! *1* !!! ][ 91 ][ 10 ][ 8 ]]
-[[ signed char*->signed char ][ !!! *1* !!! ][ 92 ][ 10 ][ 9 ]]
-[[ signed char*->unsigned char ][ !!! *1* !!! ][ 92 ][ 10 ][ 15 ]]
-[[ signed char*->int ][ !!! *7* !!! ][ 117 ][ 34 ][ 16 ]]
-[[ signed char*->short ][ !!! *8* !!! ][ 117 ][ 25 ][ 15 ]]
-[[ signed char*->long int ][ !!! *7* !!! ][ 115 ][ 28 ][ 16 ]]
-[[ signed char*->long long ][ !!! *8* !!! ][ 116 ][ 31 ][ 15 ]]
-[[ signed char*->unsigned int ][ !!! *8* !!! ][ 123 ][ 27 ][ 16 ]]
-[[ signed char*->unsigned short ][ !!! *8* !!! ][ 120 ][ 27 ][ 16 ]]
-[[ signed char*->unsigned long int ][ !!! *7* !!! ][ 119 ][ 26 ][ 16 ]]
-[[ signed char*->unsigned long long ][ !!! *7* !!! ][ 118 ][ 26 ][ 17 ]]
-[[ signed char*->bool ][ !!! *1* !!! ][ 108 ][ 26 ][ 9 ]]
-[[ signed char*->float ][ !!! *16* !!! ][ 170 ][ 73 ][ 31 ]]
-[[ signed char*->double ][ !!! *18* !!! ][ 210 ][ 112 ][ 55 ]]
-[[ signed char*->long double ][ 137 ][ 210 ][ 107 ][ !!! *61* !!! ]]
-[[ signed char*->string ][ !!! *14* !!! ][ 121 ][ 23 ][ --- ]]
-[[ int->int ][ !!! *<1* !!! ][ 115 ][ 26 ][ --- ]]
-[[ float->double ][ !!! *<1* !!! ][ 266 ][ 155 ][ --- ]]
-[[ double->double ][ !!! *<1* !!! ][ 267 ][ 157 ][ --- ]]
-[[ int->int ][ !!! *<1* !!! ][ 261 ][ 153 ][ --- ]]
-[[ int->int ][ !!! *<1* !!! ][ 264 ][ 152 ][ --- ]]
-[[ char->unsigned char ][ !!! *<1* !!! ][ 96 ][ 9 ][ --- ]]
-[[ char->signed char ][ !!! *<1* !!! ][ 96 ][ 9 ][ --- ]]
-[[ unsigned char->char ][ !!! *<1* !!! ][ 93 ][ 9 ][ --- ]]
-[[ signed char->char ][ !!! *<1* !!! ][ 87 ][ 9 ][ --- ]]
+[[ string->char ][ !!! *<1* !!! ][ 94 ][ 8 ][ 7 ]]
+[[ string->signed char ][ !!! *<1* !!! ][ 96 ][ 9 ][ 7 ]]
+[[ string->unsigned char ][ !!! *<1* !!! ][ 96 ][ 8 ][ 13 ]]
+[[ string->int ][ !!! *3* !!! ][ 110 ][ 18 ][ 16 ]]
+[[ string->short ][ !!! *3* !!! ][ 111 ][ 18 ][ 16 ]]
+[[ string->long int ][ !!! *3* !!! ][ 109 ][ 18 ][ 15 ]]
+[[ string->long long ][ !!! *3* !!! ][ 111 ][ 18 ][ 15 ]]
+[[ string->unsigned int ][ !!! *3* !!! ][ 110 ][ 20 ][ 15 ]]
+[[ string->unsigned short ][ !!! *3* !!! ][ 111 ][ 18 ][ 15 ]]
+[[ string->unsigned long int ][ !!! *3* !!! ][ 109 ][ 18 ][ 15 ]]
+[[ string->unsigned long long ][ !!! *3* !!! ][ 114 ][ 19 ][ 15 ]]
+[[ string->bool ][ !!! *<1* !!! ][ 106 ][ 17 ][ 8 ]]
+[[ string->float ][ !!! *13* !!! ][ 175 ][ 70 ][ 33 ]]
+[[ string->double ][ !!! *14* !!! ][ 182 ][ 81 ][ 58 ]]
+[[ string->long double ][ 118 ][ 190 ][ 87 ][ !!! *58* !!! ]]
+[[ char->string ][ !!! *8* !!! ][ 118 ][ 21 ][ 12 ]]
+[[ unsigned char->string ][ !!! *8* !!! ][ 109 ][ 18 ][ 16 ]]
+[[ signed char->string ][ !!! *8* !!! ][ 108 ][ 18 ][ 12 ]]
+[[ int->string ][ 20 ][ 121 ][ 21 ][ !!! *16* !!! ]]
+[[ short->string ][ !!! *15* !!! ][ 120 ][ 22 ][ 17 ]]
+[[ long int->string ][ !!! *15* !!! ][ 120 ][ 22 ][ 16 ]]
+[[ long long->string ][ !!! *15* !!! ][ 120 ][ 22 ][ 17 ]]
+[[ unsigned int->string ][ !!! *15* !!! ][ 120 ][ 22 ][ 16 ]]
+[[ unsigned short->string ][ !!! *15* !!! ][ 120 ][ 22 ][ 18 ]]
+[[ unsigned long int->string ][ 16 ][ 118 ][ 22 ][ !!! *15* !!! ]]
+[[ unsigned long long->string ][ !!! *15* !!! ][ 117 ][ 21 ][ 17 ]]
+[[ bool->string ][ !!! *8* !!! ][ 117 ][ 23 ][ 10 ]]
+[[ float->string ][ 77 ][ 218 ][ 105 ][ !!! *50* !!! ]]
+[[ double->string ][ 108 ][ 247 ][ 129 ][ !!! *73* !!! ]]
+[[ long double->string ][ 120 ][ 250 ][ 131 ][ !!! *79* !!! ]]
+[[ char*->char ][ !!! *2* !!! ][ 99 ][ 9 ][ 7 ]]
+[[ char*->signed char ][ !!! *2* !!! ][ 98 ][ 9 ][ 8 ]]
+[[ char*->unsigned char ][ !!! *2* !!! ][ 98 ][ 9 ][ 13 ]]
+[[ char*->int ][ !!! *6* !!! ][ 115 ][ 22 ][ 15 ]]
+[[ char*->short ][ !!! *6* !!! ][ 114 ][ 22 ][ 15 ]]
+[[ char*->long int ][ !!! *6* !!! ][ 114 ][ 22 ][ 16 ]]
+[[ char*->long long ][ !!! *6* !!! ][ 119 ][ 22 ][ 15 ]]
+[[ char*->unsigned int ][ !!! *6* !!! ][ 114 ][ 20 ][ 15 ]]
+[[ char*->unsigned short ][ !!! *6* !!! ][ 116 ][ 20 ][ 15 ]]
+[[ char*->unsigned long int ][ !!! *6* !!! ][ 117 ][ 22 ][ 15 ]]
+[[ char*->unsigned long long ][ !!! *6* !!! ][ 118 ][ 22 ][ 15 ]]
+[[ char*->bool ][ !!! *3* !!! ][ 113 ][ 18 ][ 8 ]]
+[[ char*->float ][ !!! *15* !!! ][ 180 ][ 78 ][ 32 ]]
+[[ char*->double ][ !!! *16* !!! ][ 185 ][ 89 ][ 58 ]]
+[[ char*->long double ][ 119 ][ 193 ][ 91 ][ !!! *60* !!! ]]
+[[ unsigned char*->char ][ !!! *2* !!! ][ 99 ][ 9 ][ 8 ]]
+[[ unsigned char*->signed char ][ !!! *2* !!! ][ 99 ][ 10 ][ 8 ]]
+[[ unsigned char*->unsigned char ][ !!! *2* !!! ][ 100 ][ 9 ][ 15 ]]
+[[ unsigned char*->int ][ !!! *6* !!! ][ 118 ][ 22 ][ 15 ]]
+[[ unsigned char*->short ][ !!! *6* !!! ][ 117 ][ 26 ][ 15 ]]
+[[ unsigned char*->long int ][ !!! *6* !!! ][ 119 ][ 21 ][ 15 ]]
+[[ unsigned char*->long long ][ !!! *6* !!! ][ 118 ][ 21 ][ 14 ]]
+[[ unsigned char*->unsigned int ][ !!! *6* !!! ][ 115 ][ 22 ][ 14 ]]
+[[ unsigned char*->unsigned short ][ !!! *6* !!! ][ 117 ][ 20 ][ 15 ]]
+[[ unsigned char*->unsigned long int ][ !!! *6* !!! ][ 115 ][ 21 ][ 15 ]]
+[[ unsigned char*->unsigned long long ][ !!! *6* !!! ][ 117 ][ 22 ][ 15 ]]
+[[ unsigned char*->bool ][ !!! *3* !!! ][ 112 ][ 18 ][ 8 ]]
+[[ unsigned char*->float ][ !!! *15* !!! ][ 181 ][ 78 ][ 33 ]]
+[[ unsigned char*->double ][ !!! *16* !!! ][ 185 ][ 92 ][ 59 ]]
+[[ unsigned char*->long double ][ 120 ][ 190 ][ 89 ][ !!! *58* !!! ]]
+[[ unsigned char*->string ][ !!! *14* !!! ][ 121 ][ 22 ][ --- ]]
+[[ signed char*->char ][ !!! *2* !!! ][ 99 ][ 9 ][ 9 ]]
+[[ signed char*->signed char ][ !!! *2* !!! ][ 98 ][ 9 ][ 8 ]]
+[[ signed char*->unsigned char ][ !!! *2* !!! ][ 98 ][ 9 ][ 14 ]]
+[[ signed char*->int ][ !!! *6* !!! ][ 119 ][ 22 ][ 16 ]]
+[[ signed char*->short ][ !!! *6* !!! ][ 115 ][ 22 ][ 15 ]]
+[[ signed char*->long int ][ !!! *6* !!! ][ 119 ][ 22 ][ 15 ]]
+[[ signed char*->long long ][ !!! *6* !!! ][ 117 ][ 22 ][ 15 ]]
+[[ signed char*->unsigned int ][ !!! *6* !!! ][ 117 ][ 23 ][ 15 ]]
+[[ signed char*->unsigned short ][ !!! *6* !!! ][ 117 ][ 21 ][ 14 ]]
+[[ signed char*->unsigned long int ][ !!! *7* !!! ][ 119 ][ 24 ][ 15 ]]
+[[ signed char*->unsigned long long ][ !!! *6* !!! ][ 116 ][ 22 ][ 15 ]]
+[[ signed char*->bool ][ !!! *3* !!! ][ 111 ][ 18 ][ 8 ]]
+[[ signed char*->float ][ !!! *16* !!! ][ 180 ][ 78 ][ 33 ]]
+[[ signed char*->double ][ !!! *16* !!! ][ 185 ][ 89 ][ 59 ]]
+[[ signed char*->long double ][ 120 ][ 191 ][ 91 ][ !!! *59* !!! ]]
+[[ signed char*->string ][ !!! *14* !!! ][ 122 ][ 23 ][ --- ]]
+[[ int->int ][ !!! *<1* !!! ][ 120 ][ 22 ][ --- ]]
+[[ float->double ][ !!! *<1* !!! ][ 242 ][ 115 ][ --- ]]
+[[ double->double ][ !!! *<1* !!! ][ 243 ][ 115 ][ --- ]]
+[[ int->int ][ !!! *<1* !!! ][ 265 ][ 141 ][ --- ]]
+[[ int->int ][ !!! *<1* !!! ][ 266 ][ 140 ][ --- ]]
+[[ char->unsigned char ][ !!! *<1* !!! ][ 95 ][ 8 ][ --- ]]
+[[ char->signed char ][ !!! *<1* !!! ][ 95 ][ 8 ][ --- ]]
+[[ unsigned char->char ][ !!! *<1* !!! ][ 94 ][ 8 ][ --- ]]
+[[ signed char->char ][ !!! *<1* !!! ][ 94 ][ 8 ][ --- ]]
 ]
 [endsect]
 
-
-
 [/ END of section, generated by performance measuring program ]
 [endsect]
 

Modified: trunk/libs/conversion/lexical_cast_test.cpp
==============================================================================
--- trunk/libs/conversion/lexical_cast_test.cpp (original)
+++ trunk/libs/conversion/lexical_cast_test.cpp 2011-09-17 05:09:27 EDT (Sat, 17 Sep 2011)
@@ -756,6 +756,16 @@
     test_conversion_from_integral_to_char<T>(wzero);
     test_conversion_from_char_to_integral<T>(wzero);
 #endif
+#ifndef BOOST_NO_CHAR16_T
+ char16_t const u16zero = u'0';
+ test_conversion_from_integral_to_char<T>(u16zero);
+ test_conversion_from_char_to_integral<T>(u16zero);
+#endif
+#ifndef BOOST_NO_CHAR32_T
+ char32_t const u32zero = u'0';
+ test_conversion_from_integral_to_char<T>(u32zero);
+ test_conversion_from_char_to_integral<T>(u32zero);
+#endif
 
     BOOST_CHECK(lexical_cast<T>("-1") == static_cast<T>(-1));
     BOOST_CHECK(lexical_cast<T>("-9") == static_cast<T>(-9));


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk