13 class UponCopyPrinter {
15 UponCopyPrinter() =
default;
16 UponCopyPrinter(UponCopyPrinter &&) =
default;
17 UponCopyPrinter(
const UponCopyPrinter &) { std::cout <<
"Invoking copy c'tor!" << std::endl; }
35 std::cout <<
v.data() <<
" and " << v2.data() << std::endl;
42 v2.push_back(UponCopyPrinter());
45 std::cout <<
v.data() <<
" and " << v2.data() << std::endl;
A "std::vector"-like collection of values implementing handy operation to analyse them...