File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ namespace xt
3636 using const_reference = typename inner_types::const_reference;
3737 using size_type = typename inner_types::size_type;
3838
39- size_type size () const noexcept ;
39+ size_type size () const noexcept ( noexcept (derived_cast().shape())) ;
4040 size_type dimension () const noexcept ;
4141 size_type shape (size_type index) const ;
4242
@@ -138,7 +138,7 @@ namespace xt
138138 * Returns the size of the expression.
139139 */
140140 template <class D >
141- inline auto xconst_accessible<D>::size() const noexcept -> size_type
141+ inline auto xconst_accessible<D>::size() const noexcept ( noexcept (derived_cast().shape())) -> size_type
142142 {
143143 return compute_size (derived_cast ().shape ());
144144 }
You can’t perform that action at this time.
0 commit comments