New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
interval_prototype.hpp in vendors/XIOS/current/extern/boost/include/boost/numeric/interval/detail – NEMO

source: vendors/XIOS/current/extern/boost/include/boost/numeric/interval/detail/interval_prototype.hpp @ 3408

Last change on this file since 3408 was 3408, checked in by rblod, 12 years ago

importing initial XIOS vendor drop

  • Property svn:keywords set to Id
File size: 1.0 KB
Line 
1/* Boost interval/detail/interval_prototype.hpp file
2 *
3 * Copyright 2002 Hervé Brönnimann, Guillaume Melquiond, Sylvain Pion
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#ifndef BOOST_NUMERIC_INTERVAL_DETAIL_INTERVAL_PROTOTYPE_HPP
11#define BOOST_NUMERIC_INTERVAL_DETAIL_INTERVAL_PROTOTYPE_HPP
12
13namespace boost {
14namespace numeric {
15
16namespace interval_lib {
17
18template<class T> struct rounded_math;
19template<class T> struct checking_strict;
20class comparison_error;
21template<class Rounding, class Checking> struct policies;
22
23/*
24 * default policies class
25 */
26
27template<class T>
28struct default_policies
29{
30  typedef policies<rounded_math<T>, checking_strict<T> > type;
31};
32   
33} // namespace interval_lib
34
35template<class T, class Policies = typename interval_lib::default_policies<T>::type >
36class interval; 
37
38} // namespace numeric
39} // namespace boost
40
41#endif // BOOST_NUMERIC_INTERVAL_DETAIL_INTERVAL_PROTOTYPE_HPP
Note: See TracBrowser for help on using the repository browser.