350 Commits

Author SHA1 Message Date
Beman
715ee69717 Uses BOOST_CXX14_CONSTEXPR where applicable. Update docs accordingly. 2015-07-17 15:21:50 -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
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
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
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
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
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
Andrey Semashev
df8e0c2dae Merge pull request #5 from Lastique/patch-1
Fix compilation with gcc 4.5 in C++11 mode
2014-05-10 08:59:10 +04:00
Andrey Semashev
f5869d0f82 Merge pull request #6 from Lastique/develop
Added a new macro BOOST_EXPLICIT_OPERATOR_BOOL_NOEXCEPT
2014-05-10 08:57:32 +04:00
Eric Niebler
379e2111e2 value_init and swap work on nvidia gpu's 2014-05-01 15:29:43 -07: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
Eric Niebler
de0e18ca0a work around nvcc bug by only defining has_result when it's needed 2014-04-23 15:54:27 -07:00
Andrey Semashev
8ae3bfa961 Fix compilation with gcc 4.5 in C++11 mode
Gcc 4.5 does not allow non-public defaulted functions, so fall back to the C++03 version. Also replaced the deprecated macros with the new ones and adjusted formatting.
2014-04-10 00:27:41 +04:00
Peter Dimov
d4b5fde5a8 Remove assert from utility 2014-02-09 17:56:48 +02:00
Peter Dimov
b434003b13 Revert incorrect reversion of adf57817ec09cb8edd6032a30da6daec3edbe23f 2013-12-11 23:28:13 +02:00
Peter Dimov
50eafe2027 Fix addressof for nullptr_t values. Fixes #5487. 2013-12-11 01:57:20 +02:00
Peter Dimov
79d9d9f514 Revert "Ref: Remove obsolete MSVC version check."
This reverts commit adf57817ec09cb8edd6032a30da6daec3edbe23f.

Conflicts:
	include/boost/ref.hpp
2013-12-11 00:46:10 +02:00
Peter Dimov
f90812f1d9 Revert "Remove check for obsolete DMC version."
This reverts commit 4dc965909729ad0d7e1c669bbc4383d33ebe97c9.
2013-12-11 00:18:49 +02:00
Peter Dimov
244c343efe Revert "Remove obsolete MSVC check from pragma guard"
This reverts commit 1fd5883b345a3c230daaad8ee93af5bc8f3209d5.
2013-12-11 00:13:48 +02:00
Stephen Kelly
03047e3f00 Simplify multi-component ifdefs containing BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION
[SVN r86248]
2013-10-11 23:20:59 +00:00
Stephen Kelly
468fb2dd5f Remove BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION
Process #ifndef...#else...#endif blocks.

[SVN r86245]
2013-10-11 23:17:48 +00:00
Stephen Kelly
e97577a0ae Remove obsolete files.
[SVN r86242]
2013-10-11 23:11:35 +00:00
Joel Falcou
a90bc68a7f Fix #9170 - Add BOOST_FORCEINLINE in address_of for performance issues
[SVN r86125]
2013-10-01 15:05:39 +00:00
Joel Falcou
b39e4e5aea Fix #9169 - Add BOOST_FORCEINLINE on boost::ref for performance issue
[SVN r86124]
2013-10-01 15:02:28 +00:00
Stephen Kelly
37c8f45edc Operators: Remove obsolete GCC version check.
[SVN r86114]
2013-10-01 08:47:11 +00:00
Stephen Kelly
4dc9659097 Remove check for obsolete DMC version.
[SVN r86043]
2013-09-30 00:36:13 +00:00
Stephen Kelly
3d1646cf51 Detail: Remove obsolete MSVC version checks.
[SVN r86039]
2013-09-30 00:21:39 +00:00
Stephen Kelly
adf57817ec Ref: Remove obsolete MSVC version check.
[SVN r86031]
2013-09-30 00:19:48 +00:00
Stephen Kelly
1fd5883b34 Remove obsolete MSVC check from pragma guard
git grep -h -B1 "^#\s*pragma once" | grep -v pragma | sort | uniq

is now clean.

[SVN r85952]
2013-09-26 13:02:51 +00:00
Stephen Kelly
fc4bc227b5 Utility: Remove obsolete MSVC version check
[SVN r85932]
2013-09-26 09:41:00 +00:00
Stephen Kelly
bcd50e9105 Remove use of obsolete BOOST_APPEND_EXPLICIT_TEMPLATE_TYPE{,_SPEC} macro.
[SVN r85896]
2013-09-25 10:29:44 +00:00