Expected output (using the pretty-printing of std::vector from PyROOT):
{ 1 } 1
{ 1 } 1
{}
In fact, the expected behavior was occurring with a previous cppyy version used before ROOT 6.32. Therefore, this issue is a behavior regression that catches uses by surprise.
Reported originally on the ROOT forum: https://root-forum.cern.ch/t/incompatibilities-with-array-array-introduced-in-root-6-32/59782
Reproducer:
Output:
Expected output (using the pretty-printing of
std::vector
from PyROOT):In fact, the expected behavior was occurring with a previous cppyy version used before ROOT 6.32. Therefore, this issue is a behavior regression that catches uses by surprise.