1016 Commits

Author SHA1 Message Date
Beman
c23afeb687 Add doc/html/string_view.html 2015-07-17 15:27:18 -04:00
Beman
715ee69717 Uses BOOST_CXX14_CONSTEXPR where applicable. Update docs accordingly. 2015-07-17 15:21:50 -04:00
Beman
404fea073f Clear a few existing warnings. 2015-07-16 15:11:25 -04:00
Beman
98b24e1406 Get rid of BOOST_CONSTEXPR for many signatures until compilers catch up with the expectations of the TS. Define _SCL_SECURE_NO_WARNINGS in test programs to quiet warnings. 2015-07-15 20:41:24 -04:00
Beman
090ab12074 Use std::copy() rather than std::copy_n() to support pre-C++11 standard libraries 2015-07-15 16:44:58 -04:00
Beman
904e2c3c81 Supply missing #include. Rewrite typedef tests to avoid GCC warnings. 2015-07-15 16:15:23 -04:00
Beman
270a6c39b5 First pass at doc updates. 2015-07-15 07:27:58 -04:00
Beman
6069151a06 Add copy and swap tests. Fix wrong return value from copy. 2015-07-14 15:24:11 -04:00
Beman
9c961f0577 find_last_of, find_last_not_of, passing tests. 2015-07-13 17:23:23 -04:00
Beman
268861ff6b find_first_not_of passing tests 2015-07-13 10:29:45 -04:00
Beman
a329164f8c simplify find logic. find_first_of passing tests. 2015-07-13 09:26:57 -04:00
Beman
61c02fdd7a rfind working. 2015-07-12 17:01:57 -04:00
Beman
896577a68d Remove BOOST_CONSTEXPR from searches. My level of knowledge about constexpr is too low to reason about the implications and create test cases. 2015-07-08 07:52:41 -04:00
Beman
24933c4409 Add additional find test case. Change test to pos <= size(), thus avoiding unneeded call to std::search. Add missing signatures. 2015-07-08 07:26:15 -04:00
Beman
6c5a955c85 Add more extensive find() tests. Fix bugs detected by these tests. Get string_view_test3 working on GCC -std=c++11, and verify tests passing on older VC++ releases. 2015-07-07 17:27:04 -04:00
Beman
306bbfdaf1 Update existing and add missing find() signatures. Add test cases. Update Jamfile. Comment out test2 problem. 2015-07-07 05:58:13 -04:00
Beman
250aaa73e8 Add or modify basic_string_view typedefs to match TS. Add BOOST_CONSTEXPR and BOOST_NOEXCEPT where specified in the TS. Add swap, copy, and five compare compare signatures per TS. Untested except for typedefs. 2015-07-06 11:24:27 -04:00
Beman
57d2173de9 Globally change _ref to _view in file names and files. Add infrastructure for testing compliance with the TS. Add the first missing TS item, the basic_string_view typedef traits_type. 2015-07-05 16:44:40 -04:00
Beman
20b78d7667 Initial commit of files copied from string_ref. 2015-07-05 11:00:47 -04:00
Marshall Clow
13610caa36 Update copyright notice; change to_string to avoid UB by calling a different constructor. Fixes #11150 2015-03-28 12:02:41 -07:00
Andrey Semashev
6bcf4f92bf Merge pull request #19 from akumta/patch-1
Update string_ref_test2.cpp
boost-1.59.0 boost-1.58.0
2015-02-27 09:26:11 +03:00
akumta
fa8301a56a Update string_ref_test2.cpp
For ticket# 10838
2015-02-25 10:49:14 -08:00
Andrey Semashev
7306c8c359 Merge branch 'develop' boost-1.57.0 2014-09-06 22:19:24 +04:00
Andrey Semashev
492fd7f091 Moved enable_if to Boost.Core. 2014-08-18 18:57:40 +04:00
Andrey Semashev
4fbd789253 Merge pull request #18 from danieljames/metadata
Create metadata file.
2014-08-18 18:49:04 +04:00
Daniel James
4522603132 Add metadata file. 2014-08-18 15:12:15 +01:00
Daniel James
cae8d90d65 Add a redirect for the compressed pair docs. boost-1.56.0 2014-07-04 22:05:56 +04:00
Andrey Semashev
2ec0488e2a Merge pull request #16 from danieljames/compressed-pair-redirect
Add a redirect for the compressed pair docs.
2014-07-04 21:56:14 +04:00
Daniel James
520dff9270 Add a redirect for the compressed pair docs. 2014-06-30 22:58:27 +01:00
Andrey Semashev
8e24c798ad Merge pull request #15 from boostorg/next_prior_fix_iterator_backtracking
Reworked next() and prior() taking the distance arguments.
2014-06-25 22:26:44 +04: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
7a8f16efdc Removed trailing spaces and tab. 2014-06-12 21:34:19 +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
Andrey Semashev
f1edd107eb Merge pull request #12 from K-ballo/base-from-ref-member
Added base_from_member specialization for members of lvalue-reference types.
2014-06-12 03:54:08 +04:00
Andrey Semashev
c185d2dfa9 Merge pull request #13 from K-ballo/compressed-pair-doc
Ported compressed_pair documentation to Quickbook
2014-06-12 03:38:24 +04:00
K-ballo
4531b2a2a6 Ported compressed_pair documentation to Quickbook 2014-06-11 19:48:23 -03: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
Andrey Semashev
42d56fbd51 Merge pull request #11 from K-ballo/base-from-member-doc
Ported base_from_member documentation to Quickbook
2014-06-12 01:30:02 +04:00
K-ballo
6a1e97f870 Ported base_from_member documentation to Quickbook 2014-06-11 18:17:33 -03:00
Andrey Semashev
c0fdaba925 Removed auto-generated files. 2014-06-12 01:06:53 +04:00
Peter Dimov
87bc4c8dce Remove declval.hpp, moved to type_traits. 2014-06-05 17:41:17 +03:00
Peter Dimov
34c11cb995 Remove generator_iterator.hpp, as it has been moved to iterator. 2014-06-05 02:34:39 +03: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
Peter Dimov
1ed9aaa2a4 Remove headers that have been moved into core. 2014-06-01 03:22:30 +03:00
Eric Niebler
5a54e21ec5 Merge branch 'akrzemi1-patch-1' into develop 2014-05-31 10:46:26 -07:00
Eric Niebler
8e06104836 Merge branch 'patch-1' of github.com:akrzemi1/utility into akrzemi1-patch-1 2014-05-31 10:44:18 -07:00
Daniel James
45d884ffd7 Merge pull request #9 from danieljames/remove-binary-search-test
Move binary_search_test.cpp into detail module.
2014-05-31 18:16:44 +01: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