top button
Flag Notify
Site Registration

finding about move vs copy in C++

+1 vote

Is there some command line option that will get the compiler to tell me which of a move or copy constructor, which of a move assignment or copy assignment it has chosen to do at each point in the source code?

That would make it much easier to ensure that moves are done when they are supposed to be.

posted Dec 31, 2014 by anonymous

Looking for an answer?  Promote on:
Facebook Share Button Twitter Share Button LinkedIn Share Button

Similar Questions
+2 votes

I would like to know, if there is any difference (in allocated memory space) between defining a function inline in the class declaration (with the inline word), and defining a function inline explicit after the class declaration.