Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: downloads/boost_1_34_1/libs/numeric/interval/test/cmp_header.hpp @ 30

Last change on this file since 30 was 29, checked in by landauf, 17 years ago

updated boost from 1_33_1 to 1_34_1

File size: 804 bytes
Line 
1/* Boost test/cmp_header.hpp header file
2 *
3 * Copyright 2003 Guillaume Melquiond
4 *
5 * Distributed under the Boost Software License, Version 1.0.
6 * (See accompanying file LICENSE_1_0.txt or
7 * copy at http://www.boost.org/LICENSE_1_0.txt)
8 */
9
10#include <boost/numeric/interval/interval.hpp>
11#include <boost/numeric/interval/checking.hpp>
12#include <boost/numeric/interval/compare.hpp>
13#include <boost/numeric/interval/policies.hpp>
14#include <boost/test/test_tools.hpp>
15#include "bugs.hpp"
16
17struct empty_class {};
18
19typedef boost::numeric::interval_lib::policies
20          <empty_class, boost::numeric::interval_lib::checking_base<int> >
21  my_policies;
22
23typedef boost::numeric::interval<int, my_policies> I;
24
25#define BOOST_C_EXN(e) \
26  BOOST_CHECK_THROW(e, boost::numeric::interval_lib::comparison_error)
Note: See TracBrowser for help on using the repository browser.