Skip to content
Snippets Groups Projects
Commit 03cc3073 authored by Dr. Felix Tobias Schindler's avatar Dr. Felix Tobias Schindler
Browse files

[common.vector] fix VectorAbstraction for std::vector

parent f51b2302
No related branches found
No related tags found
1 merge request!20Update bindings
...@@ -165,8 +165,7 @@ struct VectorAbstraction ...@@ -165,8 +165,7 @@ struct VectorAbstraction
template <class T, class Allocator> template <class T, class Allocator>
struct VectorAbstraction<std::vector<T, Allocator>> struct VectorAbstraction<std::vector<T, Allocator>>
: public internal::VectorAbstractionBase<std::vector<T, Allocator>, T> : public internal::VectorAbstractionBase<std::vector<T, Allocator>, T>
, public internal::HasSubscriptOperatorForVectorAbstraction<std::vector<T, Allocator>, , public internal::HasSubscriptOperatorForVectorAbstraction<std::vector<T, Allocator>, T>
typename Dune::FieldTraits<T>::field_type>
{ {
static const constexpr bool is_contiguous = true; static const constexpr bool is_contiguous = true;
static const constexpr bool static_size = std::numeric_limits<size_t>::max(); static const constexpr bool static_size = std::numeric_limits<size_t>::max();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment