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

« back to all changes in this revision

Viewing changes to contrib/boost-1.46.1/include/boost/type_traits/has_trivial_assign.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
//  (C) Copyright Steve Cleary, Beman Dawes, Howard Hinnant & John Maddock 2000.
 
3
//  Use, modification and distribution are subject to the Boost Software License,
 
4
//  Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
 
5
//  http://www.boost.org/LICENSE_1_0.txt).
 
6
//
 
7
//  See http://www.boost.org/libs/type_traits for most recent version including documentation.
 
8
 
 
9
#ifndef BOOST_TT_HAS_TRIVIAL_ASSIGN_HPP_INCLUDED
 
10
#define BOOST_TT_HAS_TRIVIAL_ASSIGN_HPP_INCLUDED
 
11
 
 
12
#include <boost/type_traits/config.hpp>
 
13
#include <boost/type_traits/intrinsics.hpp>
 
14
#include <boost/type_traits/is_pod.hpp>
 
15
#include <boost/type_traits/is_const.hpp>
 
16
#include <boost/type_traits/is_volatile.hpp>
 
17
#include <boost/type_traits/detail/ice_and.hpp>
 
18
#include <boost/type_traits/detail/ice_or.hpp>
 
19
#include <boost/type_traits/detail/ice_not.hpp>
 
20
 
 
21
// should be the last #include
 
22
#include <boost/type_traits/detail/bool_trait_def.hpp>
 
23
 
 
24
namespace boost {
 
25
 
 
26
namespace detail {
 
27
 
 
28
template <typename T>
 
29
struct has_trivial_assign_impl
 
30
{
 
31
   BOOST_STATIC_CONSTANT(bool, value =
 
32
      (::boost::type_traits::ice_and<
 
33
         ::boost::type_traits::ice_or<
 
34
            ::boost::is_pod<T>::value,
 
35
            BOOST_HAS_TRIVIAL_ASSIGN(T)
 
36
         >::value,
 
37
      ::boost::type_traits::ice_not< ::boost::is_const<T>::value >::value,
 
38
      ::boost::type_traits::ice_not< ::boost::is_volatile<T>::value >::value
 
39
      >::value));
 
40
};
 
41
 
 
42
} // namespace detail
 
43
 
 
44
BOOST_TT_AUX_BOOL_TRAIT_DEF1(has_trivial_assign,T,::boost::detail::has_trivial_assign_impl<T>::value)
 
45
 
 
46
} // namespace boost
 
47
 
 
48
#include <boost/type_traits/detail/bool_trait_undef.hpp>
 
49
 
 
50
#endif // BOOST_TT_HAS_TRIVIAL_ASSIGN_HPP_INCLUDED