Commit Graph
502 Commits
Author SHA1 Message Date
Robert Ramey b47fccb4a4 adjusted visibility to permit passing of tests on mingw for serialization library 2017-10-22 11:22:45 -07:00
Andrey Semashev 15d8f9a59c Actualized numeric_traits implementation.
1. Ported to Boost.TypeTraits primitives for type inspection and simple
   metaprogramming instead of local implementations. This effectively
   drops any workarounds for compilers without support for partial template
   specializations. Such compilers are long outdated.

2. Include more fine-grained headers from Boost.TypeTraits to optimize
   compilation times.

3. Made numeric_distance function constexpr.

4. Updated the test accordingly (i.e. replaced the use of now removed local
   components with Boost.TypeTraits). Also replaced lexical_cast with
   standard streams to further reduce dependencies.

None of these changes should affect functionality.
2017-09-20 02:01:51 +03:00
Andrey Semashev 9b2065c0ca Enabled numeric_traits test that has been moved from Boost.Utility. 2017-09-20 01:37:06 +03:00
Peter Dimov 13b49041e1 Move test files to test/ 2017-09-20 01:33:10 +03:00
Andrey Semashev 08bb964247 Replaced left shift of signed integer values with multiplication to keep the expressions constant according to C++11. 2017-09-20 01:33:10 +03:00
Douglas Gregor 4da971f715 Merged from Version_1_33_1
[SVN r31949]
2017-09-20 01:33:10 +03:00
Rene Rivera 07fe4630f6 Apply typo fixes from Julio M. Merino Vidal
[SVN r27513]
2017-09-20 01:33:10 +03:00
John Maddock 51baccb399 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]
2017-09-20 01:33:10 +03:00
Douglas Gregor 6e36d0d70a Converted to Boost Software License, Version 1.0
[SVN r24055]
2017-09-20 01:33:10 +03:00
Jens Maurer c0ced7e14d avoid default parameters for function templates, they confuse SunCC
[SVN r19100]
2017-09-20 01:33:10 +03:00
Dave Abrahams 6adadccbde VC++ fixes
[SVN r14435]
2017-09-20 01:33:10 +03:00
John Maddock 40d73a99e9 Updated preprocessor logic to use BOOST_HAS_LONG_LONG
[SVN r11399]
2017-09-20 01:33:10 +03:00
Dave Abrahams 3db9d2e843 Fixes for ICL
[SVN r10613]
2017-09-20 01:33:10 +03:00
Dave Abrahams 2c7b0fe600 Fixes for Borland
[SVN r9117]
2017-09-20 01:33:10 +03:00
Dave Abrahams bf772a322f Added test for wchar_t
[SVN r8748]
2017-09-20 01:33:10 +03:00
Dave Abrahams 4b233854aa Now statically selecting a test for signed numbers to avoid warnings with fancy compilers. Added commentary and additional dumping of traits data for tested types.
[SVN r8746]
2017-09-20 01:33:10 +03:00
Jens Maurer 5d2660f113 minor fix: move "static" storage specifier to the front of a declaration
[SVN r8714]
2017-09-20 01:33:10 +03:00
Dave Abrahams 172a0a1062 Initial checkin
[SVN r8702]
2017-09-20 01:33:10 +03:00
Beman ce79a887c4 Add BOOST_CONSTEXPR where required by C++ Std [bitmark.types].
Add operator! and function bitmask_set as Boost extensions.
2017-08-28 07:32:08 -04:00
Beman 782208b04d Revert "adjustment to avoid linking problem: vtable not found found for ~utf8_codecvt_facet.hpp"
This reverts commit 73c12230c3.

