1/*
2 * Copyright (c) 2012-2014 Glen Joseph Fernandes
3 * glenfe at live dot com
4 *
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)
8 */
9#ifndef BOOST_SMART_PTR_DETAIL_SP_IF_ARRAY_HPP
10#define BOOST_SMART_PTR_DETAIL_SP_IF_ARRAY_HPP
11
12#include <boost/smart_ptr/shared_ptr.hpp>
13
14namespace boost {
15 namespace detail {
16 template<class T>
17 struct sp_if_array;
18
19 template<class T>
20 struct sp_if_array<T[]> {
21 typedef boost::shared_ptr<T[]> type;
22 };
23
24 template<class T>
25 struct sp_if_size_array;
26
27 template<class T, std::size_t N>
28 struct sp_if_size_array<T[N]> {
29 typedef boost::shared_ptr<T[N]> type;
30 };
31 }
32}
33
34#endif
35

source code of boost/boost/smart_ptr/detail/sp_if_array.hpp