Template Function Pennylane::Util::operator==¶
Defined in File Memory.hpp
Function Documentation¶
-
template<class T, class U>
bool Pennylane::Util::operator==(const AlignedAllocator<T> &lhs, const AlignedAllocator<U> &rhs)¶ Compare two allocators.
By the standard, two allocators are equal if the memory allocated by one can be deallocated by the other.