annotate DEPENDENCIES/generic/include/boost/smart_ptr/detail/sp_if_array.hpp @ 125:34e428693f5d vext

Vext -> Repoint
author Chris Cannam
date Thu, 14 Jun 2018 11:15:39 +0100
parents c530137014c0
children
rev   line source
Chris@16 1 /*
Chris@101 2 * Copyright (c) 2012-2014 Glen Joseph Fernandes
Chris@16 3 * glenfe at live dot com
Chris@16 4 *
Chris@16 5 * Distributed under the Boost Software License,
Chris@16 6 * Version 1.0. (See accompanying file LICENSE_1_0.txt
Chris@16 7 * or copy at http://boost.org/LICENSE_1_0.txt)
Chris@16 8 */
Chris@16 9 #ifndef BOOST_SMART_PTR_DETAIL_SP_IF_ARRAY_HPP
Chris@16 10 #define BOOST_SMART_PTR_DETAIL_SP_IF_ARRAY_HPP
Chris@16 11
Chris@16 12 #include <boost/smart_ptr/shared_ptr.hpp>
Chris@16 13
Chris@16 14 namespace boost {
Chris@16 15 namespace detail {
Chris@101 16 template<class T>
Chris@16 17 struct sp_if_array;
Chris@101 18
Chris@101 19 template<class T>
Chris@16 20 struct sp_if_array<T[]> {
Chris@16 21 typedef boost::shared_ptr<T[]> type;
Chris@16 22 };
Chris@101 23
Chris@101 24 template<class T>
Chris@16 25 struct sp_if_size_array;
Chris@101 26
Chris@101 27 template<class T, std::size_t N>
Chris@16 28 struct sp_if_size_array<T[N]> {
Chris@16 29 typedef boost::shared_ptr<T[N]> type;
Chris@16 30 };
Chris@16 31 }
Chris@16 32 }
Chris@16 33
Chris@16 34 #endif