chore: try to comply to C++20 (#2978)

* chroe: add cstdint

* fix: remove <> from explicit function
This commit is contained in:
realstealthninja
2025-08-15 05:24:35 +00:00
committed by GitHub
parent e9caade55e
commit 79aeaa9b52
4 changed files with 489 additions and 478 deletions

View File

@@ -9,6 +9,7 @@
*/
#include <array>
#include <cassert>
#include <cstdint>
#include <iostream>
#include <memory>
#include <string>

View File

@@ -22,12 +22,14 @@
#include <algorithm> /// for `std::reverse` function
#include <array> /// for `std::array`, representing `EightPuzzle` board
#include <cassert> /// for `assert`
#include <cstdint> /// for `std::uint32_t`
#include <functional> /// for `std::function` STL
#include <iostream> /// for IO operations
#include <map> /// for `std::map` STL
#include <memory> /// for `std::shared_ptr`
#include <set> /// for `std::set` STL
#include <vector> /// for `std::vector` STL
/**
* @namespace machine_learning
* @brief Machine learning algorithms

File diff suppressed because it is too large Load Diff

View File

@@ -22,6 +22,7 @@
*
* @author [Magdy Sedra](https://github.com/MSedra)
*/
#include <cstdint> /// for std::uint32_t
#include <iostream> /// for IO operations
#include <memory> /// to manage dynamic memory
#include <vector> /// for std::vector