|
LRDE Tiger Compiler
1.34a $Id: 7fef12e1f5fa43449d667a0eec1d837c40fc1202 $
|
Swap the data stored in the stream for a given one. More...


Public Member Functions | |
| swap_type (const xalloc &slot, StoredType &data) | |
| Set data_ to data. | |
| void | operator() (std::ostream &ostr) const override |
| Swap the data from the xalloced place for a given one. | |
Private Attributes | |
| const xalloc & | slot_ |
| The xalloced data. | |
| StoredType & | data_ |
| Variable in which we store the data to be swapped. | |
Swap the data stored in the stream for a given one.
This inner class is used only with the swap method.
| misc::xalloc< StoredType >::swap_type::swap_type | ( | const xalloc & | slot, |
| StoredType & | data | ||
| ) |
Set data_ to data.
|
overridevirtual |
Swap the data from the xalloced place for a given one.
Implements misc::iomanipulator.
References misc::xalloc< StoredType >::swap().
|
private |
Variable in which we store the data to be swapped.
|
private |
The xalloced data.