Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
HenryAWE committed Jun 23, 2024
1 parent 3d5f88b commit 71f84d7
Show file tree
Hide file tree
Showing 4 changed files with 36 additions and 10 deletions.
8 changes: 4 additions & 4 deletions include/papilio/access.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -374,10 +374,10 @@ class accessor_traits : public detail::accessor_traits_base
};
} // namespace papilio

#include "access/tuple.inl"
#include "access/ranges.inl"
#include "access/misc.inl"

#include "detail/suffix.hpp"

#include "accessor/tuple.hpp"
#include "accessor/ranges.hpp"
#include "accessor/misc.hpp"

#endif
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
#include <string_view>
#ifndef PAPILIO_ACCESSOR_MISC_HPP
#define PAPILIO_ACCESSOR_MISC_HPP

#pragma once

#include <typeindex>
#include "../utility.hpp"
#include "../access.hpp"
#include "../detail/prefix.hpp"

namespace papilio
{
Expand Down Expand Up @@ -34,3 +39,7 @@ struct accessor<std::type_index, Context>
}
};
} // namespace papilio

#include "../detail/suffix.hpp"

#endif
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
#include <string_view>
#ifndef PAPILIO_ACCESSOR_RANGES_HPP
#define PAPILIO_ACCESSOR_RANGES_HPP

#pragma once

#include <span>
#include <ranges>
#include <vector>
#include <map>
#include <utility>
#include "../utility.hpp"
#include "../utf/string.hpp"
#include "../access.hpp"
#include "../detail/prefix.hpp"

namespace papilio
{
Expand Down Expand Up @@ -279,3 +283,7 @@ struct accessor<fixed_flat_map<Key, T, Capacity, Compare>, Context> :
public map_accessor<fixed_flat_map<Key, T, Capacity, Compare>, Context>
{};
} // namespace papilio

#include "../detail/suffix.hpp"

#endif
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
#include <string_view>
#ifndef PAPILIO_ACCESSOR_TUPLE_HPP
#define PAPILIO_ACCESSOR_TUPLE_HPP

#pragma once

#include <tuple>
#include "../utility.hpp"
#include "../detail/prefix.hpp"

namespace papilio
{
Expand Down Expand Up @@ -91,3 +96,7 @@ struct accessor<compressed_pair<T1, T2>, Context> :
public tuple_accessor<compressed_pair<T1, T2>, Context, true>
{};
} // namespace papilio

#include "../detail/suffix.hpp"

#endif

0 comments on commit 71f84d7

Please sign in to comment.