|
FE 0.6.1
A header-only C++ library for writing frontends
|
Specialization if N == 2; doesn't need a ring, we just copy.
More...
#include <fe/ring.h>
Public Member Functions | |
Construction | |
| Ring (std::initializer_list< T > list) | |
| Ring () noexcept=default | |
| Ring (const Ring &)=default | |
| Ring (Ring &&other) noexcept | |
| Ring & | operator= (Ring other) noexcept |
Access | |
| T & | front () |
| const T & | front () const |
| T & | operator[] (size_t i) |
| const T & | operator[] (size_t i) const |
Modifiers | |
| void | reset () |
| T | put (T item) |
Friends | |
| void | swap (Ring &r1, Ring &r2) noexcept |
Specialization if N == 2; doesn't need a ring, we just copy.
|
inline |
|
defaultnoexcept |
Definition at line 127 of file ring.h.
References fe::Ring< T, N >::swap.
|
inline |
Definition at line 131 of file ring.h.
References fe::Ring< T, N >::swap.
|
inline |
Definition at line 138 of file ring.h.
References assert_unused.
|
inline |
Definition at line 142 of file ring.h.
References assert_unused.