Could I use `std::fstream::pos_type` as a type in `TBranch`?

Hello, ROOTers,
I want to store value of type std::fstream::pos_type in TTree.
Is it possible?


ROOT Version: 6.16/00
Platform: Ubuntu 16.04
Compiler: linuxx8664gcc


hi,

it seems that this type can be converted back and forth to/from an int http://www.cplusplus.com/reference/ios/streampos/ .
perhaps the wisest would be to write it as an int.

P

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.