This patch adds a std::expected-like type in Qt for use in the Qt implementation. It is using Sy Brand's tl::expected which is similar to std::expected, and works with C++17. Although it closely resembles std::expected, it is not identical and is therefor added as a private header. The new type is intended to be accessible to all Qt modules and is therefore made available through Qt Core. It is, however, not intended for use in public APIs. [ChangeLog][Third-Party Code] Added Sy Brand's tl::expected as a third party dependency for use internally in Qt implementation. Change-Id: I09930f31bf97498643d62814c688f288d5c33265 Reviewed-by: Tim Blechmann <tim.blechmann@qt.io>
Description
Languages
C++
84.3%
HTML
4.9%
C
3.9%
CMake
3.6%
Objective-C++
2%
Other
0.8%