MoReFEM
|
See Less for explanation. More...
#include <PointerComparison.hpp>
Public Types | |
using | comparison_type |
Use reference if the type being compared is a shared or unique pointer. | |
Public Member Functions | |
bool | operator() (comparison_type lhs, comparison_type rhs) const |
See Less for explanation.
using MoReFEM::Utilities::PointerComparison::Equal< T >::comparison_type |
Use reference if the type being compared is a shared or unique pointer.
For the shared pointer it's only a matter of efficiency, for the unique one comparison couldn't occur otherwise.
bool MoReFEM::Utilities::PointerComparison::Equal< T >::operator() | ( | comparison_type | lhs, |
comparison_type | rhs ) const |
Overload operator() so that Less might be used as a functor.
[in] | lhs | Left-hand side. |
[in] | rhs | Right-hand side. |