factory type in range classes

This commit is contained in:
Christian Zimmermann 2018-10-08 22:06:57 +02:00
parent be016abf3a
commit a4d0c380dc
2 changed files with 2 additions and 0 deletions

View file

@ -162,6 +162,7 @@ namespace MultiArrayTools
typedef std::tuple<std::shared_ptr<Ranges>...> Space;
typedef MultiIndex<typename Ranges::IndexType...> IndexType;
typedef MultiRange RangeType;
typedef MultiRangeFactory<Ranges...> FType;
//typedef typename RangeInterface<MultiIndex<typename Ranges::IndexType...> >::IndexType IndexType;
protected:

View file

@ -187,6 +187,7 @@ namespace MultiArrayTools
typedef SingleIndex<U,TYPE> IndexType;
typedef SingleRange RangeType;
typedef U MetaType;
typedef SingleRangeFactory<U,TYPE> FType;
//typedef typename RangeInterface<SingleIndex<U,TYPE> >::IndexType IndexType;
virtual size_t size() const final;