In this tutorial we learn how the RVec class can be used to adopt existing memory or allocate some.
public:
};
{
std::cout <<
v.data() <<
" and " <<
v2.data() << std::endl;
std::cout <<
v.data() <<
" and " <<
v2.data() << std::endl;
}
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
A "std::vector"-like collection of values implementing handy operation to analyse them.
0x7ffce326d150 and 0x7ffce326d150
0x7ffce326d150 and 0x45a0790
- Date
- May 2018
- Author
- Danilo Piparo
Definition in file vo001_AdoptOrOwnMemory.C.