Instigate Open Source Documentation

instigate::generic::equality_comparable::interface< T > Struct Template Reference

Interface of the Equality Comparable Concept. More...

#include <_equality_comparable.hpp>

Inheritance diagram for instigate::generic::equality_comparable::interface< T >:

instigate::stl::single_pass_iterator::interface< T > instigate::stl::forward_iterator::interface< T > instigate::stl::bidirectional_iterator::interface< T > instigate::stl::random_access_iterator::interface< T >

List of all members.

Static Public Member Functions

static bool equal (const T &a, const T &b)
 Compare the objects a and b for equality.


Detailed Description

template<typename T>
struct instigate::generic::equality_comparable::interface< T >

Interface of the Equality Comparable Concept.

Member Function Documentation

template<typename T>
static bool instigate::generic::equality_comparable::interface< T >::equal ( const T &  a,
const T &  b 
) [inline, static]

Compare the objects a and b for equality.

Parameters:
a - the first argument to be compared
b - the second argument to be compared
Returns:
True if a equals b, false otherwise

Referenced by instigate::stl::equal(), and instigate::generic::equality_comparable::requirements< T >::require_equal().


The documentation for this struct was generated from the following file:


© Instigate CJSC, Open Source