In file included from main.cpp:2:0:
SmartPointer.hpp: In instantiation of 'const value_type& smart_pointer::SmartPointer<T, Allocator>::operator*() const [with T = float; Allocator = std::allocator<float>; smart_pointer::SmartPointer<T, Allocator>::value_type = float]':
Test_SmartPointer.hpp:233:9: required from here
SmartPointer.hpp:101:22: error: 'class smart_pointer::SmartPointer<float, std::allocator<float> >::Core' has no member named 'ptr'
return *(this->core->ptr);
~~~~~~~~~~~~~^~~~
SmartPointer.hpp: In instantiation of 'smart_pointer::SmartPointer<T, Allocator>::value_type& smart_pointer::SmartPointer<T, Allocator>::operator*() [with T = float; Allocator = std::allocator<float>; smart_pointer::SmartPointer<T, Allocator>::value_type = float]':
Test_SmartPointer.hpp:238:9: required from here
SmartPointer.hpp:94:22: error: 'class smart_pointer::SmartPointer<float, std::allocator<float> >::Core' has no member named 'ptr'
return *(this->core->ptr);
~~~~~~~~~~~~~^~~~
|