Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7d89fb16 authored by Jiyong Park's avatar Jiyong Park
Browse files

Add android::base::expected

android::base::expected is an Android implementation of the
std::expected proposal.
http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2018/p0323r7.html

For usage, refer to the expected.h header file and
expected_test.cpp

Bug: 132145659
Test: libbase_test

Change-Id: I65d3a1ecf8654d9858989755dfd0065c81f7b209
parent de725e6e
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -131,6 +131,7 @@ cc_test {
        "cmsg_test.cpp",
        "endian_test.cpp",
        "errors_test.cpp",
        "expected_test.cpp",
        "file_test.cpp",
        "logging_test.cpp",
        "macros_test.cpp",

base/expected_test.cpp

0 → 100644
+745 −0

File added.

Preview size limit exceeded, changes collapsed.

+600 −0

File added.

Preview size limit exceeded, changes collapsed.