stl: add cstdint.hpp

This commit is contained in:
skypjack
2026-04-09 10:28:05 +02:00
parent 0cd14686dd
commit 5cc2397069
11 changed files with 22 additions and 8 deletions

View File

@@ -199,6 +199,7 @@ if(ENTT_INCLUDE_HEADERS)
stl/array.hpp
stl/atomic.hpp
stl/cstddef.hpp
stl/cstdint.hpp
stl/functional.hpp
stl/iterator.hpp
stl/memory.hpp

View File

@@ -1,9 +1,9 @@
#ifndef ENTT_CORE_FWD_HPP
#define ENTT_CORE_FWD_HPP
#include <cstdint>
#include "../config/config.h"
#include "../stl/cstddef.hpp"
#include "../stl/cstdint.hpp"
namespace entt {

View File

@@ -1,8 +1,8 @@
#ifndef ENTT_CORE_HASHED_STRING_HPP
#define ENTT_CORE_HASHED_STRING_HPP
#include <cstdint>
#include "../stl/cstddef.hpp"
#include "../stl/cstdint.hpp"
#include "fwd.hpp"
namespace entt {

View File

@@ -3,10 +3,10 @@
#include <bit>
#include <concepts>
#include <cstdint>
#include "../config/config.h"
#include "../core/bit.hpp"
#include "../stl/cstddef.hpp"
#include "../stl/cstdint.hpp"
#include "../stl/type_traits.hpp"
#include "fwd.hpp"

View File

@@ -1,12 +1,12 @@
#ifndef ENTT_ENTITY_FWD_HPP
#define ENTT_ENTITY_FWD_HPP
#include <cstdint>
#include <memory>
#include "../config/config.h"
#include "../core/concepts.hpp"
#include "../core/fwd.hpp"
#include "../core/type_traits.hpp"
#include "../stl/cstdint.hpp"
#include "../stl/type_traits.hpp"
namespace entt {

View File

@@ -73,6 +73,7 @@ namespace entt::stl {}
#include "stl/array.hpp"
#include "stl/atomic.hpp"
#include "stl/cstddef.hpp"
#include "stl/cstdint.hpp"
#include "stl/functional.hpp"
#include "stl/iterator.hpp"
#include "stl/memory.hpp"

View File

@@ -2,7 +2,6 @@
#define ENTT_META_FACTORY_HPP
#include <concepts>
#include <cstdint>
#include <functional>
#include <memory>
#include "../config/config.h"
@@ -13,6 +12,7 @@
#include "../core/type_traits.hpp"
#include "../locator/locator.hpp"
#include "../stl/cstddef.hpp"
#include "../stl/cstdint.hpp"
#include "../stl/type_traits.hpp"
#include "../stl/utility.hpp"
#include "context.hpp"

View File

@@ -1,8 +1,8 @@
#ifndef ENTT_PROCESS_FWD_HPP
#define ENTT_PROCESS_FWD_HPP
#include <cstdint>
#include <memory>
#include "../stl/cstdint.hpp"
namespace entt {

View File

@@ -1,10 +1,10 @@
#ifndef ENTT_PROCESS_PROCESS_HPP
#define ENTT_PROCESS_PROCESS_HPP
#include <cstdint>
#include <memory>
#include "../core/compressed_pair.hpp"
#include "../core/type_traits.hpp"
#include "../stl/cstdint.hpp"
#include "../stl/type_traits.hpp"
#include "../stl/utility.hpp"
#include "fwd.hpp"

12
src/entt/stl/cstdint.hpp Normal file
View File

@@ -0,0 +1,12 @@
#ifndef ENTT_STL_CSTDINT_HPP
#define ENTT_STL_CSTDINT_HPP
#include <cstdint>
/*! @cond ENTT_INTERNAL */
namespace entt::stl {
} // namespace entt::stl
/*! @endcond */
#endif

View File

@@ -1,7 +1,6 @@
#ifndef ENTT_TOOLS_DAVEY_HPP
#define ENTT_TOOLS_DAVEY_HPP
#include <cstdint>
#include <ios>
#include <sstream>
#include <string>
@@ -16,6 +15,7 @@
#include "../meta/meta.hpp"
#include "../meta/pointer.hpp"
#include "../meta/resolve.hpp"
#include "../stl/cstdint.hpp"
#if __has_include(<imgui.h>)
# include <imgui.h>