Add containers module with initial implementation and integrate into CMake build system.

This commit is contained in:
2026-02-21 10:38:58 +01:00
parent 90fbcc38dc
commit 939e98d5b2
16 changed files with 272 additions and 12 deletions
+8 -1
View File
@@ -8,16 +8,23 @@ class ClassA : public IComparable {
public:
// public
ClassA(); // default constructor
ClassA(const ClassA& other); // copy constructor
~ClassA() override; // destructor
void Print();
int CompareTo(IComparable* other) override;
const float& GetDecimal() const { return *_pDecimal; }
void SetDecimal(float decimal) { *_pDecimal = decimal; }
protected:
// protected
private:
// private
int _number = 0;
float* _pDecimal = nullptr;
};
#endif //POINTER_CLASSA_H