Temporal: another useful static method
This commit is contained in:
parent
1ee38e7a7f
commit
b5c945e211
@ -217,6 +217,7 @@ class LIBTEMPORAL_API timepos_t : public int62_t {
|
||||
std::string to_string () const;
|
||||
|
||||
static timepos_t max (TimeDomain td) { return timepos_t (td != AudioTime, int62_t::max); }
|
||||
static timepos_t smallest_step (TimeDomain td) { return timepos_t (td != AudioTime, 1); }
|
||||
|
||||
private:
|
||||
/* special private constructor for use when constructing timepos_t as a
|
||||
|
Loading…
Reference in New Issue
Block a user