mirror of
https://github.com/TheAlgorithms/C-Plus-Plus.git
synced 2026-02-03 02:25:57 +08:00
chore: try to comply to C++20 (#2978)
* chroe: add cstdint * fix: remove <> from explicit function
This commit is contained in:
@@ -9,6 +9,7 @@
|
||||
*/
|
||||
#include <array>
|
||||
#include <cassert>
|
||||
#include <cstdint>
|
||||
#include <iostream>
|
||||
#include <memory>
|
||||
#include <string>
|
||||
|
||||
@@ -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
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user