/usr/include/boost/ptr_container/detail
NameSizeModeActions
associative_ptr_container.hpp142960644editdlrm
default_deleter.hpp21370644editdlrm
is_convertible.hpp24780644editdlrm
map_iterator.hpp37350644editdlrm
meta_functions.hpp13780644editdlrm
move.hpp11000644editdlrm
ptr_container_disable_deprecated.hpp10960644editdlrm
reversible_ptr_container.hpp306720644editdlrm
scoped_deleter.hpp36140644editdlrm
serialize_ptr_map_adapter.hpp34870644editdlrm
serialize_reversible_cont.hpp32950644editdlrm
serialize_xml_names.hpp8760644editdlrm
static_move_ptr.hpp59490644editdlrm
throw_exception.hpp8540644editdlrm
void_ptr_iterator.hpp77760644editdlrm
Edit: /usr/include/boost/ptr_container/detail/is_convertible.hpp (2478B)
// (C) Copyright Thorsten Ottosen 2005 // (C) Copyright Howard Hinnant 2004 // (C) Copyright Jonathan Turkanis 2004 // Distributed under the Boost Software License, Version 1.0. (See accompanying // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt.) // // Contains type traits machinery for incomplete arrays. MPL compatibility // is included for completeness, but is not necessary for the current // application. // #ifndef BOOST_MOVE_PTR_ARRAYS_HPP_INCLUDED #define BOOST_MOVE_PTR_ARRAYS_HPP_INCLUDED #include // BOOST_STATIC_CONSTANT. #include #include #include #include #include #include #include #include #include #include #include namespace boost { namespace ptr_container_detail { namespace move_ptrs { // From Howard Hinnant. template struct is_array_convertible { typedef typename remove_bounds::type t_element; typedef typename remove_bounds::type u_element; typedef typename remove_cv::type t_base; typedef typename remove_cv::type u_base; typedef typename mpl::and_< is_array, is_array, is_same, is_convertible >::type type; BOOST_STATIC_CONSTANT(bool, value = type::value); BOOST_MPL_AUX_LAMBDA_SUPPORT(2, is_array_convertible, (T, U)) }; template struct is_smart_ptr_convertible : mpl::if_< is_array, is_array_convertible, is_convertible >::type { }; #ifndef BOOST_NO_SFINAE template struct enable_if_convertible : enable_if< is_smart_ptr_convertible, T > { }; #else template struct enable_if_convertible : mpl::identity { }; #endif } } } // End namespaces ptr_container_detail, move_ptrs, boost. #endif // #ifndef BOOST_MOVE_PTR_ARRAYS_HPP_INCLUDED