Antony Polukhin
2ea7487806
Move all the stream specific metafunctions to lexical_cast_stream_traits<Source, Target>
...
Test stream traits for correctness and correct optimization detection
[SVN r81354]
2012-11-15 07:26:23 +00:00
Antony Polukhin
cd5a55aab5
Documentation update for lexical_cast (refs #6786 )
...
[SVN r81353]
2012-11-15 06:45:23 +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
1c37887f2b
Stream type detection metafunctions were rewritten so that now they can detect stream type for user defined types (refs #6786 )
...
Removed unrequired `::`
[SVN r81278]
2012-11-10 07:42:04 +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
c484325310
Fix FAQ section of lexical_cast documentation (refs #7582 )
...
[SVN r81069]
2012-10-27 16:30:41 +00:00
Antony Polukhin
0920c53e23
Merege fix for #7421 from trunk
...
[SVN r80787]
2012-09-30 16:07:32 +00:00
Antony Polukhin
42e7585dd4
Tiny documentation update (refs #7421 )
...
[SVN r80739]
2012-09-28 18:31:53 +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
8d373a0c99
Merge updated tests from trunk (now float types tests are less strict, workaround MSVC2012 bug)
...
[SVN r80672]
2012-09-23 17:19:05 +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
bb224866a7
Fix float types tests, make them less strict (so that MSVC2012 could pass it)
...
[SVN r80438]
2012-09-08 01:44:18 +00:00
Antony Polukhin
733438e072
Merge from trunk:
...
1) #warning replaced with #error (refs #7228 )
2) Pavel Korzh added to thanks list (refs #7157 )
3) BOOST_NOEXCEPT modifiers added where possible
4) better support for c++11 Unicode characters
5) fixed compilation with MSVC+STLPort
6) more agressive usage of Traits template parameter
7) Added lexical_cast(const CharType* chars, std::size_t count) function overload (refs #6430 and refs #6663 )
8) Fixed GCC warning in numeric_cast_test.cpp
9) Fix compilation of lexical cast with MSVC 2003 (refs #7255 )
[SVN r80409]
2012-09-05 18:23:41 +00:00
Antony Polukhin
c43b86d7f1
Replace .c_str() with .data() in documentation (refs #6663 )
...
[SVN r80377]
2012-09-03 17:23:16 +00:00
Antony Polukhin
c290a26625
Added missing const modifier
...
[SVN r80374]
2012-09-03 17:06:40 +00:00
Antony Polukhin
d08477900d
Added lexical_cast(const CharType* chars, std::size_t count) function overload (refs #6430 and refs #6663 )
...
Fixed GCC warning in numeric_cast_test.cpp
[SVN r80291]
2012-08-28 20:31:16 +00:00
Antony Polukhin
63acf4f174
Fix compilation of lexical cast with MSVC 2003 (refs #7255 )
...
[SVN r80210]
2012-08-25 19:07:46 +00:00
Antony Polukhin
ce95319f03
Multiple small changes:
...
1) #warning replaced with #error (refs 7228)
2) Pavel Korzh added to thanks list (refs 7157)
3) BOOST_NOEXCEPT modifiers added where possible
4) better support for c++11 Unicode characters
5) fixed compilation with MSVC+STLPort
6) more agressive usage of Traits template parameter
[SVN r80105]
2012-08-21 04:44:00 +00:00
Antony Polukhin
f67347e308
Merge bugfix for volatile types (refs #7157 )
...
[SVN r79871]
2012-08-05 09:46:43 +00:00
Antony Polukhin
d6a72e9ea5
Fix bug with volatile types (refs #7157 )
...
[SVN r79797]
2012-07-29 18:54:24 +00:00
Antony Polukhin
46c6cc911b
Merge fix of VC warning ( fixes #7116 )
...
[SVN r79605]
2012-07-19 18:42:34 +00:00
Antony Polukhin
3c94791b1e
Workaround VC warning (refs #7116 )
...
[SVN r79565]
2012-07-16 17:17:00 +00:00
Antony Polukhin
80d480ca0b
Fix typo in documentation ( fixes #7129 )
...
[SVN r79480]
2012-07-13 19:22:49 +00:00
Antony Polukhin
e81d4dfdbb
Fix typo in documentation ( fixes #7129 )
...
[SVN r79479]
2012-07-13 19:20:05 +00:00
Antony Polukhin
675d0bb451
Merge from trunk (now lexical_cast has optimized conversions to and from array<>, fixes #7065 )
...
[SVN r79364]
2012-07-08 18:06:32 +00:00
Antony Polukhin
fe79553bf8
Fix tab in documentation (refs #7065 )
...
[SVN r79363]
2012-07-08 17:59:50 +00:00
Antony Polukhin
093e298c9d
Updated documentaion and performance test (now we have info about conversion speed to and from array<>, refs #7065 )
...
[SVN r79297]
2012-07-05 19:27:35 +00:00
Antony Polukhin
d2361fe05a
Updated documentaion, fixed bug and refactored tests (refs #7065 )
...
[SVN r79266]
2012-07-04 18:50:56 +00:00
Antony Polukhin
b037563bf9
Documentation update: documented optimizations for boost and std arrays (refs #7065 )
...
[SVN r79249]
2012-07-03 17:32:29 +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
e3cd0ca7fa
Optimizations for boost and std array (refs #7065 )
...
[SVN r79230]
2012-07-02 18:30:21 +00:00
Antony Polukhin
79d6468aeb
Merge lexical_cast from trunk :
...
* force SunCC compiler to use fallback version of lexical_cast (with fallbak version SunCC can pass at least some tests)
* removed trailing whitespaces
[SVN r78565]
2012-05-24 04:22:04 +00:00
Antony Polukhin
c6318e3819
Do not force PGI compiler to use fallback version of lexical_cast (PGI fails tests even in fallback version)
...
Trialing whitespaces removed
[SVN r78521]
2012-05-20 16:25:21 +00:00
Antony Polukhin
e691b15b77
Force PGI and SunCC compillers to use fallback version of lexical_cast
...
[SVN r78485]
2012-05-15 18:51:35 +00:00
Antony Polukhin
ca9c8d30bd
Merge from trunk:
...
* Fixes ISO C++ does not support the ‘%lg’ gnu_printf format (refs #6852 )
* explicit-failures-markup merge from trunk
* supress warnings in implicit_cast.cpp test
[SVN r78450]
2012-05-13 08:15:51 +00:00
Antony Polukhin
bb46dbc46c
Fixes #6852 for wide characters (ISO C++ does not support the ‘%lg’ gnu_printf format fixed)
...
[SVN r78408]
2012-05-10 17:39:46 +00:00
Antony Polukhin
d30dd9e3c8
Fixes #6852 (ISO C++ does not support the ‘%lg’ gnu_printf format fixed)
...
[SVN r78308]
2012-05-02 19:00:37 +00:00
Antony Polukhin
b1b5305984
Merge from trunk:
...
* fixed #6812 (now converting "." to float type throws bad_lexical_cast)
[SVN r78211]
2012-04-26 17:59:17 +00:00
Antony Polukhin
15ab0d6385
Fixes #6812 (now converting "." to float type throws bad_lexical_cast)
...
[SVN r78111]
2012-04-21 11:08:03 +00:00
Antony Polukhin
eb4ad73caf
Merge lexical_cast library from trunk:
...
* multiple optimizations and bugfixes for boost::iterator_range (refs #6786 , refs #6430 , refs #6663 )
* documentation update
* new Unicode characters support updated
* much more tests, removed incorrect tests
[SVN r78059]
2012-04-18 04:09:49 +00:00
Antony Polukhin
d963842d70
Typo fix in documentation. New line added to the end of lexical_cast.hpp file
...
[SVN r78051]
2012-04-17 18:00:30 +00:00
Antony Polukhin
9ff79f4df9
Update documentation ( more info about stream character type detection + warn about new unicode types support; refs #6786 , refs #6663 )
...
[SVN r78044]
2012-04-17 16:27:50 +00:00
Antony Polukhin
746d466e38
Comment out bad advise in documentation ( refs #6786 , refs #6663 )
...
[SVN r78015]
2012-04-16 17:13:11 +00:00
Antony Polukhin
674e71fb7d
Fix compile time error in lexical_cast, when new unicode characters are being converted (Refs #6504 )
...
[SVN r77936]
2012-04-12 17:15:22 +00:00
Antony Polukhin
35d592fc21
Fix iterator_range test for compilers with new unicode characters but without new unicode locales support
...
[SVN r77921]
2012-04-11 18:34:10 +00:00
Antony Polukhin
7881eb5666
Remove incorrect test
...
[SVN r77854]
2012-04-09 18:07:51 +00:00
Antony Polukhin
8562b480f8
* fixes #6504 (characters widening fixed)
...
* much more tests
* better support for unicode characters and template classes that are instantinated with unicode character types
* meta code refactored (it is now shorter and clearer)
[SVN r77824]
2012-04-07 19:44:07 +00:00
Antony Polukhin
6ff6958204
Removed incorrect test
...
[SVN r77807]
2012-04-07 08:05:16 +00:00