01e80d2b87
drop dependency on boost.detail
2024-01-03 21:41:26 +01:00
e31cf6f2a8
Fix some -Wmaybe-uninitialized warnings
2023-12-29 01:40:01 +01:00
9c43ae3612
Use is_same from Boost.TypeTraits.
...
boost::core::is_same is deprecated, so use the one from Boost.TypeTraits
instead.
2023-11-09 00:38:43 +01:00
e300c4bc60
spelling: value
...
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com >
2023-07-11 00:39:14 +02:00
302f39e545
spelling: unswapped
...
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com >
2023-07-11 00:39:14 +02:00
46ad495a60
spelling: uninitialized
...
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com >
2023-07-11 00:39:13 +02:00
4b63acfc10
spelling: optional
...
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com >
2023-07-11 00:39:13 +02:00
ba1846abd3
spelling: necessarily
...
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com >
2023-07-11 00:39:13 +02:00
c76b73c48b
spelling: management
...
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com >
2023-07-11 00:39:13 +02:00
e26c2d7489
spelling: intel
...
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com >
2023-07-11 00:39:13 +02:00
969930959c
spelling: implicitly
...
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com >
2023-07-11 00:39:13 +02:00
802e73477a
spelling: flagged
...
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com >
2023-07-11 00:39:13 +02:00
74a684232f
spelling: defined
...
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com >
2023-07-11 00:39:13 +02:00
6f85014c00
spelling: converting
...
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com >
2023-07-11 00:39:13 +02:00
29dd9187ec
spelling: convertibility
...
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com >
2023-07-11 00:39:13 +02:00
52abe4842e
Add std::hash specialization
2022-05-21 01:13:10 +02:00
8e86559103
Fix convert-assign tests for C++98
2021-12-22 10:36:40 +01:00
56568445b9
Fix tests on C++03
2021-12-09 22:22:05 +01:00
7dd512a019
Fix issue #98
2021-11-20 02:00:30 +01:00
d0ab8004c0
Add support for BOOST_NO_IOSTREAM
2021-05-19 23:29:10 +02:00
9de55e6ffd
Fix funny mistake in copyright headers.
2020-10-09 15:35:58 +02:00
db5e156ebc
Add explicit <string> include to make tests compile with MSVC
2020-08-11 10:36:12 +02:00
d5b7791710
Merge branch 'develop' of https://github.com/eldiener/optional into cppbuilder
2020-04-17 05:55:24 -04:00
9b1f8033eb
Merge branch 'develop' of https://github.com/RobertLeahy/optional-2 into RobertLeahy-develop
2020-04-06 00:42:05 +02:00
78d6563bce
Change __BORLANDC__ to BOOST_BORLANDC, which is defined in Boost config for the Embarcadero non-clang-based compilers.
2020-03-30 14:04:35 -04:00
d4a4a5b6ad
fixed C++98-incompatible unit test
2020-01-16 22:31:23 +01:00
9581804efa
GCC 4.4.7: boost::in_place & Assignment
...
Assigning a boost::in_place_factory to a boost::optional templated on a
type which was trivially copyable failed to compile under GCC 4.4.7.
2019-12-23 11:24:39 -05:00
d07ae78901
Tests Pass in GCC 4.4.7
...
Several tests either did not compile or failed upon running when using
GCC 4.4.7.
2019-12-23 11:24:39 -05:00
13bc27698e
Add test case for fix to issue #78
2019-12-20 00:18:52 +01:00
545fd9a72f
docs and tests fixes
2018-11-08 18:46:03 +01:00
2f3cf1ca84
Added a test to verify that boost::optional copy constructor does not invoke T's template constructors.
2018-11-04 17:54:57 +03:00
65bb040db8
tests: added two test cases from GitHub issues
2018-10-29 21:47:09 +01:00
fae2791f45
added test for swapping const opitonals
2018-10-25 00:37:13 +02:00
228b20df82
fixed old implementation (issue #57 )
2018-07-12 00:30:47 +02:00
71d797b9ee
added implementation and tests of flat_map()
2018-06-28 23:30:47 +02:00
d13623884a
hopefully fixed the libstdc++ 4.9 problem (thanks Jonathan)
2018-06-28 02:10:57 +02:00
7320dd54e8
one more test hack macro to check
2018-06-27 22:23:57 +02:00
51a46f95c6
testing clang v.
2018-06-26 00:04:33 +02:00
35ca7c1ff1
added a hack test to check compiler setup
2018-06-25 23:59:19 +02:00
0169460194
fixed tests and maybe std::is_trivially_default_constructible
2018-06-25 22:50:00 +02:00
42445e94aa
Fix for C++03 tests for .map() using result_of
2018-06-24 17:12:38 +02:00
250806d029
fixed >> int C++03 templates
2018-06-24 15:22:56 +02:00
51d1bc843d
test and doc update for .map()
2018-06-23 20:53:16 +02:00
e47a017009
added o.map()
2018-06-23 18:27:14 +02:00
5182f7f30f
Added has_value()
2018-03-24 00:04:15 +01:00
b832d4c54f
Add test for template parameter with member enum T (fails by default on VS2015)
...
Issue: https://github.com/boostorg/optional/issues/46ű
2018-01-03 10:37:37 +01:00
5b6f4be434
Fix make_optional for rvalues
2017-11-07 23:34:56 +01:00
7541076cf1
fixed defaulted moves on older compilers
2017-11-07 23:34:41 +01:00
40f7c97292
Fixed -Wmaybe-uninitialized
2017-11-07 23:34:37 +01:00
06dea2cb9b
Reverted specialization for trivial types
...
It caused too many problems. I left only specialiation for scalar types.
I will need to devise clever type traits for reconizing trivial types with working constructor.
2017-11-07 23:34:34 +01:00