/* * Copyright (C) 2016+ AzerothCore , released under GNU AGPL v3 license: https://github.com/azerothcore/azerothcore-wotlk/blob/master/LICENSE-AGPL3 * Copyright (C) 2021+ WarheadCore */ #ifndef _ACORE_ADV_STD_H_ #define _ACORE_ADV_STD_H_ #include #include // this namespace holds implementations of upcoming stdlib features that our c++ version doesn't have yet namespace advstd { // C++20 advstd::remove_cvref_t template using remove_cvref_t = std::remove_cv_t>; // C++20 std::type_identity template struct type_identity { using type = T; }; // C++20 std::type_identity_t template using type_identity_t = typename type_identity::type; } #endif // _ADV_STD_H_