.TH "__gnu_pbds::tree< Key, Mapped, Cmp_Fn, Tag, Node_Update, _Alloc >" 3cxx "Sat Aug 14 2021" "libstdc++" \" -*- nroff -*- .ad l .nh .SH NAME __gnu_pbds::tree< Key, Mapped, Cmp_Fn, Tag, Node_Update, _Alloc > .SH SYNOPSIS .br .PP .PP Inherits \fB__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 > >\fP\&. .SS "Public Types" .in +1c .ti -1c .RI "typedef Cmp_Fn \fBcmp_fn\fP" .br .RI "Comparison functor type\&. " .ti -1c .RI "typedef \fBdetail::tree_traits\fP< Key, Mapped, \fBstd::less\fP< Key >, \fBnull_node_update\fP, \fBrb_tree_tag\fP, \fBstd::allocator\fP< char > > ::node_update \fBnode_update\fP" .br .in -1c .SS "Public Member Functions" .in +1c .ti -1c .RI "\fBtree\fP (const \fBcmp_fn\fP &c)" .br .RI "Constructor taking some policy objects\&. r_cmp_fn will be copied by the Cmp_Fn object of the container object\&. " .ti -1c .RI "\fBtree\fP (const \fBtree\fP &other)" .br .ti -1c .RI "template \fBtree\fP (It first, It last)" .br .RI "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\&. " .ti -1c .RI "template \fBtree\fP (It first, It last, const \fBcmp_fn\fP &c)" .br .RI "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\&. " .ti -1c .RI "\fBtree\fP & \fBoperator=\fP (const \fBtree\fP &other)" .br .ti -1c .RI "void \fBswap\fP (\fBtree\fP &other)" .br .in -1c .SH "Detailed Description" .PP .SS "template, typename Tag = rb_tree_tag, template< typename Node_CItr, typename Node_Itr, typename Cmp_Fn_, typename _Alloc_ > class Node_Update = null_node_update, typename _Alloc = std::allocator> .br class __gnu_pbds::tree< Key, Mapped, Cmp_Fn, Tag, Node_Update, _Alloc >" A tree-based container\&. .PP \fBTemplate Parameters\fP .RS 4 \fIKey\fP Key type\&. .br \fIMapped\fP Map type\&. .br \fICmp_Fn\fP Comparison functor\&. .br \fITag\fP Instantiating data structure type, see container_tag\&. .br \fINode_Update\fP Updates tree internal-nodes, restores invariants when invalidated\&. XXX See design::tree-based-containersnode invariants\&. .br \fI_Alloc\fP Allocator type\&. .RE .PP Base tag choices are: ov_tree_tag, rb_tree_tag, splay_tree_tag\&. .PP Base is basic_branch\&. .PP Definition at line 635 of file assoc_container\&.hpp\&. .SH "Member Typedef Documentation" .PP .SS "template, typename Tag = rb_tree_tag, template< typename Node_CItr, typename Node_Itr, typename Cmp_Fn_, typename _Alloc_ > class Node_Update = null_node_update, typename _Alloc = std::allocator> typedef Cmp_Fn \fB__gnu_pbds::tree\fP< Key, Mapped, Cmp_Fn, Tag, Node_Update, _Alloc >::\fBcmp_fn\fP" .PP Comparison functor type\&. .PP Definition at line 642 of file assoc_container\&.hpp\&. .SH "Constructor & Destructor Documentation" .PP .SS "template, typename Tag = rb_tree_tag, template< typename Node_CItr, typename Node_Itr, typename Cmp_Fn_, typename _Alloc_ > class Node_Update = null_node_update, typename _Alloc = std::allocator> \fB__gnu_pbds::tree\fP< Key, Mapped, Cmp_Fn, Tag, Node_Update, _Alloc >::\fBtree\fP (const \fBcmp_fn\fP & c)\fC [inline]\fP" .PP Constructor taking some policy objects\&. r_cmp_fn will be copied by the Cmp_Fn object of the container object\&. .PP Definition at line 648 of file assoc_container\&.hpp\&. .SS "template, typename Tag = rb_tree_tag, template< typename Node_CItr, typename Node_Itr, typename Cmp_Fn_, typename _Alloc_ > class Node_Update = null_node_update, typename _Alloc = std::allocator> template \fB__gnu_pbds::tree\fP< Key, Mapped, Cmp_Fn, Tag, Node_Update, _Alloc >::\fBtree\fP (It first, It last)\fC [inline]\fP" .PP 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\&. .PP Definition at line 655 of file assoc_container\&.hpp\&. .SS "template, typename Tag = rb_tree_tag, template< typename Node_CItr, typename Node_Itr, typename Cmp_Fn_, typename _Alloc_ > class Node_Update = null_node_update, typename _Alloc = std::allocator> template \fB__gnu_pbds::tree\fP< Key, Mapped, Cmp_Fn, Tag, Node_Update, _Alloc >::\fBtree\fP (It first, It last, const \fBcmp_fn\fP & c)\fC [inline]\fP" .PP 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\&. .PP Definition at line 663 of file assoc_container\&.hpp\&. .SH "Author" .PP Generated automatically by Doxygen for libstdc++ from the source code\&.