Jeff Thompson | a28eed8 | 2013-08-22 16:21:10 -0700 | [diff] [blame^] | 1 | |
| 2 | // Copyright 2009 Daniel James. |
| 3 | // Distributed under the Boost Software License, Version 1.0. (See accompanying |
| 4 | // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) |
| 5 | |
| 6 | // Check that boost/functional/hash/extensions.hpp works okay. |
| 7 | // |
| 8 | // It probably should be in boost/functional/hash/detail, but since it isn't it |
| 9 | // should work. |
| 10 | |
| 11 | #include "./config.hpp" |
| 12 | |
| 13 | #include <boost/functional/hash/extensions.hpp> |
| 14 | |
| 15 | int main() { |
| 16 | int x[2] = { 2, 3 }; |
| 17 | ndnboost::hash<int[2]> hf; |
| 18 | hf(x); |
| 19 | } |