mirror of
https://github.com/microsoft/GSL.git
synced 2024-11-03 17:56:43 -05:00
Reverted formatting changes
This commit is contained in:
parent
17ed5c3664
commit
18cd9801b5
@ -1765,6 +1765,7 @@ public:
|
|||||||
return { reinterpret_cast<byte*>(this->data()), this->bytes() };
|
return { reinterpret_cast<byte*>(this->data()), this->bytes() };
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// from bytes array
|
// 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>>
|
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))>
|
_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))>
|
||||||
|
Loading…
Reference in New Issue
Block a user