basic_string.h (stod, [...]): Declare in C++0x mode.
authorPaolo Carlini <paolo.carlini@oracle.com>
Mon, 16 Jun 2008 09:58:54 +0000 (09:58 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Mon, 16 Jun 2008 09:58:54 +0000 (09:58 +0000)
commit7364f2868c8ac21e519725d716bc13f02b19684f
tree8685abf3ce961673fcc9761e7fded8aeef7e1b6a
parent1b4b3957d77c7d12df446508b42f82bdaf8da8c8
basic_string.h (stod, [...]): Declare in C++0x mode.

2008-06-16  Paolo Carlini  <paolo.carlini@oracle.com>

* include/bits/basic_string.h (stod, stof, stoi, stol, stold, stoll,
stoul, stoull, to_string, to_wstring): Declare in C++0x mode.
* src/string_conversions.cc: Add.
* src/Makefile.am: Update.
* config/abi/pre/gnu.ver: Adjust exports.
* src/Makefile.in: Regenerate.
* testsuite/21_strings/basic_string/numeric_conversions/char/stod.cc:
New.
* testsuite/21_strings/basic_string/numeric_conversions/char/stof.cc:
Likewise.
* testsuite/21_strings/basic_string/numeric_conversions/char/stoi.cc:
Likewise.
* testsuite/21_strings/basic_string/numeric_conversions/char/stol.cc:
Likewise.
* testsuite/21_strings/basic_string/numeric_conversions/char/stold.cc:
Likewise.
* testsuite/21_strings/basic_string/numeric_conversions/char/stoll.cc:
Likewise.
* testsuite/21_strings/basic_string/numeric_conversions/char/stoul.cc:
Likewise.
* testsuite/21_strings/basic_string/numeric_conversions/char/stoull.cc:
Likewise.
* testsuite/21_strings/basic_string/numeric_conversions/char/
to_string.cc: Likewise.
* testsuite/21_strings/basic_string/numeric_conversions/wchar_t/
stod.cc: New.
* testsuite/21_strings/basic_string/numeric_conversions/wchar_t/
stof.cc: Likewise.
* testsuite/21_strings/basic_string/numeric_conversions/wchar_t/
stoi.cc: Likewise.
* testsuite/21_strings/basic_string/numeric_conversions/wchar_t/
stol.cc: Likewise.
* testsuite/21_strings/basic_string/numeric_conversions/wchar_t/
stold.cc: Likewise.
* testsuite/21_strings/basic_string/numeric_conversions/wchar_t/
stoll.cc: Likewise.
* testsuite/21_strings/basic_string/numeric_conversions/wchar_t/
stoul.cc: Likewise.
* testsuite/21_strings/basic_string/numeric_conversions/wchar_t/
stoull.cc: Likewise.
* testsuite/21_strings/basic_string/numeric_conversions/wchar_t/
to_wstring.cc: Likewise.

From-SVN: r136841
24 files changed:
libstdc++-v3/ChangeLog
libstdc++-v3/config/abi/pre/gnu.ver
libstdc++-v3/include/bits/basic_string.h
libstdc++-v3/src/Makefile.am
libstdc++-v3/src/Makefile.in
libstdc++-v3/src/string_conversions.cc [new file with mode: 0644]
libstdc++-v3/testsuite/21_strings/basic_string/numeric_conversions/char/stod.cc [new file with mode: 0644]
libstdc++-v3/testsuite/21_strings/basic_string/numeric_conversions/char/stof.cc [new file with mode: 0644]
libstdc++-v3/testsuite/21_strings/basic_string/numeric_conversions/char/stoi.cc [new file with mode: 0644]
libstdc++-v3/testsuite/21_strings/basic_string/numeric_conversions/char/stol.cc [new file with mode: 0644]
libstdc++-v3/testsuite/21_strings/basic_string/numeric_conversions/char/stold.cc [new file with mode: 0644]
libstdc++-v3/testsuite/21_strings/basic_string/numeric_conversions/char/stoll.cc [new file with mode: 0644]
libstdc++-v3/testsuite/21_strings/basic_string/numeric_conversions/char/stoul.cc [new file with mode: 0644]
libstdc++-v3/testsuite/21_strings/basic_string/numeric_conversions/char/stoull.cc [new file with mode: 0644]
libstdc++-v3/testsuite/21_strings/basic_string/numeric_conversions/char/to_string.cc [new file with mode: 0644]
libstdc++-v3/testsuite/21_strings/basic_string/numeric_conversions/wchar_t/stod.cc [new file with mode: 0644]
libstdc++-v3/testsuite/21_strings/basic_string/numeric_conversions/wchar_t/stof.cc [new file with mode: 0644]
libstdc++-v3/testsuite/21_strings/basic_string/numeric_conversions/wchar_t/stoi.cc [new file with mode: 0644]
libstdc++-v3/testsuite/21_strings/basic_string/numeric_conversions/wchar_t/stol.cc [new file with mode: 0644]
libstdc++-v3/testsuite/21_strings/basic_string/numeric_conversions/wchar_t/stold.cc [new file with mode: 0644]
libstdc++-v3/testsuite/21_strings/basic_string/numeric_conversions/wchar_t/stoll.cc [new file with mode: 0644]
libstdc++-v3/testsuite/21_strings/basic_string/numeric_conversions/wchar_t/stoul.cc [new file with mode: 0644]
libstdc++-v3/testsuite/21_strings/basic_string/numeric_conversions/wchar_t/stoull.cc [new file with mode: 0644]
libstdc++-v3/testsuite/21_strings/basic_string/numeric_conversions/wchar_t/to_wstring.cc [new file with mode: 0644]