__gnu_pbds::tree< Key, Mapped, Cmp_Fn, Tag, Node_Update, _Alloc >(3cxx) | __gnu_pbds::tree< Key, Mapped, Cmp_Fn, Tag, Node_Update, _Alloc >(3cxx) |
__gnu_pbds::tree< Key, Mapped, Cmp_Fn, Tag, Node_Update, _Alloc >
#include <assoc_container.hpp>
Inherits __gnu_pbds::basic_branch< Key, Mapped, rb_tree_tag, detail::tree_traits< Key, Mapped, std::less< Key >, null_node_update, rb_tree_tag, std::allocator< char > > ::node_update, __gnu_cxx::typelist::create2< std::less< Key >, detail::tree_traits< Key, Mapped, std::less< Key >, null_node_update, rb_tree_tag, std::allocator< char > > >::type, std::allocator< char > >.
typedef Cmp_Fn cmp_fn
Comparison functor type. typedef detail::tree_traits< Key, Mapped,
std::less< Key >, null_node_update, rb_tree_tag,
std::allocator< char > > ::node_update node_update
tree (const cmp_fn &c)
Constructor taking some policy objects. r_cmp_fn will be copied by the Cmp_Fn
object of the container object. tree (const tree &other)
template<typename It > tree (It first, It last)
Constructor taking __iterators to a range of value_types. The value_types
between first_it and last_it will be inserted into the container object.
template<typename It > tree (It first, It last, const
cmp_fn &c)
Constructor taking __iterators to a range of value_types and some policy
objects The value_types between first_it and last_it will be inserted into
the container object. r_cmp_fn will be copied by the cmp_fn object of the
container object. tree & operator= (const tree
&other)
void swap (tree &other)
class __gnu_pbds::tree< Key, Mapped, Cmp_Fn, Tag, Node_Update, _Alloc >"A tree-based container.
Template Parameters
Base tag choices are: ov_tree_tag, rb_tree_tag, splay_tree_tag.
Base is basic_branch.
Definition at line 635 of file assoc_container.hpp.
Comparison functor type.
Definition at line 642 of file assoc_container.hpp.
Definition at line 561 of file assoc_container.hpp.
Definition at line 644 of file assoc_container.hpp.
Constructor taking some policy objects. r_cmp_fn will be copied by the Cmp_Fn object of the container object.
Definition at line 648 of file assoc_container.hpp.
Constructor taking __iterators to a range of value_types. The value_types between first_it and last_it will be inserted into the container object.
Definition at line 655 of file assoc_container.hpp.
Constructor taking __iterators to a range of value_types and some policy objects The value_types between first_it and last_it will be inserted into the container object. r_cmp_fn will be copied by the cmp_fn object of the container object.
Definition at line 663 of file assoc_container.hpp.
Definition at line 667 of file assoc_container.hpp.
Definition at line 671 of file assoc_container.hpp.
Definition at line 674 of file assoc_container.hpp.
Definition at line 685 of file assoc_container.hpp.
Generated automatically by Doxygen for libstdc++ from the source code.
Thu Feb 16 2023 | libstdc++ |