How to implement move functionality without any reference to std::move or std::swap?
What is a standard function prototype acceptable by STL, and how to use it?
Please, give an example. I tried to search StackOverflow.
I want to implement this for a class in a project which does not have any reference to STL (and it must not!). But, in a test project, I use STL. Anything in StackOverflow references the std::move or std::swap functions. I have to avoid them to satisfy both goals.
Is this sufficient? Should another funciton be implemented?
Thank you, john! Amending with:
Is it good enough?