Antony Polukhin
694f7b5033
Do not use long double type in lexical_cast for internal variables if Boost.Math has no functions for long double (refs #8162 )
...
Do not test lexical_cast on long doubles, if Boost.Math does not support long double
[SVN r83129]
2013-02-24 13:34:57 +00:00
Antony Polukhin
a15dbed640
Silence some buggy VS warnings (refs #7949 )
...
[SVN r82807]
2013-02-10 13:59:45 +00:00
Antony Polukhin
5c8c897d30
Fixed as many -Wconversion warnings in lexical cast and tests as possible (refs #2558 )
...
[SVN r82695]
2013-02-03 09:20:28 +00:00
Antony Polukhin
3e4a1669f1
More tests (refs #7814 )
...
[SVN r82694]
2013-02-03 07:38:56 +00:00
Antony Polukhin
cb9de2c55f
Update performance results for VC in docs.
...
Looks like bug #6523 now is fixed (fixes #6523 )
[SVN r82685]
2013-02-02 07:44:09 +00:00
Antony Polukhin
89556c8a0f
Documentation update (refs #7909 )
...
[SVN r82561]
2013-01-20 12:20:43 +00:00
Antony Polukhin
47bef9517f
Attempt to add support for lexical conversions of int128 types (refs #7909 )
...
[SVN r82560]
2013-01-20 12:13:31 +00:00
Antony Polukhin
63b680c082
More strict tests, less workarounds, bugfixes (refs #7814 )
...
[SVN r82227]
2012-12-27 20:17:09 +00:00
Antony Polukhin
565e2882d3
Add missing signature to doc (refs #7831 )
...
[SVN r82220]
2012-12-27 18:47:15 +00:00
Antony Polukhin
24bc6ca6f2
Fix bug in array conversion test (refs #7799 )
...
[SVN r82187]
2012-12-23 15:16:01 +00:00
Antony Polukhin
4ad6f1bd4b
FIx bug in conversion of some std::array implementations (refs #7799 )
...
[SVN r82172]
2012-12-22 18:42:04 +00:00
Antony Polukhin
5a6309db7a
Fix incorrect macro usage (refs #7799 )
...
[SVN r82017]
2012-12-16 09:01:18 +00:00
Antony Polukhin
2333ee53f8
Minor fix in lexical_cast_stream_traits_test.cpp
...
[SVN r81745]
2012-12-06 17:20:28 +00:00
Marshall Clow
e15f179bfc
Removed usage of deprecated macros
...
[SVN r81559]
2012-11-26 17:27:53 +00:00
Marshall Clow
82969ebb20
Remove usage of deprecated macros
...
[SVN r81551]
2012-11-26 14:14:10 +00:00
Antony Polukhin
17f4b6fd4c
Comment out some minor unrequired tests
...
[SVN r81486]
2012-11-22 16:33:54 +00:00
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
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
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
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
d6a72e9ea5
Fix bug with volatile types (refs #7157 )
...
[SVN r79797]
2012-07-29 18:54:24 +00:00
Antony Polukhin
3c94791b1e
Workaround VC warning (refs #7116 )
...
[SVN r79565]
2012-07-16 17:17:00 +00:00
Antony Polukhin
e81d4dfdbb
Fix typo in documentation ( fixes #7129 )
...
[SVN r79479]
2012-07-13 19:20:05 +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
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
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
15ab0d6385
Fixes #6812 (now converting "." to float type throws bad_lexical_cast)
...
[SVN r78111]
2012-04-21 11:08:03 +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