|
Expression Templates Library (ETL)
|
RAII helper for setting the context to serial. More...
#include <context.hpp>
Public Member Functions | |
| serial_context () | |
| Default construct a serial context. More... | |
| ~serial_context () | |
| Destruct a serial context. More... | |
| operator bool () | |
| Does nothing, simple trick for section to be nice. | |
Public Attributes | |
| bool | old_serial |
| The previous value of serial. | |
RAII helper for setting the context to serial.
|
inline |
Default construct a serial context.
This saves the previous serial value and sets serial to true
|
inline |
Destruct a serial context.
This restores the serial state
1.8.13