2 * Copyright (c) 2012-2014 Glen Joseph Fernandes
3 * glenfe at live dot com
5 * Distributed under the Boost Software License,
6 * Version 1.0. (See accompanying file LICENSE_1_0.txt
7 * or copy at http://boost.org/LICENSE_1_0.txt)
9 #ifndef BOOST_SMART_PTR_DETAIL_ARRAY_TRAITS_HPP
10 #define BOOST_SMART_PTR_DETAIL_ARRAY_TRAITS_HPP
12 #include <boost/type_traits/remove_cv.hpp>
18 typedef typename boost::remove_cv<T>::type type;
22 struct array_base<T[]> {
23 typedef typename array_base<T>::type type;
26 template<class T, std::size_t N>
27 struct array_base<T[N]> {
28 typedef typename array_base<T>::type type;
38 template<class T, std::size_t N>
39 struct array_total<T[N]> {
41 size = N * array_total<T>::size
49 struct array_inner<T[]> {
53 template<class T, std::size_t N>
54 struct array_inner<T[N]> {