MCPcopy Create free account
hub / github.com/FastLED/FastLED / operator+

Method operator+

src/fl/stl/chrono.h:165–167  ·  view source on GitHub ↗

Add a duration to a time_point

Source from the content-addressed store, hash-verified

163
164 /// Add a duration to a time_point
165 constexpr time_point operator+(const Duration& d) const FL_NOEXCEPT {
166 return time_point(Duration(mDuration.count() + d.count()));
167 }
168
169 /// Subtract a duration from a time_point
170 constexpr time_point operator-(const Duration& d) const FL_NOEXCEPT {

Callers

nothing calls this directly

Calls 2

time_pointClass · 0.70
countMethod · 0.45

Tested by

no test coverage detected