Oh, boy. I erroneously thought that operator= used the copy constructor by default...
[fridhskrift.git] / shared / construction.cpp
blobcf2966e45f525abc1109b39c80c04b2c76fec261
1 #include <fridh/construction.hpp>
3 namespace fridh
5 void construction_pattern::copy(construction_pattern const & other)
7 throw ail::exception("Construction pattern copy requested");
10 void construction_pattern::destroy()
12 throw ail::exception("Construction pattern destruction requested");
15 construction_pattern::construction_pattern()
19 construction_pattern::construction_pattern(construction_pattern const & other)
21 copy(other);
24 construction_pattern::~construction_pattern()
26 destroy();
29 construction_pattern & construction_pattern::operator=(construction_pattern const & other)
31 destroy();
32 copy(other);
33 return *this;