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