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.
0x7fff02e2b220 and 0x7fff02e2b220
0x7fff02e2b220 and 0x550fca0
- Date
- May 2018
- Author
- Danilo Piparo
Definition in file vo001_AdoptOrOwnMemory.C.