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

« back to all changes in this revision

Viewing changes to contrib/boost-1.46.1/include/boost/fusion/support/ext_/is_segmented.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
/*=============================================================================
 
2
    Copyright (c) 2006 Eric Niebler
 
3
 
 
4
    Distributed under the Boost Software License, Version 1.0. (See accompanying 
 
5
    file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
 
6
==============================================================================*/
 
7
#if !defined(FUSION_IS_SEGMENTED_03202006_0015)
 
8
#define FUSION_IS_SEGMENTED_03202006_0015
 
9
 
 
10
#include <boost/fusion/support/tag_of.hpp>
 
11
 
 
12
namespace boost { namespace fusion 
 
13
{
 
14
    // Special tags:
 
15
    struct sequence_facade_tag;
 
16
    struct boost_tuple_tag; // boost::tuples::tuple tag
 
17
    struct boost_array_tag; // boost::array tag
 
18
    struct mpl_sequence_tag; // mpl sequence tag
 
19
    struct std_pair_tag; // std::pair tag
 
20
    struct iterator_range_tag;
 
21
 
 
22
    namespace extension
 
23
    {
 
24
        template<typename Tag>
 
25
        struct is_segmented_impl
 
26
        {
 
27
            template<typename Sequence>
 
28
            struct apply
 
29
              : mpl::false_
 
30
            {};
 
31
        };
 
32
 
 
33
        template<>
 
34
        struct is_segmented_impl<iterator_range_tag>;
 
35
    }
 
36
 
 
37
    namespace traits
 
38
    {
 
39
        template <typename Sequence>
 
40
        struct is_segmented
 
41
          : extension::is_segmented_impl<typename traits::tag_of<Sequence>::type>::
 
42
                template apply<Sequence>
 
43
        {
 
44
        };
 
45
    }
 
46
}}
 
47
 
 
48
#endif