Cleanup self-include tests to compile solely as object files

This commit is contained in:
Christian Mazakas
2023-09-19 08:51:12 -07:00
parent 6f0a715541
commit 7b24cf6607
2 changed files with 20 additions and 21 deletions
@@ -0,0 +1,9 @@
#ifndef BOOST_UNORDERED_HEADER
#error "this test requires a class template be passed as a macro"
#endif
#define STRINGIZE(text) STRINGIZE_I(text)
#define STRINGIZE_I(...) #__VA_ARGS__
#define HEADER STRINGIZE(BOOST_UNORDERED_HEADER)
#include HEADER