mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-18 11:25:42 +00:00
16 lines
499 B
C++
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
|