Commit Graph

228 Commits

Author SHA1 Message Date
Rene Rivera
c74b5e1e29 Sync from upstream. 2024-08-17 09:11:50 -05:00
Andrzej Krzemieński
6fa214e0a6 Merge pull request #129 from Flamefire/cxx11-requirements
Add C++11 requirements to build files
2024-08-16 20:26:04 +02:00
Alexander Grund
c3b5267506 Add C++11 requirements to test Jamfile 2024-08-16 11:55:23 +02:00
Alexander Grund
5fa59b9a35 Add test for all relational operators to boost::none 2024-08-16 11:13:45 +02:00
Alexander Grund
e1a3501a78 Rename test_equals_none to test_cmp_none
In order to add more tests the new name is more fitting.
2024-08-16 10:52:32 +02:00
Andrzej Krzemienski
346dc03746 Reimplement trivially semiregular trait 2024-08-15 11:42:42 +02:00
Andrzej Krzemienski
6ec468aff6 Drop explicit bool idiom 2024-08-15 10:57:03 +02:00
Andrzej Krzemienski
794e03af30 Drop dependency on Boost.Predef 2024-08-15 10:43:43 +02:00
Andrzej Krzemienski
82d08adf11 Drop support for C++03 2024-08-15 01:48:31 +02:00
Rene Rivera
4c503758fe Update build deps. 2024-08-04 11:58:57 -05:00
Rene Rivera
8ffcf0f369 Change all <source> references to <library>. 2024-07-20 19:41:37 -05:00
Rene Rivera
7ed6bf5bca Make the library modular usable. 2024-03-11 08:38:17 -05:00
Peter Dimov
85e50fe919 Link tests to Boost::tuple, because optional_test_tie uses it 2024-01-15 20:26:35 +02:00
Peter Dimov
3d8f71728c Link tests to Boost::bind and Boost::mpl, because optional_test includes them 2024-01-15 20:23:59 +02:00
Peter Dimov
88428d350d Add test/cmake_install_test, test/cmake_subdir_test 2024-01-15 20:20:20 +02:00
Peter Dimov
7a5386eeeb Add test/CMakeLists.txt 2024-01-15 20:14:51 +02:00
Peter Dimov
ca1495b69d Simplify test/Jamfile.v2 so that BoostTestJamfile can parse it 2024-01-15 20:13:33 +02:00
Peter Dimov
e962a134f0 Do not include boost/bind/apply.hpp under C++03 2024-01-15 20:10:45 +02:00
Andrzej Krzemienski
01e80d2b87 drop dependency on boost.detail 2024-01-03 21:41:26 +01:00
Andrzej Krzemienski
e31cf6f2a8 Fix some -Wmaybe-uninitialized warnings 2023-12-29 01:40:01 +01:00
Andrey Semashev
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
Josh Soref
e300c4bc60 spelling: value
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-07-11 00:39:14 +02:00
Josh Soref
302f39e545 spelling: unswapped
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-07-11 00:39:14 +02:00
Josh Soref
46ad495a60 spelling: uninitialized
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-07-11 00:39:13 +02:00
Josh Soref
4b63acfc10 spelling: optional
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-07-11 00:39:13 +02:00
Josh Soref
ba1846abd3 spelling: necessarily
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-07-11 00:39:13 +02:00
Josh Soref
c76b73c48b spelling: management
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-07-11 00:39:13 +02:00
Josh Soref
e26c2d7489 spelling: intel
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-07-11 00:39:13 +02:00
Josh Soref
969930959c spelling: implicitly
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-07-11 00:39:13 +02:00
Josh Soref
802e73477a spelling: flagged
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-07-11 00:39:13 +02:00
Josh Soref
74a684232f spelling: defined
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-07-11 00:39:13 +02:00
Josh Soref
6f85014c00 spelling: converting
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-07-11 00:39:13 +02:00
Josh Soref
29dd9187ec spelling: convertibility
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-07-11 00:39:13 +02:00
Andrzej Krzemienski
52abe4842e Add std::hash specialization 2022-05-21 01:13:10 +02:00
Andrzej Krzemieński
8e86559103 Fix convert-assign tests for C++98 2021-12-22 10:36:40 +01:00
Andrzej Krzemienski
56568445b9 Fix tests on C++03 2021-12-09 22:22:05 +01:00
Andrzej Krzemienski
7dd512a019 Fix issue #98 2021-11-20 02:00:30 +01:00
Andrzej Krzemienski
d0ab8004c0 Add support for BOOST_NO_IOSTREAM 2021-05-19 23:29:10 +02:00
Giovanni Mascellani
9de55e6ffd Fix funny mistake in copyright headers. 2020-10-09 15:35:58 +02:00
Moritz Baumann
db5e156ebc Add explicit <string> include to make tests compile with MSVC 2020-08-11 10:36:12 +02:00
Edward Diener
d5b7791710 Merge branch 'develop' of https://github.com/eldiener/optional into cppbuilder 2020-04-17 05:55:24 -04:00
Andrzej Krzemienski
9b1f8033eb Merge branch 'develop' of https://github.com/RobertLeahy/optional-2 into RobertLeahy-develop 2020-04-06 00:42:05 +02:00
Edward Diener
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
Andrzej Krzemienski
d4a4a5b6ad fixed C++98-incompatible unit test 2020-01-16 22:31:23 +01:00
Robert Leahy
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
Robert Leahy
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
Andrzej Krzemienski
13bc27698e Add test case for fix to issue #78 2019-12-20 00:18:52 +01:00
Andrzej Krzemienski
545fd9a72f docs and tests fixes 2018-11-08 18:46:03 +01:00
Andrey Semashev
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
Andrzej Krzemienski
65bb040db8 tests: added two test cases from GitHub issues 2018-10-29 21:47:09 +01:00