Move semantics operator declaration in header #94
Replies: 2 comments 9 replies
-
@kausikp11 Sorry to hear it doesn't work for you. But I think you might have forgotten to specify what error you are getting. Also, I went ahead and modified your message so that the code gets properly rendered, please feel free to examine the changes I made for future references. The easiest way for me to be able to help out is to make sure I understand the problem. Formulating and formatting the question as precise as possible is a key part of me being able to help. |
Beta Was this translation helpful? Give feedback.
-
I made it as pointer because to assign the row and cols using stb library. But it can be made different using private variable and assign size whenever needed. |
Beta Was this translation helpful? Give feedback.
-
I have a doubt, while using a .hpp file to declare the move operator? When I tried I am getting the following error.
.hpp file
.cpp declaration
Please share your suggestion how to add it
Beta Was this translation helpful? Give feedback.
All reactions