diff --git a/triqs/arrays/impl/indexmap_storage_pair.hpp b/triqs/arrays/impl/indexmap_storage_pair.hpp index 48060456..cb530de9 100644 --- a/triqs/arrays/impl/indexmap_storage_pair.hpp +++ b/triqs/arrays/impl/indexmap_storage_pair.hpp @@ -277,6 +277,8 @@ namespace triqs { namespace arrays { typedef iterator_adapter iterator; const_iterator begin() const {return const_iterator(indexmap(),storage(),false);} const_iterator end() const {return const_iterator(indexmap(),storage(),true);} + const_iterator cbegin() const {return const_iterator(indexmap(),storage(),false);} + const_iterator cend() const {return const_iterator(indexmap(),storage(),true);} iterator begin() {return iterator(indexmap(),storage(),false);} iterator end() {return iterator(indexmap(),storage(),true);}