1 // (C) Copyright Jeremy Siek, David Abrahams 2000-2006.
2 // Distributed under the Boost Software License, Version 1.0. (See
3 // accompanying file LICENSE_1_0.txt or copy at
4 // http://www.boost.org/LICENSE_1_0.txt)
7 // 20 Jan 2001 - Added warning suppression (David Abrahams)
9 #include "old_concepts.hpp"
11 // This file verifies that concepts written the old way still catch
12 // errors in class context. This is not expected to work on compilers
13 // without SFINAE support.
17 class class_requires_test
19 BOOST_CLASS_REQUIRE(foo
, old
, EqualityComparableConcept
);
25 class_requires_test x
;
26 (void)x
; // suppress unused variable warning