Files
TCPlayerbotCore/externals/g3dlite/G3D.lib/include/G3D/EqualsTrait.h
T

27 lines
508 B
C++
Raw Normal View History

2010-06-07 00:09:54 +02:00
/**
@file EqualsTrait.h
@maintainer Morgan McGuire, [email protected]
@created 2008-10-01
@edited 2008-10-01
Copyright 2000-2008, Morgan McGuire.
All rights reserved.
*/
#ifndef G3D_EQUALSTRAIT_H
#define G3D_EQUALSTRAIT_H
#include "G3D/platform.h"
/** Default implementation of EqualsTrait.
@see G3D::Table for specialization requirements.
*/
template<typename Key> struct EqualsTrait {
static bool equals(const Key& a, const Key& b) {
return a == b;
}
};
#endif