In file included from main.cpp:2:0:
SmartPointer.hpp: In instantiation of 'smart_pointer::SmartPointer<T, Allocator>& smart_pointer::SmartPointer<T, Allocator>::operator=(smart_pointer::SmartPointer<T, Allocator>&&) [with T = float; Allocator = std::allocator<float>]':
Test_SmartPointer.hpp:187:32: required from here
SmartPointer.hpp:69:23: error: invalid conversion from 'std::size_t {aka long unsigned int}' to 'smart_pointer::SmartPointer<float, std::allocator<float> >::value_type* {aka float*}' [-fpermissive]
p.core->m_obj = p.core->count_ptr = 0;
~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
|