Skip to content

Instantly share code, notes, and snippets.

@kevinw
Created October 6, 2009 19:26
Show Gist options
  • Save kevinw/203339 to your computer and use it in GitHub Desktop.
Save kevinw/203339 to your computer and use it in GitHub Desktop.
<typename Value, typename HashFunctions, typename Traits>
<typename T, typename HashTranslator>
<typename HashSet<Value, HashFunctions, Traits>::iterator, bool>
<Value, HashFunctions, Traits>::add(const T& value)
{
typedef HashSetTranslatorAdapter<ValueType, ValueTraits, T, HashTranslator> Adapter;
return m_impl.template addPassingHashCode<T, T, Adapter>(value, value);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment