/* * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #pragma once #include #if defined(BETTER_USE_FOLLY_CONTAINERS) || __cplusplus < 202000L #include #else #include #endif namespace facebook { namespace better { #if defined(BETTER_USE_FOLLY_CONTAINERS) || __cplusplus < 202000L template using optional = folly::Optional; #else template using optional = std::optional; #endif } // namespace better } // namespace facebook