Reverted because the change broke GCC/MinGW builds of Filesystem.
2017-08-28 07:27:30 -04:00
Robert Ramey 73c12230c3 adjustment to avoid linking problem: vtable not found found for ~utf8_codecvt_facet.hpp 2017-08-13 15:11:17 -07:00
Andrey Semashev 6c11197586 Silenced warnings about unused variables. boost-1.64.0-beta1 boost-1.65.0 boost-1.64.0-beta2 boost-1.65.1 boost-1.64.0 boost-1.63.0 2016-11-06 21:11:51 +03:00
Andrey Semashev e88ec2fc6e Replaced std::binary_function with the corresponding typedefs. Improves compatibility with C++17. Also fixed an include for the standard streams. 2016-11-06 21:07:08 +03:00
Andrey Semashev 94f1e6b0c6 Fixed length calculation and added a test. boost-1.62.0 2016-08-07 23:35:04 +03:00
Andrey Semashev 6abcc6cd09 Merge pull request #12 from danieljames/version-meta-data
Mark library as hidden.
2016-07-05 11:01:55 +03:00
Daniel 03b1576241 Mark library as hidden. 2016-07-04 23:21:41 +01:00
Rene Rivera 7368c13108 Merge pull request #11 from danieljames/fix-json
Fix syntax error in libraries.json
2016-06-22 06:53:25 -05:00
Daniel 3b915c053d Fix syntax error in libraries.json 2016-06-22 08:10:59 +01:00
Rene Rivera 3224a71ccc Missed some changes for requirements conformance. 2016-06-21 11:03:41 -05:00
Rene Rivera 1aa7f4d8fc Additions to make Detail library conform to library requirements. 2016-06-20 23:05:43 -05:00
Robert Ramey 10f1da5034 corrected usage of visibility macro with inline function 2016-06-09 11:00:30 -07:00
Robert Ramey 4013403c44 skipped test_utf8_codecvt if w?stream not supported 2016-05-02 10:33:05 -07:00
Robert Ramey e9c548eeb5 correction in visibility for utf8 facet boost-1.61.0 2016-04-15 09:42:19 -07:00
Robert Ramey 11a9234e13 re-correct visibility macro for utf8-codecvt 2016-03-28 14:43:26 -07:00
Robert Ramey 313c13b263 Added test for utf8_codecvt 2016-03-28 10:29:57 -07:00
Robert Ramey 99f7f4042f Revert "change visibility setting to import/export from visibility"
This reverts commit bda87dd74e.
2016-03-23 09:34:48 -07:00
Robert Ramey bda87dd74e change visibility setting to import/export from visibility 2016-03-20 23:16:13 -07:00
Robert Ramey fbf832c900 make utf8 visible 2016-02-26 17:58:54 -08:00
Robert Ramey 32b98c7586 correct usage of visibility macro for MSVC 2015-10-23 15:12:36 -07:00
Robert Ramey 9fcf2ae390 update visibility attributes 2015-10-20 12:00:27 -07:00
Andrey Semashev b0a2809915 Corrected indents, removed trailing spaces. boost-1.60.0 2015-04-02 18:36:26 +03:00
Andrey Semashev 2fe0e70a94 Merge pull request #8 from eldiener/develop
Remove dependency on deprecated type_trait headers
2015-04-02 18:31:13 +03:00
Edward Diener fbc7c23ab1 Remove dependency on deprecated type_trait headers 2015-04-01 12:16:29 -04:00
Andrey Semashev 678a7ed98b Merge pull request #7 from eldiener/develop
Corrected is_postfix_incrementable implementation
boost-1.58.0 boost-1.59.0
2015-04-01 18:49:11 +03:00
Edward Diener 3dde52aaa3 Corrected is_postfix_incrementable implementation 2015-03-31 21:04:47 -04:00
Andrey Semashev 398479e296 Merge pull request #6 from eldiener/develop
Remove unneeded header file inclusion for deprecated type_traits header.
2015-03-30 10:49:28 +03:00
Edward Diener f24860d28c Remove unneeded header file inclusion for deprecated type_traits header. 2015-03-30 02:23:13 -04:00
Beman fcaf168000 Initial commit if lightweight_test_report.hpp, aimed at making it easier for users to supply sample programs in bug reports. First use will be in filesystem. 2014-12-28 09:06:33 -05:00
Robert Ramey 1fef8494fe eliminated MACRO for do length by providing both const and non-const versions 2014-12-12 21:28:21 -08:00
Beman 26cf086520 Fix #10354 from Juan Alday. As he pointed out, the declaration (in detail/utf8_codecvt_facet.hpp) and definition (in detail/utf8_codecvt_facet.ipp) need to use the same signature. Reapply Marshall Clow's [SVN r81616] and [SVN r81877] from November and December, 2012, as these appear to correctly supply const for the msvc/dinkumware library (since fixed) that used a do_length() first argument. Revert the portion of [SVN r86722] that removed BOOST_CODECVT_DO_LENGTH_CONST from the do_length() signature in utf8_codecvt_facet.ipp so that it stays in sync with utf8_codecvt_facet.hpp. For the same reason, copy the __IBMCPP__ workaround from utf8_codecvt_facet.ipp to utf8_codecvt_facet.hpp. Verified all libraries (filesystem, log, program_options, property_tree, serialization) that use utf8_codecvt_facet passed all tests before, and then after, these changes. Also applied minor edits to the use comments embedded in utf8_codecvt_facet.hpp. 2014-09-03 17:43:39 -04:00