AuROXTL/Include/auROXTL/auOptional.hpp

22 lines
496 B
C++

/***
Copyright (C) 2022 J Reece Wilson (a/k/a "Reece"). All rights reserved.
File: auOptional.hpp
Date: 2022-2-1
Author: Reece
Warning: deprecated
***/
#pragma once
#include "ThirdParty/tartanllamaOptional.hpp"
#if !defined(AURORA_RUNTIME_AU_OPTIONAL)
#define AURORA_RUNTIME_AU_OPTIONAL tl::optional
#endif
template <class T>
using AuOptional = AURORA_RUNTIME_AU_OPTIONAL<T>;
template <class T>
constexpr inline bool AuIsOptional_v = __audetail::AuHashas_value_v<T>;