|
FE 0.13.1
Header-only C++ frontend library
|
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 |
|
inlinenoexcept |
|
inline |
|
inline |
Definition at line 144 of file ring.h.
References assert_unused.
|
inline |
Definition at line 148 of file ring.h.
References assert_unused.