Get <boost/functional/hash/extensions.hpp> to work.

[SVN r54142]
This commit is contained in:
Daniel James
2009-06-21 09:42:05 +00:00
parent 13f44653b5
commit 4774d24966
3 changed files with 23 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
// Copyright 2009 Daniel James.
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
// Check that boost/functional/hash/extensions.hpp works okay.
//
// It probably should be in boost/functional/hash/detail, but since it isn't it
// should work.
#include <boost/functional/hash/extensions.hpp>
int main() {
int x[2] = { 2, 3 };
boost::hash<int[2]> hf;
hf(x);
}