/*** Copyright (C) 2022 J Reece Wilson (a/k/a "Reece"). All rights reserved. File: auOptional.hpp Date: 2022-2-1 Author: Reece ***/ #pragma once #if !defined(AURORA_RUNTIME_AU_OPTIONAL) #define AURORA_RUNTIME_AU_OPTIONAL std::optional #endif #if defined(_AURORA_AVOID_DUMB_STL_TYPES) template using AuOptional = AuOptionalEx; #else template using AuOptional = AURORA_RUNTIME_AU_OPTIONAL; #endif template constexpr inline bool AuIsOptional_v = __audetail::AuHashas_value_v;