1
0
Fork 0
mirror of https://github.com/bolero-MURAKAMI/Sprout synced 2025-08-03 12:49:50 +00:00

add utility/comparison.hpp

This commit is contained in:
bolero-MURAKAMI 2017-11-01 09:36:37 +09:00
parent ffe6ec780b
commit 4dd6a25354
6 changed files with 535 additions and 4 deletions

View file

@ -81,7 +81,7 @@ namespace sprout {
sprout::valarray<std::size_t, M> size_;
sprout::valarray<std::size_t, M> stride_;
private:
gslice_array() = delete;
gslice_array() SPROUT_DELETED_FUNCTION_DECL
SPROUT_CONSTEXPR gslice_array(sprout::valarray<T, N>& arr, gslice_type const& gslice)
: arr_(arr)
, start_(gslice.start())