Reverted formatting changes

This commit is contained in:
Anna Gringauze 2015-09-14 16:34:26 -07:00
parent 17ed5c3664
commit 18cd9801b5

View File

@ -1765,6 +1765,7 @@ public:
return { reinterpret_cast<byte*>(this->data()), this->bytes() };
}
// from bytes array
template<typename U, bool IsByte = std::is_same<value_type, const byte>::value, typename Dummy = std::enable_if_t<IsByte && sizeof...(RestDimensions) == 0>>
_CONSTEXPR auto as_array_view() const _NOEXCEPT -> array_view<const U, (Base::bounds_type::dynamic_rank == 0 ? Base::bounds_type::static_size / sizeof(U) : static_cast<size_type>(dynamic_range))>