Searched defs:Optional (Results 1 - 3 of 3) sorted by relevance

/system/chre/util/include/chre/util/
H A Doptional.h29 class Optional { class in namespace:chre
34 "Optional references are not allowed");
39 Optional() = default;
46 Optional(const ObjectType& object);
53 Optional(ObjectType&& object);
61 * Destroys any contained object, and marks this Optional as empty (i.e.
81 Optional<ObjectType>& operator=(ObjectType&& other);
91 Optional<ObjectType>& operator=(Optional<ObjectType>&& other);
100 Optional<ObjectTyp
[all...]
H A Doptional_impl.h28 Optional<ObjectType>::Optional(const ObjectType& object) { function in class:chre::Optional
34 Optional<ObjectType>::Optional(ObjectType&& object) { function in class:chre::Optional
40 bool Optional<ObjectType>::has_value() const {
45 void Optional<ObjectType>::reset() {
53 ObjectType& Optional<ObjectType>::value() {
58 const ObjectType& Optional<ObjectType>::value() const {
63 Optional<ObjectType>& Optional<ObjectTyp
[all...]
/system/nvram/messages/include/nvram/messages/
H A Doptional.h24 template <typename ValueType> class Optional { class in namespace:nvram
26 Optional() = default;
27 explicit Optional(ValueType value) : value_(value), valid_(true) {} function in class:nvram::Optional

Completed in 48 milliseconds