Browse Source

Fixed headers to fit the current guidelines

tagfs
Ludovic 'Archivist' Lagouardette 3 years ago
parent
commit
b3e42c6c99
42 changed files with 53 additions and 28 deletions
  1. +1
    -0
      include/gp/algorithm/foreach.hpp
  2. +2
    -0
      include/gp/algorithm/min_of.hpp
  3. +10
    -27
      include/gp/algorithm/modifiers.hpp
  4. +1
    -0
      include/gp/algorithm/move.hpp
  5. +1
    -0
      include/gp/algorithm/repeat.hpp
  6. +1
    -0
      include/gp/algorithm/rotate.hpp
  7. +1
    -0
      include/gp/algorithm/tmp_manip.hpp
  8. +1
    -0
      include/gp/allocator/aggregator.hpp
  9. +1
    -0
      include/gp/allocator/arena.hpp
  10. +1
    -0
      include/gp/allocator/buddy.hpp
  11. +1
    -0
      include/gp/allocator/dummy.hpp
  12. +1
    -0
      include/gp/array.hpp
  13. +1
    -0
      include/gp/bitops.hpp
  14. +1
    -0
      include/gp/bloomfilter.hpp
  15. +1
    -0
      include/gp/buffer.hpp
  16. +1
    -0
      include/gp/concepts.hpp
  17. +1
    -0
      include/gp/exception.hpp
  18. +1
    -0
      include/gp/flat_tree.hpp
  19. +1
    -0
      include/gp/function.hpp
  20. +1
    -0
      include/gp/indexed_array.hpp
  21. +1
    -0
      include/gp/iterator.hpp
  22. +1
    -0
      include/gp/math.hpp
  23. +1
    -0
      include/gp/math/fp_math.hpp
  24. +1
    -0
      include/gp/math/integer_math.hpp
  25. +1
    -0
      include/gp/memory.hpp
  26. +1
    -0
      include/gp/optional.hpp
  27. +1
    -0
      include/gp/pair.hpp
  28. +2
    -1
      include/gp/pointers.hpp
  29. +1
    -0
      include/gp/quotient_filter.hpp
  30. +1
    -0
      include/gp/range.hpp
  31. +1
    -0
      include/gp/rendering/bmp_viewport.hpp
  32. +1
    -0
      include/gp/rendering/characters.hpp
  33. +1
    -0
      include/gp/rendering/renderer.hpp
  34. +1
    -0
      include/gp/ring_list.hpp
  35. +1
    -0
      include/gp/subtree_iterator.hpp
  36. +1
    -0
      include/gp/variant.hpp
  37. +1
    -0
      include/gp/vfs/channel_fs.hpp
  38. +1
    -0
      include/gp/vfs/fs_types.hpp
  39. +1
    -0
      include/gp/vfs/vfs.hpp
  40. +1
    -0
      include/gp_config.hpp
  41. +1
    -0
      tests/allocator.hpp
  42. +1
    -0
      tests/test_scaffold.h

+ 1
- 0
include/gp/algorithm/foreach.hpp View File

