mirror of
https://github.com/quizhizhe/LiteLoaderBDS-1.16.40.git
synced 2025-06-08 04:28:12 +00:00
27 lines
420 B
C++
27 lines
420 B
C++
#ifndef ENTT_POLY_FWD_HPP
|
|
#define ENTT_POLY_FWD_HPP
|
|
|
|
|
|
#include <type_traits>
|
|
|
|
|
|
namespace entt {
|
|
|
|
|
|
template<typename, std::size_t Len, std::size_t = alignof(typename std::aligned_storage_t<Len + !Len>)>
|
|
class basic_poly;
|
|
|
|
|
|
/**
|
|
* @brief Alias declaration for the most common use case.
|
|
* @tparam Concept Concept descriptor.
|
|
*/
|
|
template<typename Concept>
|
|
using poly = basic_poly<Concept, sizeof(double[2])>;
|
|
|
|
|
|
}
|
|
|
|
|
|
#endif
|