mirror of
https://github.com/bolero-MURAKAMI/Sprout
synced 2025-08-03 12:49:50 +00:00
add container_range_traits default
This commit is contained in:
parent
0080332dd5
commit
8efb1a3748
23 changed files with 1822 additions and 1384 deletions
|
@ -11,7 +11,6 @@
|
|||
#include <utility>
|
||||
#include <boost/array.hpp>
|
||||
#include <sprout/config.hpp>
|
||||
#include <type_traits>
|
||||
#include <sprout/workaround/std/cstddef.hpp>
|
||||
#include <sprout/container/traits.hpp>
|
||||
#include <sprout/container/range_index_check.hpp>
|
||||
|
@ -43,7 +42,7 @@ namespace sprout {
|
|||
//
|
||||
template<typename T, std::size_t N>
|
||||
struct container_traits<boost::array<T, N> >
|
||||
: public sprout::detail::container_traits_default<boost::array<T, N> >
|
||||
: public sprout::container_traits_default<boost::array<T, N> >
|
||||
{
|
||||
public:
|
||||
typedef sprout::index_iterator<boost::array<T, N>&, true, sprout::detail::elems_subscript<> > iterator;
|
||||
|
@ -55,7 +54,7 @@ namespace sprout {
|
|||
//
|
||||
template<typename T, std::size_t N>
|
||||
struct container_range_traits<boost::array<T, N> >
|
||||
: public sprout::detail::container_range_traits_default<boost::array<T, N> >
|
||||
: public sprout::container_range_traits_default<boost::array<T, N> >
|
||||
{
|
||||
public:
|
||||
// iterators:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue