|
template<typename T , typename U > |
constexpr auto | operator() (T &&a, U &&b) const noexcept(nothrow< T, U >) |
|
template<typename T , typename U > |
constexpr bool | operator() (T *a, U *b, size_t size) const noexcept(nothrow< T, U >) |
|
template<typename T , typename U , size_t N1, size_t N2> |
constexpr bool | operator() (T(&a)[N1], U(&b)[N2]) const noexcept(nothrow< T, U >) |
|
template<typename T , typename U > |
constexpr bool | operator() (T *a, size_t size1, U *b, size_t size2) const noexcept(nothrow< T, U >) |
|
template<typename T , typename U > |
constexpr bool | operator() (T *a, size_t size1, U *b, end_by_zero_t) const noexcept(nothrow< T, U >) |
|
template<typename T , typename U > |
constexpr bool | operator() (T *a, end_by_zero_t, U *b, size_t size2) const noexcept(nothrow< T, U >) |
|
template<typename T , typename U > |
constexpr bool | operator() (T *a, end_by_zero_t, U *b, end_by_zero_t) const noexcept(nothrow< T, U >) |
|
template<typename T , typename U > |
constexpr bool | operator() (T *a, size_t size1, just_an_part_t, U *b, end_by_zero_t) const noexcept(nothrow< T, U >) |
|
相等比较任意支持比较的类型或其数组——简易封装. 用法: 判断两值是否可比较。 equal.able<类型1,类型2(可选,默认为类型1)> -> bool 判断将两者进行比较时是否会抛出异常。 equal.nothrow<类型,类型2(可选,默认为类型1)> -> bool
equal(T1,T2) -> auto
equal(T1[N1],T2[N2]) -> bool equal(T1*,size1,T2*,size2) -> bool equal(T1*,T2*,size) -> bool equal(T1*,size1,T2*,end_by_zero) -> bool equal(T1*,end_by_zero,T2*,size) -> bool equal(T1*,end_by_zero,T2*,end_by_zero) -> bool
在文件 all_defs.cpp 第 1851 行定义.