> Saying "using RAII for memory management" is insufficient - with just RAII, you cannot even assign a class into a passed-in variable.
What exactly do you mean by " assign a class into a passed-in variable"? Please post some code illustrating what you are talking about.