extensions_hpp_test.cpp 500 B

12345678910111213141516171819
  1. // Copyright 2009 Daniel James.
  2. // Distributed under the Boost Software License, Version 1.0. (See accompanying
  3. // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
  4. // Check that boost/container_hash/extensions.hpp works okay.
  5. //
  6. // It probably should be in boost/container_hash/detail, but since it isn't it
  7. // should work.
  8. #include "./config.hpp"
  9. #include <boost/container_hash/extensions.hpp>
  10. int main() {
  11. int x[2] = { 2, 3 };
  12. boost::hash<int[2]> hf;
  13. hf(x);
  14. }