45 Interface& operator= (
Interface const& o) { cout <<
"COPY= from "<<&o<<
" !!!\n";
return *
this; }
46 Interface& operator= (
Interface const&& o) { cout <<
"MOVE= from "<<&o<<
" !!!\n";
return *
this; }
57 Impl(
string ss =
"ZOMG") : s_(ss) { }
96 double d = makeRvalue();
106 forwardFunction(
"two values",
"foo", 42L);
107 forwardFunction(
"references", d,cr,std::move(d));
109 forwardFunction(
"baseclass", ref);
116 template<
typename... ARGS>
120 cout <<
"--"<<
id<<
"--\n"
string showVariadicTypes()
helper for investigating a variadic argument pack
Implementation namespace for support and library code.
Target object to be instantiated as Singleton Allocates a variable amount of additional heap memory a...
Simplistic test class runner.
A collection of frequently used helper functions to support unit testing.
void forwardFunction(string id, ARGS &&... args)
this dummy simulates a typical variadic call which takes all arguments as '&&' for the purpose of "pe...