diff --git a/src/common/Utilities/Optional.h b/src/common/Utilities/Optional.h new file mode 100644 index 000000000..fc5b6e851 --- /dev/null +++ b/src/common/Utilities/Optional.h @@ -0,0 +1,15 @@ +/* + * Copyright (C) 2016+ AzerothCore , released under GNU GPL v2 license: https://github.com/azerothcore/azerothcore-wotlk/blob/master/LICENSE-GPL2 + * Copyright (C) 2008-2016 TrinityCore + */ + +#ifndef ACORE_OPTIONAL_H +#define ACORE_OPTIONAL_H + +#include + +//! Optional helper class to wrap optional values within. +template +using Optional = std::optional; + +#endif // ACORE_OPTIONAL_H