Commit Graph

3 Commits

Author SHA1 Message Date
David Schulz
d79c0ed575 Utils: add has_value to optional
Change-Id: I73af682c98d3fd9e97c169ffb3930950e2b0addb
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2018-05-16 08:34:33 +00:00
Eike Ziller
faae35d2af Optional: add reset()
It is part of C++17

Change-Id: I2aa4a11133a3d77644f4819492623c8e424ccd59
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
2017-06-19 12:21:04 +00:00
Eike Ziller
93f4fb771f Add std::experimental::optional as Utils::optional
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>
2017-06-16 12:19:27 +00:00