|
tetl 0.1.0
Embedded Template Library
|
Compares two ratio objects for equality at compile-time. If the ratios R1 and R2 are equal, provides the member constant value equal true. Otherwise, value is false. More...
#include <ratio_equal.hpp>
Related Symbols | |
(Note that these are not member symbols.) | |
| template<typename R1 , typename R2 > | |
| constexpr bool | ratio_equal_v = ratio_equal<R1, R2>::value |
Related Symbols inherited from integral_constant< Type, Val > | |
| template<typename Rhs , Rhs R, typename Lhs , Lhs L> | |
| constexpr auto | operator!= (integral_constant< Rhs, R >, integral_constant< Lhs, L >) -> integral_constant< bool, L !=R > |
| template<typename Rhs , Rhs R, typename Lhs , Lhs L> | |
| constexpr auto | operator+ (integral_constant< Rhs, R >, integral_constant< Lhs, L >) -> integral_constant< decltype(L+R), L+R > |
| template<typename Rhs , Rhs R, typename Lhs , Lhs L> | |
| constexpr auto | operator== (integral_constant< Rhs, R >, integral_constant< Lhs, L >) -> integral_constant< bool, L==R > |
Additional Inherited Members | |
Public Types inherited from integral_constant< Type, Val > | |
| using | type = integral_constant< Type, Val > |
| using | value_type = Type |
Public Member Functions inherited from integral_constant< Type, Val > | |
| constexpr | operator value_type () const noexcept |
| constexpr auto | operator() () const noexcept -> value_type |
Static Public Attributes inherited from integral_constant< Type, Val > | |
| static constexpr Type | value = Val |
Compares two ratio objects for equality at compile-time. If the ratios R1 and R2 are equal, provides the member constant value equal true. Otherwise, value is false.