implemented operator= for different sized array

This commit is contained in:
cyborg1811m 2024-07-28 16:47:05 +02:00
parent 5ed9fd9146
commit 70e2108501
1 changed files with 1 additions and 1 deletions

View File

@ -68,7 +68,7 @@ namespace cc {
constexpr const_vector<T, N>& operator=(const_vector&& other) noexcept;
template <std::size_t N2>
constexpr const_vector<T, N>& operator=(const_vector<value_type, N2>&& other);
//constexpr const_vector<T, N>& operator=(const value_type (&array)[N]) noexcept; // not needed as functionally equivalent to templated overload
//constexpr const_vector<T, N>& operator=(const value_type (&array)[N]) noexcept; // not needed as functionally equivalent to templated overload, could be noexcept though
template <std::size_t N2>
constexpr const_vector<T, N>& operator=(const value_type (&array)[N2]);
constexpr const_vector<T, N>& operator=(std::initializer_list<value_type> values);