Commit Graph

537 Commits

Author SHA1 Message Date
Glen Fernandes 42ed795866 Remove inline friend begin and end functions 2022-05-13 18:26:08 -04:00
Peter Dimov 0212774324 Avoid -Wshadow warning under g++ 4.8 2022-04-29 02:43:37 +03:00
Peter Dimov 0011697492 Add hash_value (refs #110) 2022-04-28 20:42:48 +03:00
Glen Fernandes d74140983d Correct definition of C++11 alias rebind 2022-04-26 14:11:31 -04:00
Yichen Wang 44610b65ba Fix typo 2022-04-19 15:26:36 +08:00
Glen Fernandes 5e0ff1680f Use a different workaround for supporting noinit_adaptor in C++03 2022-03-15 14:47:39 -04:00
Glen Fernandes 4defdfd233 Add allocator_construct_n to allocator_access and deprecate alloc_construct 2022-03-12 10:45:05 -05:00
Glen Fernandes c4deb479fd Add detection support for single argument construct and destroy 2022-03-12 01:31:31 -05:00
Peter Dimov 230dd83002 Add newlines, fflush 2022-02-15 06:49:46 +02:00
Peter Dimov 188ca25bf3 Mark verbose_terminate_handler as inline 2022-02-15 06:49:46 +02:00
Peter Dimov ed84fc4e23 Document verbose_terminate_handler 2022-02-15 06:49:46 +02:00
Peter Dimov 622b7a398a Add core/verbose_terminate_handler.hpp 2022-02-15 06:49:46 +02:00
Peter Dimov b7c987f83c Mark quick_exit as inline 2022-02-15 02:08:30 +02:00
Peter Dimov ad63dcda9f Fix -Wlong-long warnings in splitmix64.hpp 2022-02-08 22:49:44 +02:00
Peter Dimov cf619432a7 Fix GCC -Wlong-long warnings 2022-02-08 22:00:42 +02:00
Peter Dimov bae7c049b0 Avoid conversion warning in bit_width 2022-01-19 17:20:39 +02:00
Andrey Semashev 6ae6ff79f1 Deprecated boost/iterator.hpp, emit warnings on inclusion.
The header defines boost::iterator template, which is an alias for
std::iterator, which is itself deprecated since C++17.

Updated test to avoid testing the definition in C++17 onwards
to avoid failures due to deprecation warnings from libc++-13.
2021-12-23 16:46:29 +03:00
Peter Dimov df3b9827cf Enclose std::min in parentheses to guard against <windows.h> 2021-12-20 01:35:55 +02:00
Peter Dimov 574c7cf86e Update string_view.hpp to use BOOST_NO_CXX20_HDR_CONCEPTS 2021-12-18 18:39:03 +02:00
Peter Dimov 95f2a76c90 Specialize std::basic_common_reference to enable std::common_reference and std::common_reference_with 2021-12-18 07:43:33 +02:00
Peter Dimov 7a79d17da2 Add conversions from and to boost::string_view 2021-12-18 04:15:06 +02:00
Glen Fernandes 02b3f91fc3 Use same style of detection in pointer_traits and allocator_traits 2021-12-15 15:30:57 -05:00
Glen Fernandes 78dd0cce2f Make pointer_to SFINAE friendlier 2021-12-15 09:31:34 -05:00
Glen Fernandes 0e62373aa2 Make pointer_traits SFINAE friendly 2021-12-13 13:13:12 -05:00
Glen Fernandes c8479b4eca Simplify C++03 detection traits slightly 2021-12-07 21:17:28 -05:00
Glen Fernandes eb7bc1ff53 Support additional is_empty intrinsics 2021-12-07 10:10:07 -05:00
Glen Fernandes d038633f98 Correct spelling of detail macro 2021-12-07 02:57:14 -05:00
Glen Fernandes 85a3183c01 Update bool constant 2021-12-06 23:36:48 -05:00
Glen Fernandes 0c9675cf56 Add partial C++03 support for C++11 allocator model 2021-12-06 19:56:57 -05:00
Glen Fernandes 5abadf4472 Change A::value_type to allocator_value_type 2021-12-06 16:41:16 -05:00
Glen Fernandes 6b3fb219cc Minor refactoring in allocator access 2021-12-06 15:58:48 -05:00
Glen Fernandes febc195093 Add default_allocator allocate hint overload in C++03 mode 2021-12-04 14:41:23 -05:00
Glen Fernandes 46f37b2f16 Make max_size noexcept 2021-12-04 00:24:45 -05:00
Glen Fernandes c8b989d80b Add allocator_traits that uses allocator_access 2021-12-03 23:55:40 -05:00
Glen Fernandes 74c770206a Allow all individual traits to be specialized 2021-12-02 23:09:09 -05:00
Glen Fernandes a4172b4319 MSVC warning workaround for empty_value 2021-11-01 06:33:44 -04:00
Peter Dimov e4fb94b73c Merge branch 'develop' into feature/warnings-as-errors 2021-11-01 05:12:33 +02:00
Peter Dimov bdd4bf7d9a #pragma GCC diagnostic push requires g++ 4.6 2021-11-01 04:04:52 +02:00
Peter Dimov 964ef98eee Avoid streamsize -> size_t warning in string_view.hpp 2021-11-01 03:52:09 +02:00
Glen Fernandes d2e897fd60 MSVC warning workaround for dynamic_extent 2021-10-31 21:14:40 -04:00
Peter Dimov 66f6ea594a Disable -Wtype-limits in string_view.hpp 2021-11-01 03:10:42 +02:00
Peter Dimov c3a398b9a0 Merge branch 'develop' into feature/warnings-as-errors 2021-11-01 02:56:47 +02:00
Glen Fernandes 633a47f85b MSVC warning workaround for destroy 2021-10-31 20:52:44 -04:00
Glen Fernandes eae98e909e MSVC warning workaround for as_bytes 2021-10-31 20:52:23 -04:00
Peter Dimov ba208ad7fc Avoid signed/unsigned mismatch warning in span.hpp 2021-11-01 02:20:26 +02:00
Peter Dimov a4b661068d Disable C4127, C4244 in bit.hpp 2021-11-01 02:14:43 +02:00
Peter Dimov 0565456622 Use boost::(u)long_long_type to avoid g++ warning 2021-10-27 04:45:40 +03:00
Peter Dimov fda0f87576 Add void, move nullptr_t to fundamental type section 2021-10-27 03:46:06 +03:00
Peter Dimov e9718374ac Hardcode all integral and floating point types 2021-10-27 03:41:40 +03:00
Peter Dimov 79b7c49fb3 Refactor typeid_name<T> slighlty 2021-10-27 03:20:22 +03:00