Template Function Pennylane::Util::operator==

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.