Commit Graph

1471 Commits

Author SHA1 Message Date
Peter Dimov 0ddfab493c Do not enable -Wsuggest-override in C++03 mode 2020-04-14 07:12:35 +03:00
Peter Dimov a2732e207a Add BOOST_OVERRIDE to sp_counted_impl.hpp 2020-04-14 00:55:52 +03:00
Peter Dimov 5be7523ebe Merge branch 'develop' into feature/suggest-override 2020-04-14 00:45:24 +03:00
Peter Dimov 2320dafc03 Add BOOST_OVERRIDE to bad_weak_ptr.hpp and local_counted_base.hpp 2020-04-14 00:42:57 +03:00
Peter Dimov 7ab4093f46 Use shared_ptr and make_shared in sp_override_test 2020-04-14 00:32:25 +03:00
Peter Dimov 296c203135 Rename sp_warning_test to sp_override_test 2020-04-14 00:15:32 +03:00
Glen Fernandes 2dd35e5fbc Mark functions with BOOST_OVERRIDE 2020-04-13 15:34:13 -04:00
Peter Dimov 977544feda Add sp_warning_test 2020-04-08 21:25:36 +03:00
Peter Dimov 54b5498208 Manually convince clang-cl to fail shared_from_fail and weak_from_fail boost-1.73.0 boost-1.73.0.beta1 2020-04-02 04:01:21 +03:00
Peter Dimov da81452f1f Make shared_from_this and weak_from_this private in enable_shared_from. Fixes #75. 2020-04-02 02:16:59 +03:00
Peter Dimov 7b9a969215 Add deduction guides to shared_ptr and weak_ptr. Fixes #73. 2020-04-02 00:28:02 +03:00
Glen Fernandes 91cd83e5bf Correct make_unique_noinit example 2020-02-13 21:36:58 -05:00
Peter Dimov 2fdb8c4b0a Fix Travis issues; remove unnecessary jobs 2020-01-14 19:16:05 +02:00
Peter Dimov e806b53433 Update Travis 2020-01-14 17:04:51 +02:00
Peter Dimov e0c7bd9a7e Don't build tests when installing; link to Threads::Threads in tests because of lw_thread_test.cpp 2020-01-10 00:54:01 +02:00
Peter Dimov 766ab05a12 Update submodule libs/preprocessor on Travis (needed by CMake tests) 2020-01-09 15:53:38 +02:00
Peter Dimov 05cbefd28e Update submodule tools/cmake on Travis 2020-01-09 01:41:15 +02:00
Peter Dimov bfbdf4f45f Add CMake install support, tests 2020-01-08 05:08:37 +02:00
Peter Dimov 169c0cd52a Remove lwm_nop.hpp; add lwm_std_mutex.hpp 2020-01-08 03:57:13 +02:00
Peter Dimov 7d70691a16 Remove Windows Runtime workaround from yield_k.hpp; it's no longer relevant, Sleep is available 2020-01-08 03:09:11 +02:00
Peter Dimov 90c27d7cfa Remove Windows Runtime workaround from lwm_win32_cs.hpp; it's no longer relevant, InitializeCriticalSection is available 2020-01-08 02:55:14 +02:00
Glen Fernandes 43d1fe12c5 Include lightweight_test from core and workaround from config 2020-01-01 08:31:25 -05:00
Peter Dimov a2749dddb4 Disable 32 bit clang-win to avoid mspdbcore.dll errors 2019-12-05 15:49:48 +02:00
Peter Dimov a71e62146c Add VS2019 to Appveyor; separate clang-win into its own job 2019-11-24 00:05:38 +02:00
Glen Fernandes 274ec17836 Even more documentation corrections boost-1.72.0.beta1 boost-1.72.0 2019-09-15 02:06:23 -04:00
Glen Fernandes a7341070f1 More documentation corrections 2019-09-03 11:53:42 -04:00
Glen Fernandes a6323354cd Update constraints and synopsis in documentation 2019-09-02 22:10:09 -04:00
Glen Fernandes f788448101 Document alloc_deleter 2019-08-30 12:52:50 -04:00
Glen Fernandes 283f2d2a11 Simplify synopsis using alias template 2019-08-30 12:04:09 -04:00
Glen Fernandes 034f94617d Workaround for VC10 unique_ptr operator-> 2019-08-30 12:03:36 -04:00
Glen Fernandes 6a5f67b3a2 Disable tests on VC10 which lacks conforming unique_ptr 2019-08-30 10:50:56 -04:00
Glen Fernandes dcd3c8ef80 In test cases, include allocate_unique first 2019-08-30 08:17:54 -04:00
Glen Fernandes bb2a453ff6 Add additional test cases 2019-08-30 08:16:11 -04:00
Glen Fernandes e56eec70ca Call to_address in the scalar destroy case too 2019-08-30 07:39:02 -04:00
Glen Fernandes 60c26acab8 Implement allocate_unique 2019-08-30 00:31:28 -04:00
Peter Dimov 00f6b5dcb0 Split gcc 8/9 Travis jobs (again) due to log size 2019-08-29 13:20:36 +03:00
Peter Dimov 6195ae1eb0 Disable -Wdelete-non-virtual-dtor 2019-08-29 12:27:51 +03:00
Peter Dimov 30291c406a Update .travis.yml 2019-08-29 01:01:52 +03:00
Peter Dimov 610f19f247 Merge pull request #69 from CJBussey/feature/fix_warning_implicit_conversion
atomic_count_std_atomic: static_cast v to std::int_least32_t
boost-1.71.0.beta1 boost-1.71.0
2019-06-23 04:21:52 -07:00
Carl Bussey 876d40a9ab atomic_count_std_atomic: static_cast v to std::int_least32_t
* fix implicit conversion warning
2019-06-18 11:44:17 +02:00
Peter Dimov e4d642c46a Revert Travis to Trusty 2019-05-30 02:42:39 +03:00
Glen Fernandes 3dffa64f58 Bind allocator to element type, not scalar type 2019-05-15 07:33:04 -04:00
Glen Fernandes af92bd89ef allocation_ptr will be modified, renamed, and moved to detail 2019-05-05 22:21:22 -04:00
Glen Fernandes 4742143605 Support allocation_ptr of const and volatile types 2019-05-04 09:43:11 -04:00
Glen Fernandes 872bf10347 Move construct and destroy from Smart_Ptr to Core 2019-05-03 17:39:25 -04:00
Glen Fernandes c0ae9b3728 Implement allocation_ptr 2019-05-02 19:26:29 -04:00
Glen Fernandes 1298c2e8e5 Include sp_noexcept.hpp in sp_construct.hpp 2019-05-02 18:00:53 -04:00
Glen Fernandes d593061b15 Move construct and destroy utilities to common header 2019-05-02 09:48:45 -04:00
Glen Fernandes 5072045f12 Use boost::noinit_adapt free function 2019-04-29 00:37:55 -04:00
Glen Fernandes 442e179920 Simplify implementation in terms of noinit_adaptor 2019-04-28 22:42:37 -04:00