diff --git a/include/gp/algorithm/foreach.hpp b/include/gp/algorithm/foreach.hpp index 7b5f482..34ee689 100644 --- a/include/gp/algorithm/foreach.hpp +++ b/include/gp/algorithm/foreach.hpp @@ -1,4 +1,5 @@ #pragma once + #include namespace gp{ diff --git a/include/gp/algorithm/min_of.hpp b/include/gp/algorithm/min_of.hpp index 1159ea3..8832163 100644 --- a/include/gp/algorithm/min_of.hpp +++ b/include/gp/algorithm/min_of.hpp @@ -1,5 +1,7 @@ #pragma once + #include "gp_config.hpp" + #include "gp/algorithm/move.hpp" namespace gp{ diff --git a/include/gp/algorithm/modifiers.hpp b/include/gp/algorithm/modifiers.hpp index fc26b0a..b8d8706 100644 --- a/include/gp/algorithm/modifiers.hpp +++ b/include/gp/algorithm/modifiers.hpp @@ -1,4 +1,5 @@ #pragma once + #include #include "gp/algorithm/move.hpp" @@ -23,7 +24,12 @@ namespace gp { - /* Code extrated from cppreference.com and the libc++ Library project, licensed under MIT license */ + + /** + ********************************************************************************************** + Code extrated from cppreference.com and the libc++ Library project, licensed under MIT license + ********************************************************************************************** + **/ namespace detail { template @@ -67,8 +73,6 @@ namespace gp { return detail::INVOKE(gp::forward(f), gp::forward(args)...); } - - template< class T > struct remove_cvref { typedef std::remove_cv_t> type; @@ -177,28 +181,7 @@ namespace gp { inline __not_fn_imp> not_fn(_RawFunc&& __fn) { return __not_fn_imp>(gp::forward<_RawFunc>(__fn)); } - - - - - - - - - - - - - - - - - - - - - - - - + /** + ********************************************************************************************* + */ } \ No newline at end of file diff --git a/include/gp/algorithm/move.hpp b/include/gp/algorithm/move.hpp index 1184511..b3fc98b 100644 --- a/include/gp/algorithm/move.hpp +++ b/include/gp/algorithm/move.hpp @@ -1,4 +1,5 @@ #pragma once + #include "gp/algorithm/tmp_manip.hpp" #include "gp/range.hpp" diff --git a/include/gp/algorithm/repeat.hpp b/include/gp/algorithm/repeat.hpp index df810e4..990545a 100644 --- a/include/gp/algorithm/repeat.hpp +++ b/include/gp/algorithm/repeat.hpp @@ -1,4 +1,5 @@ #pragma once + #include namespace gp{ diff --git a/include/gp/algorithm/rotate.hpp b/include/gp/algorithm/rotate.hpp index 3bc105d..126f7e1 100644 --- a/include/gp/algorithm/rotate.hpp +++ b/include/gp/algorithm/rotate.hpp @@ -1,4 +1,5 @@ #pragma once + #include "gp/algorithm/move.hpp" namespace gp { diff --git a/include/gp/algorithm/tmp_manip.hpp b/include/gp/algorithm/tmp_manip.hpp index b80cc01..824a01c 100644 --- a/include/gp/algorithm/tmp_manip.hpp +++ b/include/gp/algorithm/tmp_manip.hpp @@ -1,4 +1,5 @@ #pragma once + #include #include #include diff --git a/include/gp/allocator/aggregator.hpp b/include/gp/allocator/aggregator.hpp index ee59e5e..240a0bb 100644 --- a/include/gp/allocator/aggregator.hpp +++ b/include/gp/allocator/aggregator.hpp @@ -1,4 +1,5 @@ #pragma once + #include "gp/ring_list.hpp" #include diff --git a/include/gp/allocator/arena.hpp b/include/gp/allocator/arena.hpp index f15a811..9acdaa5 100644 --- a/include/gp/allocator/arena.hpp +++ b/include/gp/allocator/arena.hpp @@ -1,4 +1,5 @@ #pragma once + #include "gp_config.hpp" #include "gp/algorithm/min_max.hpp" diff --git a/include/gp/allocator/buddy.hpp b/include/gp/allocator/buddy.hpp index c023822..6f3d41e 100644 --- a/include/gp/allocator/buddy.hpp +++ b/include/gp/allocator/buddy.hpp @@ -1,4 +1,5 @@ #pragma once + #include "gp_config.hpp" #include "gp/algorithm/modifiers.hpp" diff --git a/include/gp/allocator/dummy.hpp b/include/gp/allocator/dummy.hpp index 8d2ff32..048c0cd 100644 --- a/include/gp/allocator/dummy.hpp +++ b/include/gp/allocator/dummy.hpp @@ -1,4 +1,5 @@ #pragma once + #include namespace gp { diff --git a/include/gp/array.hpp b/include/gp/array.hpp index 8942ead..1c93cbd 100644 --- a/include/gp/array.hpp +++ b/include/gp/array.hpp @@ -1,4 +1,5 @@ #pragma once + #include #include diff --git a/include/gp/bitops.hpp b/include/gp/bitops.hpp index ade6776..3858efd 100644 --- a/include/gp/bitops.hpp +++ b/include/gp/bitops.hpp @@ -1,4 +1,5 @@ #pragma once + #include #include diff --git a/include/gp/bloomfilter.hpp b/include/gp/bloomfilter.hpp index 1646917..c3bc4d6 100644 --- a/include/gp/bloomfilter.hpp +++ b/include/gp/bloomfilter.hpp @@ -1,4 +1,5 @@ #pragma once + #include #include diff --git a/include/gp/buffer.hpp b/include/gp/buffer.hpp index 0505618..6cbb2f2 100644 --- a/include/gp/buffer.hpp +++ b/include/gp/buffer.hpp @@ -1,4 +1,5 @@ #pragma once + #include #include #include diff --git a/include/gp/concepts.hpp b/include/gp/concepts.hpp index b62345f..18fed24 100644 --- a/include/gp/concepts.hpp +++ b/include/gp/concepts.hpp @@ -1,4 +1,5 @@ #pragma once + #include template diff --git a/include/gp/exception.hpp b/include/gp/exception.hpp index 1acdd5e..eebbfae 100644 --- a/include/gp/exception.hpp +++ b/include/gp/exception.hpp @@ -1,4 +1,5 @@ #pragma once + #include "gp_config.hpp" namespace gp{ diff --git a/include/gp/flat_tree.hpp b/include/gp/flat_tree.hpp index bb94d23..5ad62b0 100644 --- a/include/gp/flat_tree.hpp +++ b/include/gp/flat_tree.hpp @@ -1,4 +1,5 @@ #pragma one + #include #include #include diff --git a/include/gp/function.hpp b/include/gp/function.hpp index bb2f017..6bc4931 100644 --- a/include/gp/function.hpp +++ b/include/gp/function.hpp @@ -1,4 +1,5 @@ #pragma once + #include "gp/exception.hpp" #include "gp/algorithm/modifiers.hpp" #include "gp/algorithm/move.hpp" diff --git a/include/gp/indexed_array.hpp b/include/gp/indexed_array.hpp index ab177b1..1c60214 100644 --- a/include/gp/indexed_array.hpp +++ b/include/gp/indexed_array.hpp @@ -1,4 +1,5 @@ #pragma once + #include "gp_config.hpp" #include "gp/algorithm/move.hpp" diff --git a/include/gp/iterator.hpp b/include/gp/iterator.hpp index 1f66b69..cfb114e 100644 --- a/include/gp/iterator.hpp +++ b/include/gp/iterator.hpp @@ -1,4 +1,5 @@ #pragma once + #include #include diff --git a/include/gp/math.hpp b/include/gp/math.hpp index be3dc02..0a2259f 100644 --- a/include/gp/math.hpp +++ b/include/gp/math.hpp @@ -1,4 +1,5 @@ #pragma once + #include "gp_config.hpp" #include "gp/algorithm/min_max.hpp" diff --git a/include/gp/math/fp_math.hpp b/include/gp/math/fp_math.hpp index 4b419c6..e7116b1 100644 --- a/include/gp/math/fp_math.hpp +++ b/include/gp/math/fp_math.hpp @@ -1,4 +1,5 @@ #pragma once + #include "gp/algorithm/repeat.hpp" #include diff --git a/include/gp/math/integer_math.hpp b/include/gp/math/integer_math.hpp index 6577d42..ea3e979 100644 --- a/include/gp/math/integer_math.hpp +++ b/include/gp/math/integer_math.hpp @@ -1,4 +1,5 @@ #pragma once + #include #include diff --git a/include/gp/memory.hpp b/include/gp/memory.hpp index 67b6188..db28980 100644 --- a/include/gp/memory.hpp +++ b/include/gp/memory.hpp @@ -1,4 +1,5 @@ #pragma once + #include "gp_config.hpp" #include "gp/exception.hpp" diff --git a/include/gp/optional.hpp b/include/gp/optional.hpp index 6aed83d..fdddec3 100644 --- a/include/gp/optional.hpp +++ b/include/gp/optional.hpp @@ -1,4 +1,5 @@ #pragma once + #include "gp_config.hpp" #include "gp/algorithm/modifiers.hpp" diff --git a/include/gp/pair.hpp b/include/gp/pair.hpp index 91caa31..341063f 100644 --- a/include/gp/pair.hpp +++ b/include/gp/pair.hpp @@ -1,4 +1,5 @@ #pragma once + #include "gp/algorithm/move.hpp" namespace gp{ diff --git a/include/gp/pointers.hpp b/include/gp/pointers.hpp index cec766e..c4d4f97 100644 --- a/include/gp/pointers.hpp +++ b/include/gp/pointers.hpp @@ -1,8 +1,9 @@ #pragma once + +#include "gp/algorithm/modifiers.hpp" #include "gp/algorithm/move.hpp" #include "gp/buffer.hpp" #include "gp/function.hpp" -#include "gp/algorithm/modifiers.hpp" template class unique_ptr; diff --git a/include/gp/quotient_filter.hpp b/include/gp/quotient_filter.hpp index b4d07b3..08a22cf 100644 --- a/include/gp/quotient_filter.hpp +++ b/include/gp/quotient_filter.hpp @@ -1,4 +1,5 @@ #pragma once + #include #include #include diff --git a/include/gp/range.hpp b/include/gp/range.hpp index a2e4df6..aa92973 100644 --- a/include/gp/range.hpp +++ b/include/gp/range.hpp @@ -1,4 +1,5 @@ #pragma once + #include "gp/algorithm/tmp_manip.hpp" namespace gp{ diff --git a/include/gp/rendering/bmp_viewport.hpp b/include/gp/rendering/bmp_viewport.hpp index c5736e6..0e982ff 100644 --- a/include/gp/rendering/bmp_viewport.hpp +++ b/include/gp/rendering/bmp_viewport.hpp @@ -1,4 +1,5 @@ #pragma once + #include "gp/algorithm/tmp_manip.hpp" #include "gp/bitops.hpp" #include "gp/buffer.hpp" diff --git a/include/gp/rendering/characters.hpp b/include/gp/rendering/characters.hpp index e558f29..49bdb13 100644 --- a/include/gp/rendering/characters.hpp +++ b/include/gp/rendering/characters.hpp @@ -1,4 +1,5 @@ #pragma once + #include "gp/array.hpp" using display_char = gp::array; diff --git a/include/gp/rendering/renderer.hpp b/include/gp/rendering/renderer.hpp index f9186a1..f86767e 100644 --- a/include/gp/rendering/renderer.hpp +++ b/include/gp/rendering/renderer.hpp @@ -1,4 +1,5 @@ #pragma once + #include "gp_config.hpp" #include "gp/algorithm/min_of.hpp" diff --git a/include/gp/ring_list.hpp b/include/gp/ring_list.hpp index 20f5c8e..5cb32b7 100644 --- a/include/gp/ring_list.hpp +++ b/include/gp/ring_list.hpp @@ -1,4 +1,5 @@ #pragma once + #include "gp_config.hpp" #include "gp/algorithm/modifiers.hpp" diff --git a/include/gp/subtree_iterator.hpp b/include/gp/subtree_iterator.hpp index 011a4aa..8ca8460 100644 --- a/include/gp/subtree_iterator.hpp +++ b/include/gp/subtree_iterator.hpp @@ -1,4 +1,5 @@ #pragma once + #include #include diff --git a/include/gp/variant.hpp b/include/gp/variant.hpp index ea2a5f0..afbfab4 100644 --- a/include/gp/variant.hpp +++ b/include/gp/variant.hpp @@ -1,4 +1,5 @@ #pragma once + #include "gp_config.hpp" #include diff --git a/include/gp/vfs/channel_fs.hpp b/include/gp/vfs/channel_fs.hpp index 4560315..f33dbd1 100644 --- a/include/gp/vfs/channel_fs.hpp +++ b/include/gp/vfs/channel_fs.hpp @@ -1,4 +1,5 @@ #pragma once + #include "gp/algorithm/move.hpp" #include "gp/allocator/aggregator.hpp" #include "gp/array.hpp" diff --git a/include/gp/vfs/fs_types.hpp b/include/gp/vfs/fs_types.hpp index f6a51c4..8306eed 100644 --- a/include/gp/vfs/fs_types.hpp +++ b/include/gp/vfs/fs_types.hpp @@ -1,4 +1,5 @@ #pragma once + #include "gp_config.hpp" #include "gp/buffer.hpp" diff --git a/include/gp/vfs/vfs.hpp b/include/gp/vfs/vfs.hpp index 75f4d25..8e7c2d2 100644 --- a/include/gp/vfs/vfs.hpp +++ b/include/gp/vfs/vfs.hpp @@ -1,4 +1,5 @@ #pragma once + #include "gp_config.hpp" #include "gp/allocator/aggregator.hpp" diff --git a/include/gp_config.hpp b/include/gp_config.hpp index 9dbba8c..0885571 100644 --- a/include/gp_config.hpp +++ b/include/gp_config.hpp @@ -1,4 +1,5 @@ #pragma once + #include #include diff --git a/tests/allocator.hpp b/tests/allocator.hpp index d17be95..c13a415 100644 --- a/tests/allocator.hpp +++ b/tests/allocator.hpp @@ -1,4 +1,5 @@ #pragma once + #include "gp/allocator/buddy.hpp" #include "gp/allocator/dummy.hpp" diff --git a/tests/test_scaffold.h b/tests/test_scaffold.h index db75d4e..57e962e 100644 --- a/tests/test_scaffold.h +++ b/tests/test_scaffold.h @@ -1,4 +1,5 @@ #pragma once + #include #include #include