2
0
mirror of https://github.com/boostorg/python.git synced 2026-01-22 17:32:55 +00:00
Files
python/example/store.h
Ralf W. Grosse-Kunstleve 52ab91e34c Add examples that were meant to go here in the first place, but
were accidentally added to the main branch.


[SVN r9022]
2001-02-08 01:51:09 +00:00

15 lines
248 B
C++

#ifndef STORE_H
#define STORE_H
class store
{
private:
store(const store&) { } // Disable the copy constructor.
int number;
public:
store(const int i) : number(i) { }
int recall() const { return number; }
};
#endif // STORE_H