~ubuntu-branches/ubuntu/saucy/deal.ii/saucy

« back to all changes in this revision

Viewing changes to contrib/boost/include/boost/parameter/aux_/yesno.hpp

  • Committer: Package Import Robot
  • Author(s): "Adam C. Powell, IV", Adam C. Powell, IV, Christophe Trophime
  • Date: 2012-02-21 06:57:30 UTC
  • mfrom: (3.1.7 sid)
  • Revision ID: package-import@ubuntu.com-20120221065730-r2iz70lg557wcd2e
Tags: 7.1.0-1
[ Adam C. Powell, IV ]
* New upstream (closes: #652057).
* Updated to use PETSc and SLEPc 3.2, and forward-ported all patches.
* Removed NetCDF Build-Depends because it uses serial HDF5.
* Made Sacado cmath patch work with new configure.
* Moved -dev package symlink lines in rules to arch all section.

[ Christophe Trophime ]
* debian/rules:
   - add dh_strip --dbg-package to generate dbg package (closes: #652058)
   - add .install files to simplify rules
* Add support for mumps, arpack (closes: #637655)
* Add patch for slepc 3.2 (closes: #659245)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
// Copyright Daniel Wallin, David Abrahams 2005. Use, modification and
2
 
// distribution is subject to 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)
5
 
 
6
 
#ifndef YESNO_050328_HPP
7
 
#define YESNO_050328_HPP
8
 
 
9
 
#include <boost/mpl/bool.hpp>
10
 
 
11
 
namespace boost { namespace parameter { namespace aux {
12
 
 
13
 
// types used with the "sizeof trick" to capture the results of
14
 
// overload resolution at compile-time.
15
 
typedef char yes_tag;
16
 
typedef char (&no_tag)[2];
17
 
 
18
 
// mpl::true_ and mpl::false_ are not distinguishable by sizeof(),
19
 
// so we pass them through these functions to get a type that is.
20
 
yes_tag to_yesno(mpl::true_);
21
 
no_tag to_yesno(mpl::false_);
22
 
 
23
 
}}} // namespace boost::parameter::aux
24
 
 
25
 
#endif // YESNO_050328_HPP
26