Files
azerothcore-wotlk/src/common/Utilities/Optional.h
2021-03-17 09:46:01 -06:00

16 lines
499 B
C++

/*
* Copyright (C) 2016+ AzerothCore <www.azerothcore.org>, released under GNU GPL v2 license, you may redistribute it and/or modify it under version 2 of the License, or (at your option), any later version.
* Copyright (C) 2008-2016 TrinityCore <http://www.trinitycore.org/>
*/
#ifndef ACORE_OPTIONAL_H
#define ACORE_OPTIONAL_H
#include <optional>
//! Optional helper class to wrap optional values within.
template <class T>
using Optional = std::optional<T>;
#endif // ACORE_OPTIONAL_H