mirror of
https://github.com/boostorg/python.git
synced 2026-01-31 08:22:18 +00:00
This commit was manufactured by cvs2svn to create tag
'before_adding_complex'. [SVN r9301]
This commit is contained in:
14
example/store.h
Normal file
14
example/store.h
Normal file
@@ -0,0 +1,14 @@
|
||||
#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
|
||||
Reference in New Issue
Block a user