diff --git a/examples/container_gen.cpp b/examples/container_gen.cpp index f765ca5a..12af06e1 100644 --- a/examples/container_gen.cpp +++ b/examples/container_gen.cpp @@ -24,7 +24,7 @@ //======================================================================= #include -#ifndef BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION +#if !defined(BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION) && !defined(BOOST_NO_STD_ALLOCATOR) template struct list_with_allocatorS { };