Antony Polukhin
633b852b81
Update code that uses string buffers (refs #8267 ).
...
Treat cast to pointer as compile time error (refs #8334 ).
Update documentation
[SVN r83601]
2013-03-27 17:00:46 +00:00
Antony Polukhin
61938bc8d3
Fix ambiguity while using lexical_cast with std::transform or other functions that may take a pointer to lexical_cast (refs #7421 )
...
[SVN r83457]
2013-03-16 09:24:08 +00:00
Marshall Clow
e15f179bfc
Removed usage of deprecated macros
...
[SVN r81559]
2012-11-26 17:27:53 +00:00
Antony Polukhin
f682bff3a7
Simplify test_getting_pointer_to_function to don't deal with compilers bugs and just test that getting pointer to lexical_cast<T1, T2> is not ambiguous
...
[SVN r81294]
2012-11-11 08:59:36 +00:00
Antony Polukhin
5c3159cd1c
Attempt to workaround VACPP, CRAY and ancient GCC bugs in lexical_cast tests
...
[SVN r81162]
2012-11-03 16:20:43 +00:00
Antony Polukhin
7b6c4eed7d
Remove bad test (refs #7421 )
...
[SVN r80731]
2012-09-28 04:55:37 +00:00
Antony Polukhin
824fbd9b06
Do not overload lexical_cast<To, From>(const From&), instead add lexical_cast<To>(character_type,size_type) templates (refs #7421 ). Added tests for getting &boost::lexical_cast<To,from> functions pointers
...
[SVN r80715]
2012-09-26 19:57:31 +00:00
Antony Polukhin
77eff6b47d
Workaround MSVC2012 error in lexical_cast_test.cpp
...
[SVN r80584]
2012-09-18 20:11:05 +00:00
Antony Polukhin
8705038cd2
Workaround MSVC2012 error in lexical_cast_test.cpp
...
[SVN r80503]
2012-09-12 03:58:26 +00:00
Antony Polukhin
d6a72e9ea5
Fix bug with volatile types (refs #7157 )
...
[SVN r79797]
2012-07-29 18:54:24 +00:00
Antony Polukhin
88244b57d4
Split lexical_cast_test.cpp into two tests and reduce iterations count for integral types tests (now we must not exceed tests timeouts)
...
[SVN r79246]
2012-07-03 17:10:02 +00:00
Antony Polukhin
6ff6958204
Removed incorrect test
...
[SVN r77807]
2012-04-07 08:05:16 +00:00
Antony Polukhin
4a617adce1
More workarounds for fixed #6670 (disable more char16_t and char32_t tests for some compilers)
...
[SVN r77745]
2012-04-03 18:00:30 +00:00
Antony Polukhin
969a913153
More workarounds for fixed #6670 (disable basic char16_t and char32_t tests for some compilers, disable optimizations for them)
...
[SVN r77721]
2012-04-02 16:58:32 +00:00
Antony Polukhin
9a6d983ee5
Fixes #6193
...
[SVN r76318]
2012-01-05 12:09:15 +00:00
Gennadiy Rozental
8c7c7b9237
eliminated unit_test_framework and BOOST_MESSAGE
...
[SVN r74727]
2011-10-05 09:42:21 +00:00
Antony Polukhin
d2ae7fdbd7
char16_t and char32_t conversions now work on gcc for C locale
...
Optimizations for C locale
Performance section of documentation updated
[SVN r74432]
2011-09-17 09:09:27 +00:00
Antony Polukhin
2acef7aa44
Basic support for char16_t and char32_t
...
[SVN r74243]
2011-09-05 19:00:29 +00:00
Antony Polukhin
2f5d0c847b
Fixes #5783
...
Fixes ambiguities with operators >> and <<. Adds tests for such cases.
[SVN r73818]
2011-08-16 17:09:25 +00:00
Antony Polukhin
9ac4e2bef1
Fixes #5732 .
...
* fixes compilation errors for nonconst char arrays
[SVN r73357]
2011-07-25 15:13:36 +00:00
Antony Polukhin
de3df54f80
Fixes #5689 . Added code to work with Inf and NaN on any platform
...
[SVN r73118]
2011-07-15 11:20:11 +00:00
Antony Polukhin
27a7fac22e
Updates #5660 .
...
Removed duplicate tests.
Unified behaviour for float conversions on different compillers
[SVN r72972]
2011-07-08 17:23:31 +00:00
Antony Polukhin
fff0066392
Fixes #5676 .
...
Tests for float types are now more accurate
[SVN r72955]
2011-07-07 16:04:32 +00:00
Antony Polukhin
6a8c22d5c3
Partial fix for #5660 . Better performance and less memory usage for conversions to float type (and to double type, if sizeof(double) < sizeof(long double)). New test suits. Documentation update.
...
[SVN r72925]
2011-07-06 15:43:04 +00:00
Antony Polukhin
cd0167d6b8
Fixes #5585 and adds test on it
...
[SVN r72315]
2011-05-31 20:46:37 +00:00
Antony Polukhin
b0b1ce9453
Fixes #5576 , adds performance section to the lexical_cast documentation, fixes misprint in tests/
...
[SVN r72224]
2011-05-27 18:19:38 +00:00
Antony Polukhin
98d24e04f4
Fixes #5564 . Adds tests on #5564 and more tests on #5557
...
[SVN r72203]
2011-05-27 04:22:18 +00:00
Antony Polukhin
920e36f6ba
Fixes #5557 . Adds tests on #5557
...
[SVN r72071]
2011-05-22 11:35:00 +00:00
Antony Polukhin
dc9b364d6f
Fixes #5417 . Much better performance on casts to integral types.
...
Adds more tests for overflow detection.
Workaround for bugs of vc8 (lexical_cast_vc8_bug_test.cpp now passes)
Fixes some inspection errors.
[SVN r72056]
2011-05-20 17:11:53 +00:00
Antony Polukhin
95360b5df6
Fixes #5417 . Fixes #4397
...
More tests (for conversions to float types, for conversions of negative values to unsigned integers)
[SVN r71958]
2011-05-15 15:31:01 +00:00
John Maddock
fce9ad4e1b
Misc small fixes to suppress warnings.
...
Code should now be clean with msvc /W4 and gcc /Wall /Wextra -pedantic with the exception of one deliberate warning in one test.
[SVN r57510]
2009-11-09 12:27:54 +00:00
Alexander Nasonov
f5d825e77f
Decrease indent of #if and #endif lines and test string<->integral conversons when BOOST_NO_INTRINSIC_WCHAR_T is defined.
...
[SVN r56232]
2009-09-15 23:56:39 +00:00
Alexander Nasonov
79a141ce9d
Add new test libs/conversion/test/lexical_cast_vc8_bug_test.cpp.
...
[SVN r56229]
2009-09-15 23:38:21 +00:00
Alexander Nasonov
78adbeaab1
DISABLE_WIDE_CHAR_SUPPORT -> BOOST_LCAST_NO_WCHAR_T.
...
[SVN r56228]
2009-09-15 22:55:02 +00:00
Alexander Nasonov
0aaa89042a
Add a test for uintmax_t.
...
[SVN r56171]
2009-09-13 14:58:34 +00:00
Alexander Nasonov
b37f56f478
Fix #2295 (Inconsistent behavior when using 64 bit integer types).
...
[SVN r56170]
2009-09-13 14:48:27 +00:00
Alexander Nasonov
05036d3ae1
Support for string with non-default char_traits and allocator.
...
[SVN r41387]
2007-11-25 23:08:50 +00:00
Alexander Nasonov
67968d9b33
Separate test for round-tripping of floating point types.
...
[SVN r35771]
2006-10-28 19:33:32 +00:00
Alexander Nasonov
c004fb5fc6
Fix the test built with <native-wchar_t>off on vc-7_1 and vc-8_0
...
[SVN r35760]
2006-10-28 14:37:37 +00:00
Alexander Nasonov
fb63ebd4cd
The test passed on VC6
...
[SVN r35755]
2006-10-27 21:28:33 +00:00
Alexander Nasonov
e9767dc4e8
workarounds for test_round_conversion_long_double
...
[SVN r35606]
2006-10-14 10:09:49 +00:00
Alexander Nasonov
2b069eb3a3
test_round_conversion_long_double added to testsuite despite that it fails on FreeBSD and OpenBSD
...
[SVN r35600]
2006-10-13 22:27:53 +00:00
Alexander Nasonov
4b1ca7bdf6
round conversion of floating point types: T -> std::string -> T
...
[SVN r35595]
2006-10-13 19:40:03 +00:00
Alexander Nasonov
a2c7ddf5d9
no more gcc warnings
...
[SVN r35560]
2006-10-11 19:13:30 +00:00
Alexander Nasonov
c17002aa73
get rid of lexical_cast.hpp impl details in the test
...
[SVN r34932]
2006-08-23 19:47:56 +00:00
Alexander Nasonov
ae431bacf8
Better coverage
...
[SVN r34925]
2006-08-22 20:40:31 +00:00
Alexander Nasonov
453555619e
New test cases for forthcoming fast lexical_cast
...
[SVN r34847]
2006-08-07 20:36:23 +00:00
Stefan Slapeta
027a566e09
Small fix for new init_unit_test_suite signature
...
[SVN r32293]
2006-01-12 11:59:09 +00:00
Markus Schöpflin
9a29a753e8
Fixed lexical_cast_test which was no longer working after the last test
...
framework update.
[SVN r32176]
2005-12-28 11:05:31 +00:00
John Maddock
cb2bd8076d
Reconfigure lexical_cast to work wide character strings and VC++ when not using /Zc:wchar_t.
...
[SVN r30724]
2005-08-29 12:44:09 +00:00