~ubuntu-branches/ubuntu/wily/bombono-dvd/wily

« back to all changes in this revision

Viewing changes to libs/boost-lib/boost/type_traits/is_array.hpp

  • Committer: Bazaar Package Importer
  • Author(s): Alessio Treglia
  • Date: 2010-11-04 11:46:25 UTC
  • mto: This revision was merged to the branch mainline in revision 8.
  • Revision ID: james.westby@ubuntu.com-20101104114625-8xfdhvhpsm51i0nu
Tags: upstream-0.8.0
ImportĀ upstreamĀ versionĀ 0.8.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
14
14
#ifndef BOOST_TT_IS_ARRAY_HPP_INCLUDED
15
15
#define BOOST_TT_IS_ARRAY_HPP_INCLUDED
16
16
 
17
 
#include "boost/type_traits/config.hpp"
 
17
#include <boost/type_traits/config.hpp>
18
18
 
19
19
#ifdef BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION
20
 
#   include "boost/type_traits/detail/yes_no_type.hpp"
21
 
#   include "boost/type_traits/detail/wrap.hpp"
 
20
#   include <boost/type_traits/detail/yes_no_type.hpp>
 
21
#   include <boost/type_traits/detail/wrap.hpp>
22
22
#endif
23
23
 
24
24
#include <cstddef>
25
25
 
26
26
// should be the last #include
27
 
#include "boost/type_traits/detail/bool_trait_def.hpp"
 
27
#include <boost/type_traits/detail/bool_trait_def.hpp>
28
28
 
29
29
namespace boost {
30
30
 
31
 
#ifndef BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION
32
 
 
 
31
#if defined( __CODEGEARC__ )
 
32
BOOST_TT_AUX_BOOL_TRAIT_DEF1(is_array,T,__is_array(T))
 
33
#elif !defined(BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION)
33
34
BOOST_TT_AUX_BOOL_TRAIT_DEF1(is_array,T,false)
34
35
#if !defined(BOOST_NO_ARRAY_TYPE_SPECIALIZATIONS)
35
36
BOOST_TT_AUX_BOOL_TRAIT_PARTIAL_SPEC1_2(typename T,std::size_t N,is_array,T[N],true)
85
86
 
86
87
} // namespace boost
87
88
 
88
 
#include "boost/type_traits/detail/bool_trait_undef.hpp"
 
89
#include <boost/type_traits/detail/bool_trait_undef.hpp>
89
90
 
90
91
#endif // BOOST_TT_IS_ARRAY_HPP_INCLUDED