teditor
1.8.0@@fee5e94
Terminal based editor written in C++
|
Go to the documentation of this file.
9 template <
typename Type>
13 const Type&
current()
const {
return data[pos]; }
14 Type&
next() {
return data[pos ^ 1]; }
15 const Type&
next()
const {
return data[pos ^ 1]; }
Type & current()
Definition: double_buffer.hpp:12
DoubleBuffer()
Definition: double_buffer.hpp:11
Type & next()
Definition: double_buffer.hpp:14
void update()
Definition: double_buffer.hpp:16
const Type & current() const
Definition: double_buffer.hpp:13
const Type & next() const
Definition: double_buffer.hpp:15
A simple double buffer container for ping-pong kind of operations.
Definition: double_buffer.hpp:10