platform_system_core/base/include/android-base
Jiyong Park 7d89fb164b 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
2019-05-22 06:39:27 +09:00
..
chrono_utils.h libbase: switch to #pragma once. 2018-06-26 17:17:41 -07:00
cmsg.h Revert "Revert "Add a way to turn off unique_fd's operator int."" 2019-05-06 16:18:02 -07:00
collections.h base: add helpers for sending/receiving file descriptors. 2019-02-13 13:21:54 -08:00
endian.h libbase: switch to #pragma once. 2018-06-26 17:17:41 -07:00
errors.h libbase: switch to #pragma once. 2018-06-26 17:17:41 -07:00
expected.h Add android::base::expected 2019-05-22 06:39:27 +09:00
file.h Revert "Revert "Add a way to turn off unique_fd's operator int."" 2019-05-06 16:18:02 -07:00
logging.h Remove unused logging symbols. 2018-07-31 16:33:38 -07:00
macros.h libbase: remove ARRAYSIZE_UNSAFE. 2018-10-24 14:34:52 -07:00
mapped_file.h Revert "Revert "Add a way to turn off unique_fd's operator int."" 2019-05-06 16:18:02 -07:00
memory.h libbase: switch to #pragma once. 2018-06-26 17:17:41 -07:00
off64_t.h libbase: a slightly cleaner solution to libbase's off64_t problem. 2018-10-25 16:29:02 -07:00
parsedouble.h ParseFloat/ParseDouble, also take std::string 2018-08-09 10:49:45 -07:00
parseint.h Assert that ParseInt/ParseUint are only used with signed/unsigned numbers respectively 2018-10-05 14:30:39 -07:00
parsenetaddress.h libbase: switch to #pragma once. 2018-06-26 17:17:41 -07:00
properties.h libbase: switch to #pragma once. 2018-06-26 17:17:41 -07:00
quick_exit.h base: add quick_exit emulation. 2016-09-13 17:54:50 -07:00
scopeguard.h Add noexcept to move constructors and assignment operators. 2018-10-05 16:43:47 +00:00
stringprintf.h libbase: switch to #pragma once. 2018-06-26 17:17:41 -07:00
strings.h libbase: add ConsumePrefix/ConsumeSuffix. 2019-05-03 12:49:31 -07:00
test_utils.h base: move TemporaryFile and TemporaryDir to android-base/file.h 2018-11-13 12:44:21 -08:00
thread_annotations.h base: add ScopedLockAssertion. 2019-02-12 16:32:35 -08:00
threads.h Move libbacktrace off cutils. 2018-07-11 13:55:07 -07:00
unique_fd.h Revert "Revert "Add a way to turn off unique_fd's operator int."" 2019-05-06 16:18:02 -07:00
utf8.h Add sys/types.h in utf8.h 2018-09-21 10:46:35 -07:00