sparrow 1.4.0
C++20 idiomatic APIs for the Apache Arrow Columnar Format
Loading...
Searching...
No Matches
Comparison operators

Functions

template<class T1, size_t A1, class T2, size_t A2>
XSIMD_INLINE bool xsimd::operator== (const aligned_allocator< T1, A1 > &lhs, const aligned_allocator< T2, A2 > &rhs) noexcept
 Compares two aligned memory allocator for equality.
 
template<class T1, size_t A1, class T2, size_t A2>
XSIMD_INLINE bool xsimd::operator!= (const aligned_allocator< T1, A1 > &lhs, const aligned_allocator< T2, A2 > &rhs) noexcept
 Compares two aligned memory allocator for inequality.
 

Detailed Description

Function Documentation

◆ operator!=()

template<class T1, size_t A1, class T2, size_t A2>
XSIMD_INLINE bool xsimd::operator!= ( const aligned_allocator< T1, A1 > & lhs,
const aligned_allocator< T2, A2 > & rhs )
noexcept

Compares two aligned memory allocator for inequality.

Since allocators are stateless, return true iff A1 != A2.

Parameters
lhsaligned_allocator to compare.
rhsaligned_allocator to compare.
Returns
true if the allocators have different alignments.

Definition at line 274 of file xsimd_aligned_allocator.hpp.

◆ operator==()

template<class T1, size_t A1, class T2, size_t A2>
XSIMD_INLINE bool xsimd::operator== ( const aligned_allocator< T1, A1 > & lhs,
const aligned_allocator< T2, A2 > & rhs )
noexcept

Compares two aligned memory allocator for equality.

Since allocators are stateless, return true iff A1 == A2.

Parameters
lhsaligned_allocator to compare.
rhsaligned_allocator to compare.
Returns
true if the allocators have the same alignment.

Definition at line 259 of file xsimd_aligned_allocator.hpp.