LUMIERA.clone/src/lib/time
Ichthyostega 38837da65e Timehandling: choose safer representation for fractional seconds (closes #939)
When drafting the time handling framework some years ago,
I foresaw the possible danger of mixing up numbers relating
to fractional seconds, with other plain numbers intended as
frame counts or as micro ticks. Thus I deliberately picked
an incompatible integer type for FSecs = boost::rational<long>

However, using long is problematic in itself, since its actual
bit length is not fixed, and especially on 32bit platforms long
is quite surprisingly defined to be the same as int.

However, meanwhile, using the new C++ features, I have blocked
pretty much any possible implicit conversion path, requiring
explicit conversions in the relevant ctor invocations. So,
after weighting in the alternatives, FSecs is now defined
as boost::rational<int64_t>.
2020-02-17 03:13:36 +01:00
..
control-impl.hpp Switch from TR1 preveiw to the new standard headers 2014-04-03 22:42:48 +02:00
control-policy.hpp clean-up(#985): tighten basic header lib/meta/util.hpp 2016-01-05 22:00:53 +01:00
control.hpp fix typo in header include guard 2015-06-03 01:18:58 +02:00
diagnostics.hpp Doxygen Fixes (#1062) 2017-04-02 04:22:51 +02:00
digxel.hpp Global-Layer-Renaming: fix remaining textual usages and IDs in the code 2018-12-10 00:09:56 +01:00
formats.hpp Global-Layer-Renaming: adapt lots of documentation 2018-11-15 21:13:52 +01:00
grid.hpp Timehandling: choose safer representation for fractional seconds (closes #939) 2020-02-17 03:13:36 +01:00
mutation.cpp clean-up and finalise time::Mutation 2012-12-02 01:54:02 +01:00
mutation.hpp Library: replace boost::noncopyable by our own library solution 2018-03-24 05:35:13 +01:00
quantiser.cpp Doxygen: fill in missing file level headlines for the Library (timecode handling) 2016-11-07 16:22:04 +01:00
quantiser.hpp Global-Layer-Renaming: fix remaining textual usages and IDs in the code 2018-12-10 00:09:56 +01:00
time.cpp Timehandling: choose safer representation for fractional seconds (closes #939) 2020-02-17 03:13:36 +01:00
timecode.cpp Timehandling: choose safer representation for fractional seconds (closes #939) 2020-02-17 03:13:36 +01:00
timecode.hpp Doxygen: fill in missing file level headlines for the Library (timecode handling) 2016-11-07 16:22:04 +01:00
timequant.hpp Doxygen: fill in missing file level headlines for the Library (timecode handling) 2016-11-07 16:22:04 +01:00
timevalue.hpp Timehandling: choose safer representation for fractional seconds (closes #939) 2020-02-17 03:13:36 +01:00