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)
32v = RVec_UponCopyPrinter(3)
35v2 = RVec_UponCopyPrinter(v.data(), v.size())
38print(
"%s and %s" %(v.data(), v2.data()))
47print(
"%s and %s" %(v.data(), v2.data()))