@@ -26,83 +26,83 @@ namespace hat {
2626 std::copy_n (str, N, value);
2727 }
2828
29- [[nodiscard]] constexpr iterator begin () {
29+ [[nodiscard]] constexpr iterator begin () noexcept {
3030 return this ->c_str ();
3131 }
3232
33- [[nodiscard]] constexpr iterator end () {
33+ [[nodiscard]] constexpr iterator end () noexcept {
3434 return this ->begin () + this ->size ();
3535 }
3636
37- [[nodiscard]] constexpr const_iterator begin () const {
37+ [[nodiscard]] constexpr const_iterator begin () const noexcept {
3838 return this ->c_str ();
3939 }
4040
41- [[nodiscard]] constexpr const_iterator end () const {
41+ [[nodiscard]] constexpr const_iterator end () const noexcept {
4242 return this ->begin () + this ->size ();
4343 }
4444
45- [[nodiscard]] constexpr const_iterator cbegin () const {
45+ [[nodiscard]] constexpr const_iterator cbegin () const noexcept {
4646 return this ->begin ();
4747 }
4848
49- [[nodiscard]] constexpr const_iterator cend () const {
49+ [[nodiscard]] constexpr const_iterator cend () const noexcept {
5050 return this ->end ();
5151 }
5252
53- [[nodiscard]] constexpr reference operator [](size_t pos) {
53+ [[nodiscard]] constexpr reference operator [](size_t pos) noexcept {
5454 return this ->value [pos];
5555 }
5656
57- [[nodiscard]] constexpr reference at (size_t pos) {
57+ [[nodiscard]] constexpr reference at (size_t pos) noexcept {
5858 return this ->value [pos];
5959 }
6060
61- [[nodiscard]] constexpr const_reference operator [](size_t pos) const {
61+ [[nodiscard]] constexpr const_reference operator [](size_t pos) const noexcept {
6262 return this ->value [pos];
6363 }
6464
65- [[nodiscard]] constexpr const_reference at (size_t pos) const {
65+ [[nodiscard]] constexpr const_reference at (size_t pos) const noexcept {
6666 return this ->value [pos];
6767 }
6868
69- [[nodiscard]] constexpr reference front () {
69+ [[nodiscard]] constexpr reference front () noexcept {
7070 return this ->value [0 ];
7171 }
7272
73- [[nodiscard]] constexpr reference back () {
73+ [[nodiscard]] constexpr reference back () noexcept {
7474 return this ->value [size () - 1 ];
7575 }
7676
77- [[nodiscard]] constexpr const_reference front () const {
77+ [[nodiscard]] constexpr const_reference front () const noexcept {
7878 return this ->value [0 ];
7979 }
8080
81- [[nodiscard]] constexpr const_reference back () const {
81+ [[nodiscard]] constexpr const_reference back () const noexcept {
8282 return this ->value [size () - 1 ];
8383 }
8484
85- [[nodiscard]] constexpr pointer c_str () {
85+ [[nodiscard]] constexpr pointer c_str () noexcept {
8686 return static_cast <Char*>(this ->value );
8787 }
8888
89- [[nodiscard]] constexpr const_pointer c_str () const {
89+ [[nodiscard]] constexpr const_pointer c_str () const noexcept {
9090 return static_cast <const Char*>(this ->value );
9191 }
9292
93- [[nodiscard]] constexpr pointer data () {
93+ [[nodiscard]] constexpr pointer data () noexcept {
9494 return this ->c_str ();
9595 }
9696
97- [[nodiscard]] constexpr const_pointer data () const {
97+ [[nodiscard]] constexpr const_pointer data () const noexcept {
9898 return this ->c_str ();
9999 }
100100
101- [[nodiscard]] constexpr size_t size () const {
101+ [[nodiscard]] constexpr size_t size () const noexcept {
102102 return N;
103103 }
104104
105- [[nodiscard]] constexpr bool empty () const {
105+ [[nodiscard]] constexpr bool empty () const noexcept {
106106 return this ->size () == 0 ;
107107 }
108108
0 commit comments