Commit Graph

27 Commits

Author SHA1 Message Date
Andrey Semashev
fc781c8a5a Added a missing include. 2019-05-06 13:24:18 +03:00
Peter Dimov
1a9b7bccc3 Remove typename/template uses outside of templates 2018-05-03 15:52:42 +03:00
Daniel James
adaa82e03e Add some tests
Test classes which I'm going to remove the MPL dependency from: blank,
allocator_utilities, is_xxx and reference_content.  I'm also going to change
indirect_traits, but that's tested in the python module.
2018-04-08 20:55:38 +01:00
Andrey Semashev
ac88c3f24c Updated utf8_codecvt test to verify that length() detects character boundaries. 2017-10-29 21:27:54 +03:00
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
6c11197586 Silenced warnings about unused variables. 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. 2016-08-07 23:35:04 +03:00
Robert Ramey
4013403c44 skipped test_utf8_codecvt if w?stream not supported 2016-05-02 10:33:05 -07:00
Robert Ramey
313c13b263 Added test for utf8_codecvt 2016-03-28 10:29:57 -07:00
Daniel James
9063b1d1fd Don't run 'correctly_disable' tests by default. 2014-05-31 18:22:42 +01:00
Daniel James
c75e59f0e1 Move binary_search_test.cpp from utility module.
As it's testing a header in this module.
2014-05-28 15:57:56 +01:00
Andrey Semashev
7312799cc0 Fixed dereferencing rend iterators. 2014-03-26 09:57:33 +04:00
Daniel James
02d2fb38e3 Hash: Merge deprecated header warning + some documentation.
[SVN r78697]
2012-05-27 21:13:49 +00:00
Daniel James
9436535318 Unordered: Fix complex type for gcc's standard library. Fixes #6139.
I haven't had any confirmation, but I assume this fixes the problem.


[SVN r75909]
2011-12-11 21:43:01 +00:00
Daniel James
8a12de16a4 Detail: Turn off warnings as errors for compile-fail tests.
The test shouldn't succeed because the compile failed because of a warning.


[SVN r73096]
2011-07-14 09:47:51 +00:00
Daniel James
e87588af6a Detail: test container_fwd for debug version of standard library.
[SVN r72996]
2011-07-10 13:15:08 +00:00
Daniel James
bb1f3d690a Detail: More pessimistic container_fwd.hpp
Have a separate config stage, which by default disables forward
declaration of containers. Also add a test to check that if it is
disabled correctly.

Removed forward declaration of std::pair - since it's almost always
included by `<utility>`.

[SVN r72990]
2011-07-09 17:13:39 +00:00
Steven Watanabe
d20069a4d6 Revert [67111] (addition of boost/detail/iomanip.hpp) and all the commits that depend on it. ([68137], [68140], [68141], [68154], and [68165]).
[SVN r68168]
2011-01-15 08:11:51 +00:00
Bryce Adelstein-Lelbach
0693db0847 Fixed ambiguity issues when compiling with C++0x support enabled.
[SVN r68155]
2011-01-14 17:37:59 +00:00
Bryce Adelstein-Lelbach
e8060b3ef5 Removed the use of __gnu_cxx::is_sorted from Boost.Graph as it's lolnonportable,
implemented a version of the algorithm as a replacement,



[SVN r68144]
2011-01-14 03:02:47 +00:00
Bryce Adelstein-Lelbach
4a1c553f90 Replacing the use of <iomanip> with <boost/detail/iomanip.hpp> across Boost.
On Linux, GNU's libstdc++, which is the default stdlib for icc and clang,
cannot parse the <iomanip> header in version 4.5+ (which thankfully neither
compiler advises the use of yet), as it's original C++98-friendly
implementation has been replaced with a gnu++0x implementation.
<boost/detail/iomanip.hpp> is a portable implementation of <iomanip>, providing
boost::detail::setfill, boost::detail::setbase, boost::detail::setw,
boost::detail::setprecision, boost::detail::setiosflags and
boost::detail::resetiosflags. 



[SVN r68140]
2011-01-14 02:35:58 +00:00
Daniel James
475c3310be Move tests for container_fwd.hpp into detail.
[SVN r67667]
2011-01-04 23:30:22 +00:00
Bryce Adelstein-Lelbach
a057517431 Added an iomanip implementation to boost/detail. GNU's libstdc++ version 4.5+
contains an iomanip header which uses C++0x features that only GCC supports,
causing breakage with ICC and Clang. Also added a test, but I'm not sure how to
set it up to be run by the testing machines.



[SVN r67111]
2010-12-08 18:25:07 +00:00