Hello,
This is a follow-up to the discussion on the Forum.
I realised that what I labelled myself as the solution indeed answers to the original problem, but does not solve my actual problem: I have an object of TRandom-derived class shared among several other objects and in one place I would like to wrap this object in the std UniformRandomBitGenerator interface or preferably use it directly. This cannot be done with TMVA::RandomGenerator because it holds its own instance of TRandom-like.
So maybe ROOT devs could consider adding the required typedef, 2 static methods and the operator() returning UInt directly to the base class (TRandom or ROOT::Math::TRandomEngine) to make it std library compatible out of the box?
Cheers,
Antoni