webrtc/rtc_base/numerics
Danil Chapovalov 2bc811ea07 Mark checked_cast, dchecked_cast, and saturated_cast as constexpr
to allow use them in other constexpr functions.
c++14 extends what can be in constexpr function making this change possible.

Bug: None
Change-Id: I6ae55b0b9b936021b57aa83ea5dd77d73be511a3
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/159026
Commit-Queue: Danil Chapovalov <danilchap@webrtc.org>
Reviewed-by: Karl Wiberg <kwiberg@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#29743}
2019-11-08 10:51:31 +00:00
..
divide_round.h Introduce integer division helpers with non-default rounding 2019-09-18 15:08:39 +00:00
divide_round_unittest.cc Introduce integer division helpers with non-default rounding 2019-09-18 15:08:39 +00:00
exp_filter.cc Use std::pow in rtc_base/numerics. 2019-03-20 13:02:15 +00:00
exp_filter.h
exp_filter_unittest.cc Format almost everything. 2019-07-08 13:45:15 +00:00
histogram_percentile_counter.cc Replace rtc::Optional with absl::optional in rtc_base 2018-06-21 11:23:40 +00:00
histogram_percentile_counter.h Format almost everything. 2019-07-08 13:45:15 +00:00
histogram_percentile_counter_unittest.cc [Cleanup] Add missing #include. Remove useless ones. IWYU part 2. 2018-11-28 18:25:07 +00:00
math_utils.h [Cleanup] Remove our own definition of M_PI. 2019-04-12 15:03:45 +00:00
mod_ops.h [Cleanup] Add missing #include. Remove useless ones. IWYU part 2. 2018-11-28 18:25:07 +00:00
mod_ops_unittest.cc [Cleanup] Add missing #include. Remove useless ones. IWYU part 2. 2018-11-28 18:25:07 +00:00
moving_average.cc Move MovingAverage to rtc_base/numerics and update it. 2018-11-05 13:02:29 +00:00
moving_average.h Format almost everything. 2019-07-08 13:45:15 +00:00
moving_average_unittest.cc Move MovingAverage to rtc_base/numerics and update it. 2018-11-05 13:02:29 +00:00
moving_max_counter.h (4) Rename files to snake_case: update BUILD.gn, include paths, header guards, and DEPS entries 2019-01-11 17:11:39 +00:00
moving_max_counter_unittest.cc Format almost everything. 2019-07-08 13:45:15 +00:00
moving_median_filter.h Format almost everything. 2019-07-08 13:45:15 +00:00
moving_median_filter_unittest.cc [Cleanup] Add missing #include. Remove useless ones. IWYU part 2. 2018-11-28 18:25:07 +00:00
percentile_filter.h Format almost everything. 2019-07-08 13:45:15 +00:00
percentile_filter_unittest.cc Format almost everything. 2019-07-08 13:45:15 +00:00
running_statistics.h Format almost everything. 2019-07-08 13:45:15 +00:00
running_statistics_unittest.cc Format almost everything. 2019-07-08 13:45:15 +00:00
safe_compare.h Move some numeric utility code from rtc_base/ to rtc_base/numerics/ 2017-11-22 11:21:47 +00:00
safe_compare_unittest.cc Format almost everything. 2019-07-08 13:45:15 +00:00
safe_conversions.h Mark checked_cast, dchecked_cast, and saturated_cast as constexpr 2019-11-08 10:51:31 +00:00
safe_conversions_impl.h Mark checked_cast, dchecked_cast, and saturated_cast as constexpr 2019-11-08 10:51:31 +00:00
safe_minmax.h Fix typo in SafeClamp docs 2019-01-30 12:47:20 +00:00
safe_minmax_unittest.cc Format almost everything. 2019-07-08 13:45:15 +00:00
sample_counter.cc Format almost everything. 2019-07-08 13:45:15 +00:00
sample_counter.h Expose video freeze metrics in GetStats. 2019-02-04 09:58:08 +00:00
sample_counter_unittest.cc Fully qualify googletest symbols. 2019-04-09 17:18:20 +00:00
samples_stats_counter.cc Store timestamp for each sample to be able to plot them in future 2019-09-11 11:13:49 +00:00
samples_stats_counter.h Store timestamp for each sample to be able to plot them in future 2019-09-11 11:13:49 +00:00
samples_stats_counter_unittest.cc Fix flake in SamplesStatsCounterTest.FullSimpleTest 2019-08-23 11:56:02 +00:00
sequence_number_util.h Format almost everything. 2019-07-08 13:45:15 +00:00
sequence_number_util_unittest.cc Format almost everything. 2019-07-08 13:45:15 +00:00