/usr/include/boost/geometry/index/detail/rtree/node
NameSizeModeActions
concept.hpp21580644editdlrm
node.hpp77450644editdlrm
node_elements.hpp26100644editdlrm
pairs.hpp21910644editdlrm
scoped_deallocator.hpp13290644editdlrm
subtree_destroyer.hpp20040644editdlrm
variant_dynamic.hpp92430644editdlrm
variant_static.hpp52700644editdlrm
variant_visitor.hpp23470644editdlrm
weak_dynamic.hpp106240644editdlrm
weak_static.hpp62900644editdlrm
weak_visitor.hpp21550644editdlrm
Edit: /usr/include/boost/geometry/index/detail/rtree/node/pairs.hpp (2191B)
// Boost.Geometry Index // // Pairs intended to be used internally in nodes. // // Copyright (c) 2011-2013 Adam Wulkiewicz, Lodz, Poland. // // Use, modification and distribution is subject to 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) #ifndef BOOST_GEOMETRY_INDEX_DETAIL_RTREE_NODE_PAIRS_HPP #define BOOST_GEOMETRY_INDEX_DETAIL_RTREE_NODE_PAIRS_HPP #include namespace boost { namespace geometry { namespace index { namespace detail { namespace rtree { template class ptr_pair { public: typedef First first_type; typedef Pointer second_type; ptr_pair(First const& f, Pointer s) : first(f), second(s) {} //ptr_pair(ptr_pair const& p) : first(p.first), second(p.second) {} //ptr_pair & operator=(ptr_pair const& p) { first = p.first; second = p.second; return *this; } first_type first; second_type second; }; template inline ptr_pair make_ptr_pair(First const& f, Pointer s) { return ptr_pair(f, s); } // TODO: It this will be used, rename it to unique_ptr_pair and possibly use unique_ptr. template class exclusive_ptr_pair { BOOST_MOVABLE_BUT_NOT_COPYABLE(exclusive_ptr_pair) public: typedef First first_type; typedef Pointer second_type; exclusive_ptr_pair(First const& f, Pointer s) : first(f), second(s) {} // INFO - members aren't really moved! exclusive_ptr_pair(BOOST_RV_REF(exclusive_ptr_pair) p) : first(p.first), second(p.second) { p.second = 0; } exclusive_ptr_pair & operator=(BOOST_RV_REF(exclusive_ptr_pair) p) { first = p.first; second = p.second; p.second = 0; return *this; } first_type first; second_type second; }; template inline exclusive_ptr_pair make_exclusive_ptr_pair(First const& f, Pointer s) { return exclusive_ptr_pair(f, s); } }} // namespace detail::rtree }}} // namespace boost::geometry::index #endif // BOOST_GEOMETRY_INDEX_DETAIL_RTREE_NODE_PAIRS_HPP