|
FE 0.6.1
A header-only C++ library for writing frontends
|
Specialization if N == 1 - doesn't need a ring.
More...
#include <fe/ring.h>
Public Member Functions | |
Construction | |
| Ring (std::initializer_list< T > list) | |
| Ring ()=default | |
| Ring (const Ring &)=default | |
| Ring (Ring &&other) | |
| 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 == 1 - doesn't need a ring.
|
inline |
|
default |
Definition at line 78 of file ring.h.
References fe::Ring< T, N >::swap.
|
inline |
Definition at line 82 of file ring.h.
References fe::Ring< T, N >::swap.
|
inline |
Definition at line 89 of file ring.h.
References assert_unused.
|
inline |
Definition at line 93 of file ring.h.
References assert_unused.