summaryrefslogtreecommitdiff
path: root/AK/Optional.h
AgeCommit message (Expand)Author
2022-12-11AK: Add Optional::lazy_emplace(Callable)Ali Mohammad Pur
2022-12-11AK: Allow Optional<T> to be constructed by OptionalNone()Ali Mohammad Pur
2022-12-11AK: Add a Optional::value_or_lazy_evaluated(constructor_function) APIAli Mohammad Pur
2022-12-11AK: Add a functional-style Optional::map(mapper_function) APIAli Mohammad Pur
2022-12-03Everywhere: Run clang-formatLinus Groh
2022-11-26AK: Make it possible to not `using` AK classes into the global namespaceAndreas Kling
2022-04-04AK: Allow Optional<T&> to existAli Mohammad Pur
2022-01-23AK: Make Optional<T> explicitly constructible from Optional<U>Idan Horowitz
2021-10-25AK: Always inline Optional::release_value()Andreas Kling
2021-09-08AK: Add note about an internal compile error with Optional in GCC 10.3+sin-ack
2021-09-04AK: Add rvalue-ref qualifiers for Optional's value() and value_or()Andreas Kling
2021-09-04AK: Convert Optional.h to east-const styleAndreas Kling
2021-07-04AK: Use conditionally trivial special member functionsDaniel Bertalan
2021-07-03Everywhere: Fix some alignment issuesDaniel Bertalan
2021-06-01AK: Enable direct comparsion of Optional<T> and TMax Wipfli
2021-05-08AK: Add constructors to Optional that accept non const qualified inputsItamar
2021-04-22Everything: Move to SPDX license identifiers in all files.Brian Gianforcaro
2021-04-16AK: Add type alias for AK::OptionalTimothy Flynn
2021-02-23Everywhere: Rename ASSERT => VERIFYAndreas Kling
2021-02-23AK: Slap Optional with the ALWAYS_INLINE stickAndreas Kling
2021-02-15AK: Mark Optional getters as [[nodiscard]]Brian Gianforcaro
2021-02-08Everywhere: Remove unnecessary headers 3/4Ben Wiederhake
2021-01-12AK: Simplify constructors and conversions from nullptr_tLenny Maiorani
2020-12-31Everywhere: Re-format with clang-format-11Linus Groh
2020-12-31AK: Add operator* and operator-> overloads in Optional.asynts
2020-11-22AK: Cleanup missing includes and #ifdef evaluationLenny Maiorani
2020-08-30AK: Add Optional::emplace method.asynts
2020-08-23AK: Add operator== to AK::OptionalPeter Elliott
2020-08-05AK: Decorate Optional<T> with [[nodisard]]Brian Gianforcaro
2020-05-16AK: Remove experimental clang -Wconsumed stuffAndreas Kling
2020-04-30AK: Add ALWAYS_INLINE, NEVER_INLINE and FLATTEN macrosAndreas Kling
2020-04-12AK: Inline Optional functions more aggressivelyAndreas Kling
2020-03-08AK: Move memory stuff (fast memcpy, etc) to a separate headerAndreas Kling
2020-03-08AK: Use __builtin_memset() and such to reduce header dependenciesAndreas Kling
2020-03-06AK: Remove Optional::operator bool()Andreas Kling
2020-02-24AK: Zero-initialize the internal storage of OptionalAndreas Kling
2020-02-14LibCore: Add a forward declaration headerAndreas Kling
2020-02-06AK: Add missing StdLibExtras.h include in Optional.hAndreas Kling
2020-01-18Meta: Add license header to source filesAndreas Kling
2019-08-25AK: Optional::operator bool() should consume the OptionalAndreas Kling
2019-08-08AK: Add Optional<T>(const U&)Andreas Kling
2019-08-07AK: Fix -Wconsumed warnings in Optional move-ctor and move-assignAndreas Kling
2019-08-05AK: Fix leak in Optional(Optional&&)Andreas Kling
2019-08-05AK: Optional::operator=(Optional&&) should clear movee's has_value bitAndreas Kling
2019-07-31Optional: Add consumable checksRobin Burchell
2019-07-24AK: Make HashMap::get(Key) return an Optional<Value>.Andreas Kling
2019-07-24AK: Add Optional::value_or(T).Andreas Kling
2019-07-08AK: Add a simple Optional<T> template.Andreas Kling