1 // (C) Copyright John Maddock 2001.
2 // Use, modification and distribution are subject to the
3 // Boost Software License, Version 1.0. (See accompanying file
4 // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
6 // See http://www.boost.org/libs/config for most recent version.
8 // MACRO: BOOST_NO_PRIVATE_IN_AGGREGATE
9 // TITLE: private in aggregate types
10 // DESCRIPTION: The compiler misreads 8.5.1, treating classes
11 // as non-aggregate if they contain private or
12 // protected member functions.
15 namespace boost_no_private_in_aggregate{
22 void uncallable(); // silences warning from GCC
31 (void) &inst; // avoid "unused variable" warning