mirror of
https://github.com/bolero-MURAKAMI/Sprout
synced 2025-08-03 12:49:50 +00:00
fix inline
add container/indexes.hpp add tuple/indexes.hpp
This commit is contained in:
parent
ba6482d1ec
commit
c6bd230ee4
340 changed files with 1087 additions and 979 deletions
30
sprout/container/indexes.hpp
Normal file
30
sprout/container/indexes.hpp
Normal file
|
@ -0,0 +1,30 @@
|
|||
#ifndef SPROUT_CONTAINER_INDEXES_HPP
|
||||
#define SPROUT_CONTAINER_INDEXES_HPP
|
||||
|
||||
#include <sprout/config.hpp>
|
||||
#include <sprout/index_tuple.hpp>
|
||||
#include <sprout/container/container_construct_traits.hpp>
|
||||
|
||||
namespace sprout {
|
||||
namespace containers {
|
||||
//
|
||||
// container_indexes
|
||||
//
|
||||
template<typename Container>
|
||||
struct container_indexes
|
||||
: public sprout::detail::make_index_tuple_helper<
|
||||
sprout::index_range<0, sprout::container_traits<Container>::static_size>
|
||||
>
|
||||
{};
|
||||
} // namespace containers
|
||||
|
||||
//
|
||||
// container_indexes
|
||||
//
|
||||
template<typename Container>
|
||||
struct container_indexes
|
||||
: public sprout::containers::container_indexes<Container>
|
||||
{};
|
||||
} // namespace sprout
|
||||
|
||||
#endif // #ifndef SPROUT_CONTAINER_INDEXES_HPP
|
Loading…
Add table
Add a link
Reference in a new issue