13#ifndef ROOT_RNTupleUtils
14#define ROOT_RNTupleUtils
34 const static std::shared_ptr<T> fgRawPtrCtrlBlock;
35 return std::shared_ptr<T>(fgRawPtrCtrlBlock, rawPtr);
45 return std::unique_ptr<T[]>(
new T[
size]);
size_t size(const MatrixT &matrix)
retrieve the size of a square matrix
A log configuration for a channel, e.g.
The class is used as a return type for operations that can fail; wraps a value of type T or an RError...
RResult< void > EnsureValidNameForRNTuple(std::string_view name, std::string_view where)
Check whether a given string is a valid name according to the RNTuple specification.
ROOT::RLogChannel & NTupleLog()
Log channel for RNTuple diagnostics.
std::unique_ptr< T[]> MakeUninitArray(std::size_t size)
Make an array of default-initialized elements.
auto MakeAliasedSharedPtr(T *rawPtr)