util
PushValue< Value > Class Template Reference
#include <pushvalue.h>
Detailed Description
template<class Value>
class PushValue< Value >
A simple helper-class that does the following: Backup the given reference-value given through.
- Parameters:
-
ptr,replace it with the value given through push,restore the backed up value back on destruction.
Definition at line 29 of file pushvalue.h.
Public Member Functions | |
| PushValue (Value &ptr, const Value &push=Value()) | |
The documentation for this class was generated from the following file:
KDE 4.2 API Reference