Commit Graph

242 Commits

Author SHA1 Message Date
Simon Brand
42e9066785 Fix swap include path 2019-06-25 11:49:02 +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
Simon Brand
1baad184f0 Merge pull request #17 from johvik/patch-1
Return value() in noexcept emplace
2019-01-23 08:45:04 +00:00
johvik
c194f73a07 Return value() in noexcept emplace 2019-01-23 08:38:31 +01:00
Simon Brand
47b120fd53 Merge pull request #16 from DecoyRS/patch-1
Misaligned template specifiers
2018-11-23 08:35:39 +00:00
Alexander
99b2a15863 Misaligned template specifiers
Tried to compile with CLion + CLang + WSL, got error pointing to this place. Looks like a copy-paste error )
2018-11-22 22:49:33 +03:00
Simon Brand
dc02563d7b Update version v0.5 2018-11-09 15:34:16 +00:00
Simon Brand
3449fbc904 Fix #15 2018-10-12 13:34:03 +01:00
Simon Brand
b53059c63d Fix macro issue 2018-09-06 09:34:05 +01:00
Simon Brand
25f8f28a9a Workaround MSVC2015 bug 2018-09-03 14:55:54 +01:00
Simon Brand
6c5e6d6477 More Clang fixes 2018-09-03 14:30:07 +01:00
Simon Brand
4d5453bc56 Add missing define 2018-09-03 13:49:56 +01:00
Simon Brand
068d3db664 Workaround libcxx issue 2018-09-03 12:10:22 +01:00
Simon Brand
fd6c65e7f9 Merge branch 'master' of github.com:TartanLlama/optional 2018-09-03 09:09:57 +01:00
Simon Brand
aecb8fe6db Fix #14 2018-09-03 09:09:47 +01:00
Simon Brand
0d449821ca Merge pull request #13 from mortenfyhn/master
Add syntax highlighting to readme
2018-08-31 15:25:41 +01:00
Morten Fyhn Amundsen
6738107bae Add syntax highlighting to readme 2018-08-31 16:15:55 +02:00
Simon Brand
8b1c3fb67f Fix the other bad comment 2018-08-22 15:50:43 +01:00
Simon Brand
dd8ab0232e Fix trivially destructible comment 2018-08-22 15:22:43 +01:00
Simon Brand
dc129ecf10 Only include vector workaround if vector is included 2018-08-22 15:22:16 +01:00
Simon Brand
bf0efe1625 Add vector workaround mutex 2018-08-22 15:21:31 +01:00
Simon Brand
9df8d1be39 Support std::vector of non-copyable types 2018-08-14 09:56:31 +01:00
Simon Brand
35e4c6e889 Remove unneeded file 2018-07-25 16:03:01 +01:00
Simon Brand
aa74eb709f Add emplace test 2018-07-11 14:32:25 +01:00
Simon Brand
5dd9ed7e2c Merge pull request #10 from kbenzie/cmake_subdirectory
Play nice with CMake add_subdirectory
2018-06-08 10:51:01 +01:00