Searched defs:Optional (Results 1 – 2 of 2) sorted by relevance
| /hardware/google/aemu/base/include/aemu/base/ |
| D | Optional.h | 152 class Optional; variable 172 friend class Optional; variable 196 constexpr Optional() {} in Optional() function 197 constexpr Optional(NulloptT) {} in Optional() function 199 Optional(const Optional& other) : base_flag(other.constructed()) { in Optional() function 204 Optional(Optional&& other) : base_flag(other.constructed()) { in Optional() function 214 Optional(const Optional<U>& other) : base_flag(other.constructed()) { in Optional() function 224 Optional(Optional<U>&& other) : base_flag(other.constructed()) { in Optional() function 231 Optional(const T& value) : base_flag(true) { new (&get()) T(value); } in Optional() function 233 Optional(T&& value) : base_flag(true) { new (&get()) T(std::move(value)); } in Optional() function [all …]
|
| /hardware/google/aemu/base/ |
| D | Optional_unittest.cpp | 26 TEST(Optional, TypeProperties) { in TEST() argument 67 TEST(Optional, ConstructFromValue) { in TEST() argument 119 TEST(Optional, ConstructFromOptional) { in TEST() argument 154 TEST(Optional, Assign) { in TEST() argument 202 TEST(Optional, MakeOptional) { in TEST() argument 248 TEST(Optional, Move) { in TEST() argument 290 TEST(Optional, Value) { in TEST() argument 299 TEST(Optional, Clear) { in TEST() argument 308 TEST(Optional, Emplace) { in TEST() argument 322 TEST(Optional, Reset) { in TEST() argument [all …]
|