@ -1,4 +1,5 @@
#pragma once
#include <stddef.h>
namespace gp{

+ 2
- 0
include/gp/algorithm/min_of.hpp View File

@ -1,5 +1,7 @@
#pragma once
#include "gp_config.hpp"
#include "gp/algorithm/move.hpp"
namespace gp{

+ 10
- 27
include/gp/algorithm/modifiers.hpp View File

@ -1,4 +1,5 @@
#pragma once
#include <type_traits>
#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 <class>
@ -67,8 +73,6 @@ namespace gp {
return detail::INVOKE(gp::forward<F>(f), gp::forward<Args>(args)...);
}
template< class T >
struct remove_cvref {
typedef std::remove_cv_t<std::remove_reference_t<T>> type;
@ -177,28 +181,7 @@ namespace gp {
inline __not_fn_imp<std::decay_t<_RawFunc>> not_fn(_RawFunc&& __fn) {
return __not_fn_imp<std::decay_t<_RawFunc>>(gp::forward<_RawFunc>(__fn));
}
/**
*********************************************************************************************
*/
}

+ 1
- 0
include/gp/algorithm/move.hpp View File

@ -1,4 +1,5 @@
#pragma once
#include "gp/algorithm/tmp_manip.hpp"
#include "gp/range.hpp"

+ 1
- 0
include/gp/algorithm/repeat.hpp View File

@ -1,4 +1,5 @@
#pragma once
#include <stddef.h>
namespace gp{

+ 1
- 0
include/gp/algorithm/rotate.hpp View File

@ -1,4 +1,5 @@
#pragma once
#include "gp/algorithm/move.hpp"
namespace gp {

+ 1
- 0
include/gp/algorithm/tmp_manip.hpp View File

@ -1,4 +1,5 @@
#pragma once
#include <type_traits>
#include <typeinfo>
#include <cstddef>

+ 1
- 0
include/gp/allocator/aggregator.hpp View File

@ -1,4 +1,5 @@
#pragma once
#include "gp/ring_list.hpp"
#include <stddef.h>

+ 1
- 0
include/gp/allocator/arena.hpp View File

@ -1,4 +1,5 @@
#pragma once
#include "gp_config.hpp"
#include "gp/algorithm/min_max.hpp"

+ 1
- 0
include/gp/allocator/buddy.hpp View File

@ -1,4 +1,5 @@
#pragma once
#include "gp_config.hpp"
#include "gp/algorithm/modifiers.hpp"

+ 1
- 0
include/gp/allocator/dummy.hpp View File

@ -1,4 +1,5 @@
#pragma once
#include <stddef.h>
namespace gp {

+ 1
- 0
include/gp/array.hpp View File

@ -1,4 +1,5 @@
#pragma once
#include <gp/buffer.hpp>
#include <initializer_list>

+ 1
- 0
include/gp/bitops.hpp View File

@ -1,4 +1,5 @@
#pragma once
#include <stddef.h>
#include <stdint.h>

+ 1
- 0
include/gp/bloomfilter.hpp View File

@ -1,4 +1,5 @@
#pragma once
#include <gp/algorithm/tmp_manip.hpp>
#include <gp/array.hpp>

+ 1
- 0
include/gp/buffer.hpp View File

@ -1,4 +1,5 @@
#pragma once
#include <gp/algorithm/move.hpp>
#include <gp/function.hpp>
#include <gp/exception.hpp>

+ 1
- 0
include/gp/concepts.hpp View File

@ -1,4 +1,5 @@
#pragma once
#include <concepts>
template<typename T>

+ 1
- 0
include/gp/exception.hpp View File

@ -1,4 +1,5 @@
#pragma once
#include "gp_config.hpp"
namespace gp{

+ 1
- 0
include/gp/flat_tree.hpp View File

@ -1,4 +1,5 @@
#pragma one
#include <gp/array.hpp>
#include <gp/integer_math.hpp>
#include <gp/iterator.hpp>

+ 1
- 0
include/gp/function.hpp View File

@ -1,4 +1,5 @@
#pragma once
#include "gp/exception.hpp"
#include "gp/algorithm/modifiers.hpp"
#include "gp/algorithm/move.hpp"

+ 1
- 0
include/gp/indexed_array.hpp View File

@ -1,4 +1,5 @@
#pragma once
#include "gp_config.hpp"
#include "gp/algorithm/move.hpp"

+ 1
- 0
include/gp/iterator.hpp View File

@ -1,4 +1,5 @@
#pragma once
#include <stddef.h>
#include <stdint.h>

+ 1
- 0
include/gp/math.hpp View File

@ -1,4 +1,5 @@
#pragma once
#include "gp_config.hpp"
#include "gp/algorithm/min_max.hpp"

+ 1
- 0
include/gp/math/fp_math.hpp View File

@ -1,4 +1,5 @@
#pragma once
#include "gp/algorithm/repeat.hpp"
#include <limits>

+ 1
- 0
include/gp/math/integer_math.hpp View File

@ -1,4 +1,5 @@
#pragma once
#include <stdint.h>
#include <stddef.h>

+ 1
- 0
include/gp/memory.hpp View File

@ -1,4 +1,5 @@
#pragma once
#include "gp_config.hpp"
#include "gp/exception.hpp"

+ 1
- 0
include/gp/optional.hpp View File

@ -1,4 +1,5 @@
#pragma once
#include "gp_config.hpp"
#include "gp/algorithm/modifiers.hpp"

+ 1
- 0
include/gp/pair.hpp View File

@ -1,4 +1,5 @@
#pragma once
#include "gp/algorithm/move.hpp"
namespace gp{

+ 2
- 1
include/gp/pointers.hpp View File

@ -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<typename T, typename allocator_t = void>
class unique_ptr;

+ 1
- 0
include/gp/quotient_filter.hpp View File

@ -1,4 +1,5 @@
#pragma once
#include <gp/algorithm/tmp_manip.hpp>
#include <gp/array.hpp>
#include <gp/exception.hpp>

+ 1
- 0
include/gp/range.hpp View File

@ -1,4 +1,5 @@
#pragma once
#include "gp/algorithm/tmp_manip.hpp"
namespace gp{

+ 1
- 0
include/gp/rendering/bmp_viewport.hpp View File

@ -1,4 +1,5 @@
#pragma once
#include "gp/algorithm/tmp_manip.hpp"
#include "gp/bitops.hpp"
#include "gp/buffer.hpp"

+ 1
- 0
include/gp/rendering/characters.hpp View File

@ -1,4 +1,5 @@
#pragma once
#include "gp/array.hpp"
using display_char = gp::array<uint8_t, 8>;

+ 1
- 0
include/gp/rendering/renderer.hpp View File

@ -1,4 +1,5 @@
#pragma once
#include "gp_config.hpp"
#include "gp/algorithm/min_of.hpp"

+ 1
- 0
include/gp/ring_list.hpp View File

@ -1,4 +1,5 @@
#pragma once
#include "gp_config.hpp"
#include "gp/algorithm/modifiers.hpp"

+ 1
- 0
include/gp/subtree_iterator.hpp View File

@ -1,4 +1,5 @@
#pragma once
#include <gp/buffer.hpp>
#include <stddef.h>

+ 1
- 0
include/gp/variant.hpp View File

@ -1,4 +1,5 @@
#pragma once
#include "gp_config.hpp"
#include <gp/algorithm/tmp_manip.hpp>

+ 1
- 0
include/gp/vfs/channel_fs.hpp View File

@ -1,4 +1,5 @@
#pragma once
#include "gp/algorithm/move.hpp"
#include "gp/allocator/aggregator.hpp"
#include "gp/array.hpp"

+ 1
- 0
include/gp/vfs/fs_types.hpp View File

@ -1,4 +1,5 @@
#pragma once
#include "gp_config.hpp"
#include "gp/buffer.hpp"

+ 1
- 0
include/gp/vfs/vfs.hpp View File

@ -1,4 +1,5 @@
#pragma once
#include "gp_config.hpp"
#include "gp/allocator/aggregator.hpp"

+ 1
- 0
include/gp_config.hpp View File

@ -1,4 +1,5 @@
#pragma once
#include <type_traits>
#include <cstddef>

+ 1
- 0
tests/allocator.hpp View File

@ -1,4 +1,5 @@
#pragma once
#include "gp/allocator/buddy.hpp"
#include "gp/allocator/dummy.hpp"

+ 1
- 0
tests/test_scaffold.h View File

@ -1,4 +1,5 @@
#pragma once
#include <chrono>
#include <memory>
#include <string>

Loading…
Cancel
Save