added #ifdef around void generator when no partial spec to match the

#ifdef in the header


[SVN r10154]
This commit is contained in:
Jeremy Siek
2001-05-19 15:44:28 +00:00
parent f0e47acb8e
commit 7c493f383e

View File

@@ -105,9 +105,11 @@ main()
typedef generator_archetype<null_archetype<> > foo;
function_requires< GeneratorConcept<foo, null_archetype<> > >();
}
#if !defined BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION
{
function_requires< GeneratorConcept< void_generator_archetype, void > >();
}
#endif
{
typedef unary_function_archetype<int, int> F;
function_requires< UnaryFunctionConcept<F, int, int> >();