aboutsummaryrefslogtreecommitdiff
path: root/lib/networksettings.cpp
diff options
context:
space:
mode:
authorAlexey Rusakov <Kitsune-Ral@users.sf.net>2022-05-16 10:41:36 +0200
committerAlexey Rusakov <Kitsune-Ral@users.sf.net>2022-05-16 10:42:10 +0200
commit9c8c33ab0b2138b45cbfe29f4be235f631730826 (patch)
treee14881ea59b50e42445a502589fb1b9cf5c8d46e /lib/networksettings.cpp
parent3fcc0c5acb160364e819688cc67a8aaf814fafef (diff)
downloadlibquotient-9c8c33ab0b2138b45cbfe29f4be235f631730826.tar.gz
libquotient-9c8c33ab0b2138b45cbfe29f4be235f631730826.zip
Expected<>
This is a minimal implementation along the lines of `std::expected<>` introduced in C++23; once compilers catch up with C++23 support, it may become simply a typedef of std::expected. There are no tests as yet; but the following commits will introduce QOlmExpected that would replace the current `std::variant<T, QOlmError>` pattern used throughout `QOlm*` classes, automatically pulling Expected under the coverage of `QOlm*` unit tests.
Diffstat (limited to 'lib/networksettings.cpp')
0 files changed, 0 insertions, 0 deletions