util
PushValue< Value > Class Template Reference
A simple helper-class that does the following: Backup the given reference-value given through. More...
#include <pushvalue.h>
Public Member Functions | |
| PushValue (Value &ptr, const Value &push=Value()) | |
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.
The documentation for this class was generated from the following file:
KDE 4.4 API Reference