// Description: Hash from hash() member function.
// Documentation: hashes.txt
#ifndef PASTELSYS_EMBEDDED_HASH_H
#define PASTELSYS_EMBEDDED_HASH_H
#include "pastel/sys/hashing.h"
namespace Pastel
{
//! Computes hash from hash() member function.
class Embedded_Hash
{
public:
template <typename Type>
hash_integer operator()(const Type& that) const
{
return that.hash();
}
};
}
#endif