AuROXTL/Include/auROXTL/auOptional.hpp

22 lines
496 B
C++
Raw Normal View History

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