Commit Graph

  • 06ae661775 Merge pull request #31 from Lastique/next_prior_use_traversal Andrey Semashev 2017-07-13 21:04:18 +03:00
  • d9d076874e Merge branch 'develop' Andrey Semashev 2017-07-13 20:59:28 +03:00
  • e25d85446e Use Boost.Iterator to advance iterators. Andrey Semashev 2017-07-12 21:08:13 +03:00
  • 5bc9e47688 Changed iterator_category nested type detection to work with MSVC and different versions of gcc. Andrey Semashev 2017-07-12 20:14:48 +03:00
  • ec50f22b8b Merge pull request #30 from Lastique/fix_next_prior_for_iterators Andrey Semashev 2017-07-09 13:41:03 +03:00
  • 592382dc61 Add test cases for std::reverse_iterator Brian Minard 2017-07-08 09:15:33 -04:00
  • 6cf9c22cf1 Reworked iterator handling in next/prior helpers. Andrey Semashev 2017-07-09 02:27:47 +03:00
  • 33475f87e4 Merge branch 'develop' Peter Dimov 2017-05-30 15:08:09 +03:00
  • 21261a8630 Add visible dependency to result_of_iterate.hpp Peter Dimov 2017-05-30 01:20:02 +03:00
  • 7d60e8e378 Merge branch 'develop' Peter Dimov 2017-05-30 00:56:41 +03:00
  • 10ff4d4fcd Try to upgrade libstdc++ for clang in 14/1z mode Peter Dimov 2017-05-29 21:27:57 +03:00
  • 89bf74beee Add .travis.yml Peter Dimov 2017-05-29 19:16:28 +03:00
  • bfdcce0f97 Move test files to test/ Peter Dimov 2017-05-29 19:10:46 +03:00
  • 330b49d602 Mark comparison operators for string_view as constexpr; add tests. Reference: https://svn.boost.org/trac/boost/ticket/12896 Marshall Clow 2017-05-03 19:58:02 -07:00
  • 68b26cddbe Merge branch 'develop' of github.com:boostorg/utility into develop boost-1.64.0 Marshall Clow 2017-04-06 07:59:12 -07:00
  • 6c4ab93573 Revert change disallowing construction of string_view/string_ref from rvalue string Marshall Clow 2017-03-28 15:17:09 +02:00
  • 0876da45db Fix potential overflow in substr; Trac #11536. Also change string_view::copy to use the traits::copy Marshall Clow 2017-02-13 10:49:17 -08:00
  • 00f02167e3 Add tests to ensure that string_view|ref from rvalue fails (whenever it can) boost-1.64.0-beta2 boost-1.64.0-beta1 Marshall Clow 2017-02-13 10:25:04 -08:00
  • 9960d9f395 Don't construct string_view|string_ref from rvalue string. That way lies pain Marshall Clow 2017-02-13 08:15:44 -08:00
  • ccfd741c0a Merge pull request #27 from MarcelRaad/patch-1 Andrey Semashev 2016-12-21 12:20:20 +04:00
  • c5c479d49c Use non-deprecated include paths Marcel Raad 2016-12-21 08:22:35 +01:00
  • 3e8f73c6ac Merge pull request #26 from Surrog/develop Marshall Clow 2016-12-12 17:22:29 -08:00
  • 38121f2af3 Allow string_view::at() to be constexpr again on VS2015 Surogate 2016-12-12 23:45:34 +01:00
  • 38b536ff05 Fixing visual studio compilation of string_view::at() Surogate 2016-12-12 22:57:56 +01:00
  • 9ae6492af9 Merge pull request #25 from zerotypos-found/inspection_report boost-1.63.0 Marshall Clow 2016-11-21 18:25:08 -08:00
  • 816607e212 Remove tabs and Non-ASCII characters. zerotypos-found 2016-11-15 11:59:51 +09:00
  • a3ab942bc2 Merge branch 'develop' Andrey Semashev 2016-11-08 16:56:27 +03:00
  • 0f1f793caf Removed std::binary_function from a comment. Andrey Semashev 2016-11-06 21:18:27 +03:00
  • ff445c0ece Remove std::binary_function use, it has been removed in C++17 Peter Dimov 2016-11-06 14:38:13 +02:00
  • 9fae8be166 Add, and update, documentation build targets. Rene Rivera 2016-10-07 23:07:37 -05:00
  • b90a28f0e1 Add, and update, documentation build targets. Rene Rivera 2016-10-07 23:07:37 -05:00
  • 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. boost-1.62.0 Andrey Semashev 2016-09-03 00:25:51 +03:00
  • 21dc552cf9 Added a workaround for gcc 4.6 in C++11 mode as it can't seem to handle defaulted functions with noexcept specifier. The problem was discovered with autotests. Andrey Semashev 2016-09-02 19:14:00 +03:00
  • fda210f597 Merge branch 'develop' Andrey Semashev 2016-09-02 18:34:58 +03:00
  • 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. Andrey Semashev 2016-09-01 22:42:29 +03:00
  • 4814d1ebfe Added another overload of to_string when default function template arguments are not supported. Andrey Semashev 2016-09-01 22:08:28 +03:00
  • e5932ebb08 fix compile error on basic_string_view::to_string when Allocator is user-defined gnaggnoyil 2016-08-26 02:15:11 +00:00
  • 93a2e25092 Merge to master for 1.62.0 release Marshall Clow 2016-08-17 13:02:13 -07:00
  • 39577f86d1 Fix rfind (and other finders). Fixes bug https://svn.boost.org/trac/boost/ticket/9518 Marshall Clow 2016-08-14 11:20:28 -07:00
  • 8392991c46 Remove extraneous semicolon; no functional change Marshall Clow 2016-08-14 11:19:32 -07:00
  • c5b1256650 rename routines in detail namespace so that someone who includes both <string_ref> and <string_view> won't get duplicate decls Marshall Clow 2016-08-14 11:11:12 -07:00
  • c56dd13592 Mark the copy ctor/assignment operator as '= default' when the compiler supports it. This makes these types trivially copy/move assignable/constructible. See https://svn.boost.org/trac/boost/ticket/11684 Marshall Clow 2016-07-27 11:18:18 -07:00
  • 181f302ee4 Fix Ticket 12140; mark only single-arg ctor as explicit. Thanks to Thimo for the patch. Marshall Clow 2016-06-15 15:50:21 -07:00
  • 287844fe76 Merge branch 'develop' of github.com:boostorg/utility into develop Marshall Clow 2016-06-15 14:52:40 -07:00
  • 3982b6d633 Ensure the file ends with a newline. Fixes compiler warnings. boost-1.61.0 Andrey Semashev 2016-03-26 14:00:12 +03:00
  • 0b492bee9c Re-install string_ref - to be removed in the future Marshall Clow 2016-04-14 07:50:28 -07:00
  • a9236d00a9 Ensure the file ends with a newline. Fixes compiler warnings. Andrey Semashev 2016-03-26 14:00:12 +03:00
  • 4313bfc323 Revert "Remove the 'basic_string_ref template; use 'basic_string_view' instead. Keep the string_ref, etc typedefs around, though" Marshall Clow 2016-03-07 08:45:25 -08:00
  • f61c94e812 Merge ADL protection for Boost.Operators from 'develop' Daniel Frey 2016-03-05 11:32:26 +01:00
  • 1dfacff7ec Renamed namespace detail to operators_detail Daniel Frey 2016-02-23 20:30:16 +01:00
  • a25ac4550b Removed unused overloads Daniel Frey 2016-02-22 20:46:58 +01:00
  • d767054a79 Merge branch 'develop' of github.com:boostorg/utility into develop Daniel Frey 2016-02-22 20:39:26 +01:00
  • 08a1b7da61 Added ADL protector Daniel Frey 2016-02-22 20:39:16 +01:00
  • 8ab8e36dcf Remove the 'basic_string_ref template; use 'basic_string_view' instead. Keep the string_ref, etc typedefs around, though Marshall Clow 2016-02-17 11:32:16 -08:00
  • 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 Marshall Clow 2015-12-21 11:39:59 -08:00
  • cf5ad341ed Added a missing include. boost-1.60.0 Andrey Semashev 2015-09-11 19:31:18 +03:00
  • 1f6de83fe2 Merge pull request #20 from MarcelRaad/patch-1 Andrey Semashev 2015-09-11 19:06:38 +03:00
  • cb6500161b Remove deprecated include Marcel Raad 2015-09-11 16:28:20 +02:00
  • c23afeb687 Add doc/html/string_view.html string_view Beman 2015-07-17 15:27:18 -04:00
  • 715ee69717 Uses BOOST_CXX14_CONSTEXPR where applicable. Update docs accordingly. Beman 2015-07-17 15:21:50 -04:00
  • 404fea073f Clear a few existing warnings. Beman 2015-07-16 15:11:25 -04:00
  • 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. Beman 2015-07-15 20:41:24 -04:00
  • 090ab12074 Use std::copy() rather than std::copy_n() to support pre-C++11 standard libraries Beman 2015-07-15 16:44:58 -04:00
  • 904e2c3c81 Supply missing #include. Rewrite typedef tests to avoid GCC warnings. Beman 2015-07-15 16:15:23 -04:00
  • 270a6c39b5 First pass at doc updates. Beman 2015-07-15 07:27:58 -04:00
  • 6069151a06 Add copy and swap tests. Fix wrong return value from copy. Beman 2015-07-14 15:24:11 -04:00
  • 9c961f0577 find_last_of, find_last_not_of, passing tests. Beman 2015-07-13 17:23:23 -04:00
  • 268861ff6b find_first_not_of passing tests Beman 2015-07-13 10:29:45 -04:00
  • a329164f8c simplify find logic. find_first_of passing tests. Beman 2015-07-13 09:26:57 -04:00
  • 61c02fdd7a rfind working. Beman 2015-07-12 17:01:57 -04:00
  • 896577a68d Remove BOOST_CONSTEXPR from searches. My level of knowledge about constexpr is too low to reason about the implications and create test cases. Beman 2015-07-08 07:52:41 -04:00
  • 24933c4409 Add additional find test case. Change test to pos <= size(), thus avoiding unneeded call to std::search. Add missing signatures. Beman 2015-07-08 07:26:15 -04:00
  • 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. Beman 2015-07-07 17:27:04 -04:00
  • 306bbfdaf1 Update existing and add missing find() signatures. Add test cases. Update Jamfile. Comment out test2 problem. Beman 2015-07-07 05:58:13 -04:00
  • 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. Beman 2015-07-06 11:24:27 -04:00
  • 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. Beman 2015-07-05 16:44:40 -04:00
  • 20b78d7667 Initial commit of files copied from string_ref. Beman 2015-07-05 11:00:47 -04:00
  • 13610caa36 Update copyright notice; change to_string to avoid UB by calling a different constructor. Fixes #11150 Marshall Clow 2015-03-28 12:02:41 -07:00
  • 6bcf4f92bf Merge pull request #19 from akumta/patch-1 boost-1.59.0 boost-1.58.0 Andrey Semashev 2015-02-27 09:26:11 +03:00
  • fa8301a56a Update string_ref_test2.cpp akumta 2015-02-25 10:49:14 -08:00
  • 7306c8c359 Merge branch 'develop' boost-1.57.0 Andrey Semashev 2014-09-06 22:19:24 +04:00
  • 492fd7f091 Moved enable_if to Boost.Core. Andrey Semashev 2014-08-18 18:57:40 +04:00
  • 4fbd789253 Merge pull request #18 from danieljames/metadata Andrey Semashev 2014-08-18 18:49:04 +04:00
  • 4522603132 Add metadata file. Daniel James 2014-08-18 15:12:15 +01:00
  • cae8d90d65 Add a redirect for the compressed pair docs. boost-1.56.0 Daniel James 2014-06-30 22:57:48 +01:00
  • 2ec0488e2a Merge pull request #16 from danieljames/compressed-pair-redirect Andrey Semashev 2014-07-04 21:56:14 +04:00
  • 520dff9270 Add a redirect for the compressed pair docs. Daniel James 2014-06-30 22:57:48 +01:00
  • 8e24c798ad Merge pull request #15 from boostorg/next_prior_fix_iterator_backtracking Andrey Semashev 2014-06-25 22:26:44 +04:00
  • 651a869d4f Reworked next() and prior() taking the distance arguments. Andrey Semashev 2014-06-24 01:05:32 +04:00
  • 7a8f16efdc Removed trailing spaces and tab. Andrey Semashev 2014-06-12 21:34:19 +04:00
  • 2fa70612bb Removed docs and tests of the components moved to Boost.Core. Added links and redirections to the docs in Boost.Core. Andrey Semashev 2014-06-12 21:30:27 +04:00
  • f1edd107eb Merge pull request #12 from K-ballo/base-from-ref-member Andrey Semashev 2014-06-12 03:54:08 +04:00
  • c185d2dfa9 Merge pull request #13 from K-ballo/compressed-pair-doc Andrey Semashev 2014-06-12 03:38:24 +04:00
  • 4531b2a2a6 Ported compressed_pair documentation to Quickbook K-ballo 2014-06-11 19:25:29 -03:00
  • 51e482edfe Added base_from_member specialization for members of lvalue-reference type K-ballo 2014-06-11 18:21:38 -03:00
  • 61d07273fc Remove executable bit from the file. Andrey Semashev 2014-06-12 01:44:35 +04:00
  • 42d56fbd51 Merge pull request #11 from K-ballo/base-from-member-doc Andrey Semashev 2014-06-12 01:30:02 +04:00
  • 6a1e97f870 Ported base_from_member documentation to Quickbook K-ballo 2014-06-11 17:34:37 -03:00
  • c0fdaba925 Removed auto-generated files. Andrey Semashev 2014-06-12 01:06:53 +04:00
  • 87bc4c8dce Remove declval.hpp, moved to type_traits. Peter Dimov 2014-06-05 17:41:17 +03:00