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
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
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
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
Peter Dimov
50eafe2027
Fix addressof for nullptr_t values. Fixes #5487 .
2013-12-11 01:57:20 +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
Joel Falcou
a90bc68a7f
Fix #9170 - Add BOOST_FORCEINLINE in address_of for performance issues
...
[SVN r86125]
2013-10-01 15:05:39 +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
Andrey Semashev
9df000eece
Extracted empty_deleter to Boost.Utility.
...
[SVN r85577]
2013-09-05 18:25:41 +00:00
Andrey Semashev
8e4054467e
Attempt to work around explicit_operator_bool_compile_fail_conv_pvoid test failure for VACPP.
...
[SVN r85570]
2013-09-05 08:28:24 +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
6bb1ce9b7b
Avoid using ios_base and streamsize, which are not defined in iosfwd.
...
[SVN r84636]
2013-06-04 18:41:39 +00:00
Andrey Semashev
d09b37d3ef
More modifications according to the review.
...
[SVN r84611]
2013-06-02 19:16:50 +00:00
Andrey Semashev
f3bb2a493c
Modifications according to the review.
...
[SVN r84609]
2013-06-02 18:15:53 +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
Andrey Semashev
547c562464
Minor change (no need to create a sentry, it will be created by the stream methods).
...
[SVN r84513]
2013-05-26 15:52:16 +00:00
Andrey Semashev
91aab126e1
1. Extracted forward declarations to a separate header so that it can be included by other libraries (Boost.Log, for instance).
...
2. Added a default value for char traits template parameter.
3. Added missing headers and removed unused ones.
4. Added inline specifiers to operators.
5. Fixed operator<< behaving incorrectly when particular width is requested (std::setw, etc.).
6. Replaced all throw statements with BOOST_THROW_EXCEPTION.
[SVN r84511]
2013-05-26 15:36:25 +00:00
Vicente J. Botet Escriba
98bb9e6300
Utility: address_of take care of #7079 .
...
[SVN r83429]
2013-03-14 17:48:06 +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
Eric Niebler
9284a64936
disable annoying msvc warning, refs #7663
...
[SVN r82960]
2013-02-17 23:56:10 +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
98d793152c
Move string_ref to Boost.Utility; first crack at docs
...
[SVN r81972]
2012-12-15 16:38:07 +00:00
Marshall Clow
dc8ffe92b8
Removed use of deprecated macros
...
[SVN r81801]
2012-12-08 18:37:29 +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
Michel Morin
943af35553
Tweak comments (removing a non-ascii character, updating references to the C++11 standard, etc.) and rename the include guard macro.
...
[SVN r81112]
2012-10-30 16:51:16 +00:00