From 3521c417b59b657e9f845f41b4f844fd0d462e3a Mon Sep 17 00:00:00 2001 From: Daniel James Date: Sat, 20 Jan 2018 17:30:58 +0000 Subject: [PATCH] Small program to write out hash config info --- test/Jamfile.v2 | 1 + test/hash_info.cpp | 15 +++++++++++++++ 2 files changed, 16 insertions(+) create mode 100644 test/hash_info.cpp diff --git a/test/Jamfile.v2 b/test/Jamfile.v2 index dd2b977..ed2fc49 100644 --- a/test/Jamfile.v2 +++ b/test/Jamfile.v2 @@ -20,6 +20,7 @@ project hash-tests test-suite container_hash/hash : + [ run hash_info.cpp : : : always_show_run_output ] [ compile check_float_funcs.cpp ] [ run hash_fwd_test_1.cpp ] [ run hash_fwd_test_2.cpp ] diff --git a/test/hash_info.cpp b/test/hash_info.cpp new file mode 100644 index 0000000..25b942a --- /dev/null +++ b/test/hash_info.cpp @@ -0,0 +1,15 @@ + +// Copyright 2017 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) + +// Not a test, just a small program to write out configuration info + +#include +#include + +int main() { + std::cout << "BOOST_HASH_HAS_STRING_VIEW: " + << BOOST_HASH_HAS_STRING_VIEW + << std::endl; +}