Commit Graph

228 Commits

Author SHA1 Message Date
Joaquín M López Muñoz
0d6a924f94 applied workaround for MSVC++ 6.5/7.0 problem with static constants inside templates, see http://lists.boost.org/Archives/boost/2007/10/128392.php
[SVN r40146]
2007-10-18 06:57:25 +00:00
Alexander Nasonov
9c1f3650f2 Added BOOST_LEXICAL_CAST_ASSUME_C_LOCALE.
[SVN r37950]
2007-06-08 19:59:40 +00:00
Alexander Nasonov
f986e8e588 Get rid of Tru64 cxx warnings
[SVN r37116]
2007-02-28 21:44:10 +00:00
Hartmut Kaiser
959b7ab0b4 Fixed a warning, when lexical cast is used to convert a boost::ulong_long_type to a string.
[SVN r37082]
2007-02-26 17:27:26 +00:00
Alexander Nasonov
209644c177 Better fix for SF:1358600
[SVN r36762]
2007-01-20 13:16:40 +00:00
Alexander Nasonov
986ec16ecc Fix [ 1358600 ] lexical_cast & pure virtual functions & VC 8 STL
[SVN r36739]
2007-01-16 21:53:27 +00:00
Alexander Nasonov
2c41ed0473 Fix for [ 1358600 ] lexical_cast & pure virtual functions & VC 8 STL
[SVN r36738]
2007-01-16 21:03:47 +00:00
Alexander Nasonov
fcc28133c5 Presumably fix Boost.Test failures on Sun CC 5.3 (reported by Gennadiy Rozental)
[SVN r36464]
2006-12-20 08:01:48 +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
ef439017ca Fixed: std::basic_streambuf<char, std::char_traits<char> > is an inaccessible base of boost::detail::lexical_streambuf<char>
[SVN r35759]
2006-10-28 10:22:30 +00:00
Alexander Nasonov
0f46451c1d One more VC6 workaround.
[SVN r35747]
2006-10-25 21:08:50 +00:00
Alexander Nasonov
663635d124 Optimization for floating types (1.25 faster on gcc / FreeBSD 6.2). VC6 test is still broken.
[SVN r35739]
2006-10-25 06:43:44 +00:00
Alexander Nasonov
4d69e9f2af VC6 workaround
[SVN r35738]
2006-10-25 06:41:21 +00:00
Alexander Nasonov
d23f722228 Corrected a typo in comments.
[SVN r35611]
2006-10-14 17:58:33 +00:00
Alexander Nasonov
36db66bd12 Use metafunction (at compile-time), if possible; use run-time function only for broken libraries.
[SVN r35596]
2006-10-13 20:43:14 +00:00
Alexander Nasonov
0a605d1bb3 Use qualified name to fix graph tests
[SVN r35592]
2006-10-13 17:34:56 +00:00
Dave Abrahams
04de824ead vc6 workaround: help the compiler to distinguish overloads
[SVN r35566]
2006-10-12 06:39:14 +00:00
Alexander Nasonov
115ad05af5 Set precision correctly for builtin and UDT floating types.
[SVN r35562]
2006-10-11 19:43:54 +00:00
Alexander Nasonov
ee7ea0011c Calculate/set stream precision for lexical_cast. May be useful for other libraries as well.
[SVN r35561]
2006-10-11 19:19:07 +00:00
Alexander Nasonov
a7436ebacb setbuf renamed to lcast_setbuf to get rid of virtual function override warning
[SVN r34984]
2006-08-28 17:00:44 +00:00
Alexander Nasonov
e797b09590 tabs replaced with 4 spaces
[SVN r34965]
2006-08-26 17:22:33 +00:00
Alexander Nasonov
2fca4d02a1 Optimization for many combinations of types
[SVN r34950]
2006-08-25 20:34:57 +00:00
Gennaro Prota
425e7cb367 removed BOOST_IMPLICIT_CAST; it was committed by mistake, has no unit tests, and is not released by the author under the Boost Software License
[SVN r34857]
2006-08-09 20:18:06 +00:00
Gennaro Prota
0743b5982c added slash to boost url
fixed silly error in #if/#endif logic of the previous edit
improved comment about code never reached
removed "All rights reserved"


