aboutsummaryrefslogtreecommitdiffstats
path: root/src/libs/3rdparty/optional/optional.hpp
Commit message (Collapse)AuthorAgeFilesLines
* Utils: Remove Utils::optionalEike Ziller2022-09-011-1046/+0
| | | | | | | | | | Since we are now requiring macOS 10.14 we can remove our local implementation of optional and use std::optional for macOS too. Change-Id: I2bd018261b68da64f7f031a812045dd7784697e1 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Marco Bubke <marco.bubke@qt.io>
* Utils: add has_value to optionalDavid Schulz2018-05-161-1/+3
| | | | | Change-Id: I73af682c98d3fd9e97c169ffb3930950e2b0addb Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* Optional: add reset()Eike Ziller2017-06-191-0/+2
| | | | | | | It is part of C++17 Change-Id: I2aa4a11133a3d77644f4819492623c8e424ccd59 Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
* Add std::experimental::optional as Utils::optionalEike Ziller2017-06-161-0/+1042
Uses the reference implementation of the proposal, which later can be replaced by the std lib implementation depending on compiler and used C++ version. Change-Id: I23f2f8077f4cb26c3d9a403b1ce438b6cdb163f2 Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>