Does anyone know if there is a good way to turn a boost::posix_time::ptime
into an __int64
value. (I have compiled the microsecond version, not the nanosecond version).
I need to do this somehow as I am looking to store the resulting __int64
in a union
type which uses the raw data for a high-performance application. Some type of Memento functionality like this would be highly useful for me. I'd like to avoid casts, if possible, but will resort to them if I need to.