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

« back to all changes in this revision

Viewing changes to contrib/boost/include/boost/python/args_fwd.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 David Abrahams 2002.
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)
5
 
#ifndef ARGS_FWD_DWA2002927_HPP
6
 
# define ARGS_FWD_DWA2002927_HPP
7
 
 
8
 
# include <boost/python/detail/prefix.hpp>
9
 
 
10
 
# include <boost/python/handle.hpp>
11
 
# include <boost/config.hpp>
12
 
# include <cstddef>
13
 
# include <utility>
14
 
 
15
 
namespace boost { namespace python { 
16
 
 
17
 
namespace detail
18
 
{
19
 
  struct keyword
20
 
  {
21
 
      keyword(char const* name_=0)
22
 
       : name(name_)
23
 
      {}
24
 
      
25
 
      char const* name;
26
 
      handle<> default_value;
27
 
  };
28
 
  
29
 
  template <std::size_t nkeywords = 0> struct keywords;
30
 
  
31
 
  typedef std::pair<keyword const*, keyword const*> keyword_range;
32
 
  
33
 
  template <>
34
 
  struct keywords<0>
35
 
  {
36
 
      BOOST_STATIC_CONSTANT(std::size_t, size = 0);
37
 
      static keyword_range range() { return keyword_range(); }
38
 
  };
39
 
 
40
 
  namespace error
41
 
  {
42
 
    template <int keywords, int function_args>
43
 
    struct more_keywords_than_function_arguments
44
 
    {
45
 
        typedef char too_many_keywords[keywords > function_args ? -1 : 1];
46
 
    };
47
 
  }
48
 
}
49
 
 
50
 
}} // namespace boost::python
51
 
 
52
 
#endif // ARGS_FWD_DWA2002927_HPP