mirror of
https://github.com/bolero-MURAKAMI/Sprout.git
synced 2025-07-04 14:14:09 +00:00
add array constexpr member-functions fill, assign
This commit is contained in:
parent
d76d714816
commit
a660478548
10 changed files with 110 additions and 70 deletions
|
@ -8,7 +8,8 @@
|
|||
|
||||
namespace sprout {
|
||||
template<typename T, std::size_t N>
|
||||
inline SPROUT_CONSTEXPR std::size_t hash_value(sprout::array<T, N> const& v) {
|
||||
inline SPROUT_CONSTEXPR std::size_t
|
||||
hash_value(sprout::array<T, N> const& v) {
|
||||
return sprout::hash_range(v.begin(), v.end());
|
||||
}
|
||||
} // namespace sprout
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue