cipra::equals_trait< T, U >(3)

NAME
cipra::equals_trait< T, U > -

A type trait that users can specialize to tell how to equality compare two different types.

SYNOPSIS

#include <tests.hpp>

  Static Public Member Functions
static bool equals (const T &, const U &)
Returns whether the left hand side equals the right hand side.

Detailed Description

  template<typename T, typename U>struct cipra::equals_trait< T, U >
A type trait that users can specialize to tell how to equality compare two different types. Defaults to using operator==.

Version:
    1.1

Author:
    Patrick M. Niedzielski

Date:
    2013-04-20

Since:
    1.1

Template Parameters:
    T The left-hand side type.
    U The right-hand side type.

Member Function Documentation

  template<typename T , typename U > static bool cipra::equals_trait< T, U >::equals (const T &, const U &) [inline], [static]

Returns whether the left hand side equals the right hand side. Defaults to using operator==.

Author:
    Patrick M. Niedzielski

Date:
    2013-04-20

Since:
    1.1

Returns:
    Whether two objects are equal.

Author

Generated automatically by Doxygen for cipra from the source code.