mirror of
https://github.com/zhenyan121/Cubed.git
synced 2026-08-09 02:07:04 +08:00
build: add EnTT library
This commit is contained in:
20
include/entt/stl/bit.hpp
Normal file
20
include/entt/stl/bit.hpp
Normal file
@@ -0,0 +1,20 @@
|
||||
#ifndef ENTT_STL_BIT_HPP
|
||||
#define ENTT_STL_BIT_HPP
|
||||
|
||||
/*! @cond ENTT_INTERNAL */
|
||||
#if __has_include(<entt/ext/stl/bit.hpp>)
|
||||
# include <entt/ext/stl/bit.hpp>
|
||||
#else
|
||||
# include <bit>
|
||||
|
||||
namespace entt::stl {
|
||||
|
||||
using std::bit_ceil;
|
||||
using std::has_single_bit;
|
||||
using std::popcount;
|
||||
|
||||
} // namespace entt::stl
|
||||
#endif
|
||||
/*! @endcond */
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user