forked from boostorg/concept_check
added #ifdef around void generator when no partial spec to match the
#ifdef in the header [SVN r10154]
This commit is contained in:
@@ -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> >();
|
||||
|
Reference in New Issue
Block a user