FE 0.6.0
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 124 of file ring.h.
References fe::Ring< T, N >::swap.
|
inline |
Definition at line 128 of file ring.h.
References fe::Ring< T, N >::swap.
|
inline |
Definition at line 135 of file ring.h.
References assert_unused.
|
inline |
Definition at line 139 of file ring.h.
References assert_unused.