mirror of
https://github.com/bolero-MURAKAMI/Sprout.git
synced 2025-07-10 14:44:11 +00:00
add sized_pit container
This commit is contained in:
parent
d611090972
commit
0abea1678c
12 changed files with 577 additions and 28 deletions
|
@ -342,7 +342,8 @@ namespace sprout {
|
|||
}
|
||||
SPROUT_CONSTEXPR valarray<bool, N>
|
||||
operator!() const {
|
||||
return sprout::fixed::transform<valarray<bool, N> >(begin(), end(), sprout::logical_not<>());
|
||||
typedef sprout::sized_pit<sprout::valarray<bool, N> > sized_pit_type;
|
||||
return sprout::fixed::transform(begin(), end(), sized_pit_type(size()), sprout::logical_not<>());
|
||||
}
|
||||
// computed assignment:
|
||||
SPROUT_CXX14_CONSTEXPR valarray&
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue