File tree Expand file tree Collapse file tree 1 file changed +0
-24
lines changed Expand file tree Collapse file tree 1 file changed +0
-24
lines changed Original file line number Diff line number Diff line change @@ -47,30 +47,6 @@ namespace FIXED_POINTS_DETAILS
4747constexpr static const auto Value = sizeof (T) * CHAR_BIT;
4848};
4949
50- template < typename T, typename U = T >
51- constexpr auto Max (const T & left, const U & right) noexcept -> decltype((left > right) ? left : right)
52- {
53- return (left > right) ? left : right;
54- }
55-
56- template < typename T, T Left, T Right >
57- constexpr auto Max (void ) noexcept -> decltype((Left > Right) ? Left : Right)
58- {
59- return (Left > Right) ? Left : Right;
60- }
61-
62- template < typename T, typename U = T >
63- constexpr auto Min (const T & left, const U & right) noexcept -> decltype((left < right) ? left : right)
64- {
65- return (left < right) ? left : right;
66- }
67-
68- template < typename T, T Left, T Right >
69- constexpr auto Min (void ) noexcept -> decltype((Left < Right) ? Left : Right)
70- {
71- return (Left < Right) ? Left : Right;
72- }
73-
7450template < bool Condition, typename TTrue, typename TFalse >
7551struct Conditional ;
7652
You can’t perform that action at this time.
0 commit comments