Commit Graph
265 Commits
Author SHA1 Message Date
Sy Brand ae9b261175 Delete .gitmodules 2023-02-24 09:11:40 +00:00
Sy Brand c28fcf74d2 Merge pull request #45 from ElDesalmado/master
Added explicit default initialization in copy constructor
2021-05-02 13:44:24 +01:00
s.kolesnik f8f7c49534 added .idea from CLion to gitignore 2021-03-30 11:29:31 +05:00
s.kolesnik 433984a572 changed delegated constructor to base class constructor in optional_copy_base 2021-03-30 11:28:25 +05:00
s.kolesnik b71e8fd5cd added explicit initialization in the copy constructor due to occurring warning. reversed autoformatting 2021-03-29 15:51:01 +05:00
s.kolesnik 1ea3ee1bfb added explicit initialization in the copy constructor due to occurring warning 2021-03-29 15:49:30 +05:00
Sy Brand e28828efa0 Update optional.hpp 2021-03-25 14:10:30 +00:00
Sy Brand e2d87e32fc Update README.md 2021-03-25 11:03:44 +00:00
Sy Brand 8eb0cd0a92 Update README.md 2021-03-25 11:02:15 +00:00
Sy Brand 0dfc7b4e41 Use add_library for subdirectory usage instead of add_executable 2019-11-11 10:56:36 +00:00
Simon Brand 8177b93e7f Fix Travis for C++17 Clang builds 2019-10-25 14:40:28 +01:00
Sy Brand 352b529889 Merge pull request #36 from slurps-mad-rips/cmake-revamp
Revamp CMake files to be more understandable and correct
2019-10-25 14:37:01 +01:00
Sy Brand e165e3554c Merge pull request #35 from IDragnev/fix_readme
Fix mistakes in README.md
2019-09-21 21:34:15 +01:00
Isabella Muerte c325c63b17 fixup! fixup! 🎨 Cleanup include path for catch2 2019-09-17 10:18:56 -07:00
Isabella Muerte dcebd5897f fixup! 🎨 Cleanup include path for catch2 2019-09-17 10:14:58 -07:00
Isabella Muerte 54f7f970bf 🎨 Cleanup include path for catch2
 Add basic .deb generation support
WiX and RPM support is still needed for verification

⬆️ Upgrade minimum CMake version to 3.14
⬆️ Upgrade Catch to Catch v2.9.2
📌 Pin Catch to v2.9.1

👷 Update .travis.yml build matrix
👷 Update .appveyor build script

 Update tests to be separated by file
2019-09-17 09:59:36 -07:00
Iliyan Dragnev 2673f3f9b3 Fix mistakes in README.md 2019-09-16 19:56:05 +03:00
Simon Brand 83a0b49e5e Merge pull request #34 from denizevrenci/fix_emplace_on_ref
Fix implementation of optional<T&>::emplace()
2019-07-08 13:28:30 +01:00
Simon Brand ce266d5280 Add test 2019-07-08 20:07:06 +09:00
Deniz Evrenci b074bee409 Fix implementation of optional<T&>::emplace() 2019-07-08 20:07:06 +09:00
Deniz Evrenci 084a9001f4 Add missing noexcept specifications to methods of optional<T&> 2019-07-08 20:07:06 +09:00
Simon Brand 5c4876059c Update header v1.0.0 2019-06-25 12:38:17 +01:00
Simon Brand 71a8031dd2 Fix swap include path 2019-06-25 11:51:38 +01:00
Simon Brand a2650823a0 Merge pull request #27 from TartanLlama/cmake_love
Do CMake properly
2019-06-25 11:18:19 +01:00
Simon Brand aef62df93e Merge branch 'master' into cmake_love 2019-06-25 11:17:40 +01:00
Simon Brand 359499d904 Use Xenial repos 2019-06-25 10:52:08 +01:00
Simon Brand 9839b761e0 Tidy traits 2019-06-25 10:47:46 +01:00
Simon Brand d613d3422d Merge pull request #28 from glynos/swap_has_value_fix
Added tests for bug when swapping value/null-value and null-value value
2019-06-25 10:27:55 +01:00
Simon Brand 3cfcb3ff2d Use Xenial on Travis instead of Trusty 2019-06-25 10:07:25 +01:00
Simon Brand d7356bb01c Use FetchContent 2019-06-25 09:47:19 +01:00
Glyn Matthews 8fbb0262a1 Added tests for bug when swapping value/null-value and null-value value 2019-05-31 21:22:29 +02:00
Simon Brand 6ce85550f3 Do CMake properly 2019-05-01 13:23:30 +01:00
Simon Brand 53697d4a36 Make take always move
Fixes #23
2019-05-01 09:40:47 +01:00
Simon Brand c3752db7e8 Remove in-source docs 2019-05-01 09:39:50 +01:00
Simon Brand 4b22ab1ba6 Add transform tests 2019-05-01 09:39:41 +01:00
Simon Brand 06032ebdae Add transform 2019-05-01 09:19:31 +01:00
Simon Brand 2d42ed8304 Update README.md 2019-04-30 11:59:11 +01:00
Simon Brand b8f4ca1169 Update README.md 2019-04-30 11:58:50 +01:00
Simon Brand 0aa68c8d47 Merge pull request #25 from TartanLlama/swappable
Remove old docs
2019-04-30 11:56:50 +01:00
Simon Brand fada9fae5f Merge branch 'master' into swappable 2019-04-29 16:59:35 +01:00
Simon Brand 8be5c63925 Remove old docs 2019-04-29 16:58:30 +01:00
Simon Brand 7de669d9c7 Update README.md 2019-04-29 14:58:31 +01:00
Simon Brand f632a98e84 Merge pull request #24 from TartanLlama/swappable
Swappable
2019-04-26 13:45:14 +01:00
Simon Brand 9399c30330 Correct MSC_VER check 2019-02-19 14:58:36 +00:00
Simon Brand d2c6fa68c7 Move is_swappable implementation, correct MSC_VER check 2019-02-19 14:58:09 +00:00
Simon Brand dff20e9c9f Merge pull request #22 from ThePhD/patch-1
[ constructors ] prevent empty optional access
2019-02-19 11:00:02 +00:00
Simon Brand 7ef0154330 Use correct is_swappable implementation for VS2017+ 2019-02-19 10:57:43 +00:00
Simon Brand 4304148904 Turn docs off by default
Fixes #20
2019-02-19 09:51:23 +00:00
The Phantom Derpstorm 1de2f2a49c [ constructors ] prevent empty optional access
optional types being taken in were forwarding their values without checking, resulting in segfaults on optional<U> -> optional<T> conversions. This fixes those problems in the constructors.
2019-02-13 09:00:07 -05:00
Simon Brand 5d3d6c399a Add email address
Fixes #18
2019-02-11 11:38:24 +00:00