17ROOT.gInterpreter.Declare(
'''
18class UponCopyPrinter {
20 UponCopyPrinter() = default;
21 UponCopyPrinter(UponCopyPrinter &&) = default;
22 UponCopyPrinter(const UponCopyPrinter &) { std::cout << "Invoking copy c'tor!" << std::endl; }
26RVec_UponCopyPrinter = ROOT.ROOT.VecOps.RVec(ROOT.UponCopyPrinter)
31v = RVec_UponCopyPrinter(3)
34v2 = RVec_UponCopyPrinter(v.data(), v.size())
37print(
"%s and %s" %(v.data(), v2.data()))
46print(
"%s and %s" %(v.data(), v2.data()))