From 7c493f383e697b3f523a52a2446316dfd180fd20 Mon Sep 17 00:00:00 2001 From: Jeremy Siek Date: Sat, 19 May 2001 15:44:28 +0000 Subject: [PATCH] added #ifdef around void generator when no partial spec to match the #ifdef in the header [SVN r10154] --- concept_check_test.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/concept_check_test.cpp b/concept_check_test.cpp index 4d631f7..f35acb1 100644 --- a/concept_check_test.cpp +++ b/concept_check_test.cpp @@ -105,9 +105,11 @@ main() typedef generator_archetype > foo; function_requires< GeneratorConcept > >(); } +#if !defined BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION { function_requires< GeneratorConcept< void_generator_archetype, void > >(); } +#endif { typedef unary_function_archetype F; function_requires< UnaryFunctionConcept >();