Content deleted Content added
→History: removed misplaced comma |
Updated code to C++11 standard |
||
Line 212:
class Shape {
public:
virtual ~Shape()
virtual Shape *clone() const = 0;
};
Line 219:
class Shape_CRTP : public Shape {
public:
return new Derived(static_cast<Derived const&>(*this));
}
|