[SVN r34822]
2006-08-06 12:31:44 +00:00
Gennaro Prota
795b7e1809 there seems to be no reasonable form which avoids warnings with all compilers; so let's use a clear style and filter explicitly the VC warning
[SVN r34820]
2006-08-05 22:45:53 +00:00
Gennaro Prota
c5bc634015 some "rewording" to avoid spurious level 4 warnings with VC7.1 and VC8
[SVN r34801]
2006-08-01 22:37:38 +00:00
Gennaro Prota
e6c83d0665 with apologies to Terje, changed 'ø' in 'o', to stick to the basic source
character set (non-basic chars should be handled in phase 1, but some users report compile failures due to them)


[SVN r34800]
2006-08-01 20:36:14 +00:00
Gennaro Prota
aac8fcb4b6 boost guidelines (mainly from inspect tool: tabs, license reference text, etc.)
[SVN r34752]
2006-07-27 10:27:37 +00:00
Alexander Nasonov
d436099477 Code size optimization
[SVN r33694]
2006-04-13 20:52:28 +00:00
Dave Abrahams
80e9edcb29 Stop using assert() in tests
[SVN r33181]
2006-02-28 22:56:33 +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
John Maddock
1637edf8ca Large patch from Ulrich Eckhardt to fix support for EVC++ 4.
[SVN r30670]
2005-08-25 16:27:28 +00:00
Fernando Cacciola
1470210523 fixed: "bcc5.6.4 added to the old cast redirection list"
[SVN r29814]
2005-06-27 15:05:13 +00:00
Dave Abrahams
3ab685475c Move #include outside namespace.
[SVN r29772]
2005-06-24 14:20:41 +00:00
Fernando Cacciola
e66d58e6de Old numeric_cast<> completely replaced by new code (except that the old code is retained as a fallback mechanism for old broken compilers that can't deal with the new code)
[SVN r29761]
2005-06-23 23:33:01 +00:00
Joaquín M. López Muñoz
e331fc2a21 workaround for GCC 2.9x lacking std::char_traits<>::eof()
[SVN r29703]
2005-06-20 10:54:07 +00:00
Joaquín M. López Muñoz
2a65633517 fixed trivial bug
[SVN r29654]
2005-06-17 12:34:38 +00:00
Terje Slettebø
461dce3851 Fixed so it doesn't trim any whitespace when converting, fixed reversed bad_lexical_cast constructor parameters, changed to pass-by-const reference
[SVN r29629]
2005-06-16 18:27:22 +00:00
John Maddock
f11967a2c8 BSL update
[SVN r25146]
2004-09-16 11:23:30 +00:00
John Maddock
c1c338990c Added new types boost::long_long_type and boost::ulong_long_type in boost/config.hpp and applied these types in place of "long long" throughout. As a result, almost all of boost now compiles cleanly with -ansi -pedantic with gcc. Changes tested with gcc 3.3, 2.95, VC7.1 and Intel 8.
[SVN r24899]
2004-09-04 10:34:49 +00:00
John Maddock
ec35f00bc3 Removed boost.org copyright assignments, and reverted to orginal author (as based on cvs history).
[SVN r24402]
2004-08-11 10:59:33 +00:00
Douglas Gregor
abf8ee0eb9 Converted to Boost Software License, Version 1.0
[SVN r24055]
2004-07-26 00:32:12 +00:00
Eric Niebler
463284f46f remove minmax hack from win32.hpp and fix all places that could be affected by the minmax macros
[SVN r22394]
2004-02-26 18:27:02 +00:00
Dave Abrahams
80a6db56c1 Warning suppression for GCC from Pierre Barbier de Reuille
<pierre.barbier-at-cirad.fr>


[SVN r19437]
2003-08-04 15:52:51 +00:00
Dave Abrahams
386d7a67d6 initial commit
[SVN r18350]
2003-05-07 22:42:35 +00:00
Terje Slettebø
498c84dd4f no message
[SVN r18238]
2003-04-12 08:02:14 +00:00
John Maddock
3ecac311fd Added no exception handling patch
[SVN r18235]
2003-04-11 10:49:52 +00:00
Terje Slettebø
8828af5f5b no message
[SVN r18142]
2003-03-31 23:02:27 +00:00
Terje Slettebø
9c63f9fbd0 Removed test for MSVC, restored test for BOOST_NO_INTRINSIC_WCHAR_T. Changed bad_lexical_cast to provide the types used, using source()/target() members
[SVN r18139]
2003-03-30 23:19:28 +00:00
Beman Dawes
51395d7b26 BOOST_MSVC<=1200 fix from Terje
[SVN r18002]
2003-03-19 12:14:32 +00:00
Dave Abrahams
52de514faf Commit Terje's changes
[SVN r17979]
2003-03-18 22:34:32 +00:00
Terje Slettebø
eb9d2c02ea no message
[SVN r17921]
2003-03-14 20:17:47 +00:00
Beman Dawes
e2825ab729 overloading fix + less permissive wide character support
[SVN r17893]
2003-03-13 17:27:06 +00:00
Beman Dawes
4978f3a79f BOOST_NO_STD_WSTRING
[SVN r17872]
2003-03-13 00:36:13 +00:00
Beman Dawes
42639f120a update from Kevlin and Terje
[SVN r17861]
2003-03-12 21:33:16 +00:00
Beman Dawes
95e0465334 add or update See www.boost.org comments
[SVN r16708]
2002-12-27 16:51:53 +00:00
Beman Dawes
0fba1d9f7d Add /libs/lib-name to comment
[SVN r16685]
2002-12-23 02:43:12 +00:00
Dave Abrahams
3597b25802 patches for HP aCC
[SVN r16508]
2002-12-04 15:50:04 +00:00
Dave Abrahams
ccf7efe620 Patch from Gennadiy Rozental
[SVN r14621]
2002-07-26 18:06:25 +00:00
Dave Abrahams
7d3864be03 tru64cxx6.5 fixes
[SVN r14421]
2002-07-12 14:32:20 +00:00
Dave Abrahams
cb5b83ef53 Handle unsigned __int64 for MSVC6
[SVN r14408]
2002-07-11 20:29:50 +00:00
Dave Abrahams
0a560dd543 Suppress warnings for MinGW
[SVN r12588]
2002-01-30 20:02:11 +00:00
Beman Dawes
8cbbd7c551 Fix sstream config issue plus update license
[SVN r12378]
2002-01-20 20:08:46 +00:00
Beman Dawes
805d5df9cb remove tabs
[SVN r12357]
2002-01-19 15:49:53 +00:00
Jeremy Siek
bd16c171e6 fixed lexical cast g++ sstream problem
[SVN r11592]
2001-11-05 16:43:43 +00:00
John Maddock
6a9f713309 Fixed <limits> problem
[SVN r9693]
2001-04-02 11:52:42 +00:00
Dave Abrahams
bc9129719e Undid a bug I introduced yesterday. numeric_cast<> never
worked with stock GCC; trying to get it to do that broke
vc-stlport.


[SVN r8703]
2001-01-22 04:27:00 +00:00
Dave Abrahams
e923c638b4 BOOST_NO_LIMITS_COMPILE_TIME_CONSTANTS to config.hpp.
Removed unused BOOST_EXPLICIT_TARGET macro.
Moved boost::detail::type to boost/type.hpp.
Made it compile with stock gcc again


[SVN r8663]
2001-01-21 05:07:11 +00:00
Beman Dawes
6c4d9b550b Initial commit after public review (note change in library name per review)
[SVN r8515]
2001-01-06 16:39:40 +00:00
Beman Dawes
beb912a139 Remove nested namespace cast in preparaton for formal review, fix spacing.
[SVN r8370]
2000-11-30 19:10:30 +00:00
Dave Abrahams
4728acd652 GCC 2.95.2 bug workaround courtesy Jens Maurer
[SVN r8346]
2000-11-28 05:04:54 +00:00
John Maddock
e3ecdf7a27 fixes for Borland C++ Builder
[SVN r8135]
2000-11-04 12:39:28 +00:00
Dave Abrahams
02436dd1c6 Added a fix for compilers sensitive to the presence of "template" on template
members of templates (e.g. EDG-based compilers like CXX on the Alpha)


[SVN r8129]
2000-11-04 09:00:02 +00:00
Dave Abrahams
d08d2cb415 Fix for fixed_numeric_limits<>::min() in the BOOST_NO_LIMITS_COMPILE_TIME_CONSTANTS case.
[SVN r8036]
2000-10-27 13:43:33 +00:00
Dave Abrahams
7470535162 Fix numeric_cast<> bugs with floating types.
[SVN r8008]
2000-10-19 19:14:03 +00:00
Dave Abrahams
906d09b511 a fix for "unsigned type always passes this test" warnings under GCC.
[SVN r7999]
2000-10-18 13:52:09 +00:00
Dave Abrahams
15539c72c8 Suppress numeric_cast warnings for GCC, Borland and MSVC
[SVN r7626]
2000-07-17 22:33:43 +00:00
Beman Dawes
fca67c7788 This commit was generated by cvs2svn to compensate for changes in r4,
which included commits to RCS files with non-trunk default branches.


[SVN r7621]
2000-07-07 16:04:40 +00:00