Glen Fernandes
dabf53a703
Refactor stream write functionality into a standalone utility
2019-04-19 09:53:29 -04:00
Marshall Clow
db05c11f50
Fix string_ref::find/rfind's handling of empty strings. Thanks to 'reluctantbugreporter' for the bug report
2018-09-14 09:48:13 -07:00
Glen Fernandes
fc135e0d72
Avoid inheritance for final types in compressed_pair
2018-09-09 17:34:22 -04:00
Dimitrij Mijoski
e2d115db97
Use hash_fwd.hpp in string_view for more lightweight dependencies.
2018-04-20 23:18:31 +02:00
Dimitrij Mijoski
6ad6bc005c
Implement boost hash for string_view
2018-04-20 13:42:07 +02:00
Peter Dimov
426836d860
Remove shared_iterator files (they're in Iterator now)
2017-12-24 00:05:50 +02:00
Glen Fernandes
f8a243bcff
Utility tests should use lightweight_test instead of test
2017-12-23 13:00:33 -05:00
Peter Dimov
c88936800d
Remove dependency on Random in operators_test.cpp
2017-12-23 06:19:43 +02:00
Peter Dimov
96fbce5759
Remove use of shared_ptr in test/value_init_test.cpp
2017-12-23 04:44:29 +02:00
Peter Dimov
51ba9f1b45
Add one more case to value_init_workaround_test
2017-09-24 12:47:05 +03:00
Andrey Semashev
5cef1403b0
Merge pull request #33 from morinmorin/fix_no_expr_sfinae
...
result_of<F&(…)> fails on MSVC-12 if F is a function pointer
2017-09-23 21:59:06 +03:00
morinmorin
81ce4693f6
Add tests for result_of<F&(...)> in C++11.
2017-09-20 23:44:35 +09:00
Andrey Semashev
2ed5ee9588
Moved numeric_traits_test.cpp to Boost.Detail.
2017-09-20 01:42:15 +03:00
Andrey Semashev
88c36c1941
Remove generator iterator test and docs as these were moved to Boost.Iterator.
2017-08-28 20:41:11 +03:00
Andrey Semashev
62b39548be
Moved next/prior to Boost.Iterator.
2017-08-26 17:25:14 +03:00
Brian Minard
592382dc61
Add test cases for std::reverse_iterator
2017-07-09 03:10:10 +03:00
Peter Dimov
bfdcce0f97
Move test files to test/
2017-05-29 19:10:46 +03:00
Marshall Clow
330b49d602
Mark comparison operators for string_view as constexpr; add tests. Reference: https://svn.boost.org/trac/boost/ticket/12896
2017-05-03 19:58:02 -07:00
Marshall Clow
6c4ab93573
Revert change disallowing construction of string_view/string_ref from rvalue string
2017-03-28 15:17:09 +02:00
Marshall Clow
00f02167e3
Add tests to ensure that string_view|ref from rvalue fails (whenever it can)
2017-02-13 10:25:04 -08:00
zerotypos-found
816607e212
Remove tabs and Non-ASCII characters.
2016-11-15 11:59:51 +09:00
Andrey Semashev
febca584d9
Removed -u command line option for the compressed_pair_test as this option is not recognized by Boost.Test (and presumably never was). This fixes the test execution failure.
2016-09-03 00:25:51 +03:00
Andrey Semashev
3d853b0e83
Reworked to_string test to verify the overload with a custom allocator even when explicit conversion operators are not supported. Made the custom allocator more standard-compliant.
2016-09-01 22:42:29 +03:00
gnaggnoyil
e5932ebb08
fix compile error on basic_string_view::to_string when Allocator is user-defined
2016-09-01 21:56:20 +03:00
Marshall Clow
4313bfc323
Revert "Remove the 'basic_string_ref template; use 'basic_string_view' instead. Keep the string_ref, etc typedefs around, though"
...
This reverts commit 8ab8e36dcf
.
2016-03-07 08:45:25 -08:00
Marshall Clow
8ab8e36dcf
Remove the 'basic_string_ref template; use 'basic_string_view' instead. Keep the string_ref, etc typedefs around, though
2016-02-17 11:32:16 -08:00
Marshall Clow
1caa745dd7
Introduce new 'string_view' to match the one in the standard. Step #2 (up next) is to retire string_ref in favor of string_view
2015-12-21 11:39:59 -08:00
akumta
fa8301a56a
Update string_ref_test2.cpp
...
For ticket# 10838
2015-02-25 10:49:14 -08:00
Andrey Semashev
651a869d4f
Reworked next() and prior() taking the distance arguments.
...
The new version should provide the expected behavior in the case (prior(v.end(), v.size()) == v.begin()). It should also work with integers now, as was originally intended by David Abrahams. Added tests to verify these new use cases.
2014-06-24 01:05:32 +04:00
Andrey Semashev
2fa70612bb
Removed docs and tests of the components moved to Boost.Core. Added links and redirections to the docs in Boost.Core.
2014-06-12 21:31:37 +04:00
K-ballo
51e482edfe
Added base_from_member specialization for members of lvalue-reference type
2014-06-11 18:55:12 -03:00
Andrey Semashev
61d07273fc
Remove executable bit from the file.
2014-06-12 01:44:35 +04:00
Peter Dimov
beab2e74ca
Added test for generator_iterator.hpp.
2014-06-05 02:19:58 +03:00
Andrey Semashev
10b8041472
boost::swap, boost::empty_deleter and explicit operator bool macros moved from Boost.Utility to Boost.Core.
2014-06-01 22:44:30 +04:00
Daniel James
329ca0bae8
Move binary_search_test.cpp into detail module.
...
The header it's testing is in the detail module, so it should be there.
2014-05-31 18:14:18 +01:00
Andrey Semashev
d1bfa8e7b0
Added a new macro BOOST_EXPLICIT_OPERATOR_BOOL_NOEXCEPT, which implements a noexcept operator. Also added explicit noexcept specification for the constexpr macro.
2014-04-26 15:11:35 +04:00
Peter Dimov
d4b5fde5a8
Remove assert from utility
2014-02-09 17:56:48 +02:00
Peter Dimov
50eafe2027
Fix addressof for nullptr_t values. Fixes #5487 .
2013-12-11 01:57:20 +02:00
Andrey Semashev
0f5ae0e73c
Corrected comment.
...
[SVN r85624]
2013-09-09 18:43:27 +00:00
Andrey Semashev
7ae5e14681
Extracted BOOST_EXPLICIT_OPERATOR_BOOL macro from Boost.Log.
...
[SVN r85543]
2013-09-01 16:31:16 +00:00
Daniel Walker
15021632dc
added new result_of mode that uses TR1 with a decltype fallback as suggested by Nathan Crookston; fixes #7753
...
[SVN r84949]
2013-07-03 22:14:27 +00:00
Andrey Semashev
9092b9277b
Added a test for long padding.
...
[SVN r84613]
2013-06-02 20:00:04 +00:00
Andrey Semashev
71b501a0b0
Removed constexpr from substr() as it doesn't work with BOOST_THROW_EXCEPTION. Added a test for streaming.
...
[SVN r84518]
2013-05-26 19:23:52 +00:00
Marshall Clow
9cb31aee6e
Fix bug in test; thanks to AddressSanitizer for the heads-up
...
[SVN r83493]
2013-03-18 20:46:53 +00:00
Eric Niebler
e0e16be802
fix breakage of string_ref logical ops, detabify, remove trailing whitespace
...
[SVN r83147]
2013-02-25 06:30:00 +00:00
Marshall Clow
6e2c1b6b53
Added to_string and better comparisons to Boost.StringRef
...
[SVN r82902]
2013-02-15 16:12:30 +00:00
Marshall Clow
e4d622019f
Fixed bug in string_ref::find; Refs #8067
...
[SVN r82901]
2013-02-15 16:07:06 +00:00
Marshall Clow
05af0deaed
Update Boost.StringRef tests to use newer Boost.Test features
...
[SVN r82825]
2013-02-11 21:49:56 +00:00
Marshall Clow
98d793152c
Move string_ref to Boost.Utility; first crack at docs
...
[SVN r81972]
2012-12-15 16:38:07 +00:00
Marshall Clow
c55d5ca7de
Removed usage of deprecated macros in Boost.Utility; specifically result_of
...
[SVN r81574]
2012-11-26 20:32:24 +00:00