doc: coding style
This commit is contained in:
@@ -215,11 +215,11 @@ class group_handler<Type, 0u, Get, Exclude> final: public group_descriptor {
|
||||
public:
|
||||
using common_type = Type;
|
||||
|
||||
template<typename Alloc, typename... GType, typename... EType>
|
||||
group_handler(const Alloc &alloc, std::tuple<GType &...> gpool, std::tuple<EType &...> epool)
|
||||
template<typename Allocator, typename... GType, typename... EType>
|
||||
group_handler(const Allocator &allocator, std::tuple<GType &...> gpool, std::tuple<EType &...> epool)
|
||||
: pools{std::apply([](auto &&...cpool) { return std::array<common_type *, Get>{&cpool...}; }, gpool)},
|
||||
filter{std::apply([](auto &&...cpool) { return std::array<common_type *, Exclude>{&cpool...}; }, epool)},
|
||||
elem{alloc} {
|
||||
elem{allocator} {
|
||||
std::apply([this](auto &...cpool) { ((cpool.on_construct().template connect<&group_handler::push_on_construct>(*this), cpool.on_destroy().template connect<&group_handler::remove_if>(*this)), ...); }, gpool);
|
||||
std::apply([this](auto &...cpool) { ((cpool.on_construct().template connect<&group_handler::remove_if>(*this), cpool.on_destroy().template connect<&group_handler::push_on_destroy>(*this)), ...); }, epool);
|
||||
common_setup();
|
||||
|
||||
@@ -136,7 +136,7 @@ template<typename Container>
|
||||
/*! @endcond */
|
||||
|
||||
/**
|
||||
* @brief Basic sparse set implementation.
|
||||
* @brief Sparse set implementation.
|
||||
*
|
||||
* Sparse set or packed array or whatever is the name users give it.<br/>
|
||||
* Two arrays: an _external_ one and an _internal_ one; a _sparse_ one and a
|
||||
|
||||
@@ -211,7 +211,7 @@ template<typename... Lhs, typename... Rhs>
|
||||
/*! @endcond */
|
||||
|
||||
/**
|
||||
* @brief Basic storage implementation.
|
||||
* @brief Storage implementation.
|
||||
*
|
||||
* Internal data structures arrange elements to maximize performance. There are
|
||||
* no guarantees that objects are returned in the insertion order when iterate
|
||||
|
||||
Reference in New Issue
Block a user