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-01-21 00:51:08 +00:00
|
|
|
|
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>;
|
2023-03-13 17:11:01 +00:00
|
|
|
|
|
|
|
template <class T>
|
|
|
|
constexpr inline bool AuIsOptional_v = __audetail::AuHashas_value_v<T>;
|