.TH "__gnu_pbds::tree< Key, Mapped, Cmp_Fn, Tag, Node_Update, _Alloc >" 3cxx "Sun Jan 6 2013" "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, Tag, detail::tree_traits< Key, Mapped, Cmp_Fn, Node_Update, Tag, _Alloc >::node_update, __gnu_cxx::typelist::create2< Cmp_Fn, detail::tree_traits< Key, Mapped, Cmp_Fn, Node_Update, Tag, _Alloc > >::type, _Alloc >\fP\&. .SS "Public Types" .in +1c .ti -1c .RI "typedef Cmp_Fn \fBcmp_fn\fP" .br .ti -1c .RI "typedef detail::tree_traits .br < Key, Mapped, Cmp_Fn, .br Node_Update, Tag, _Alloc > .br ::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 .ti -1c .RI "template \fBtree\fP (It first, It last)" .br .ti -1c .RI "template \fBtree\fP (It first, It last, const \fBcmp_fn\fP &c)" .br .ti -1c .RI "\fBtree\fP (const \fBtree\fP &other)" .br .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>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 \fBcontainer_tag\fP\&. .br \fINode_Update\fP Updates nodes, restores invariants when invalidated\&. XXX See design::tree-based-containers::node invariants\&. .br \fI_Alloc\fP Allocator type\&. .RE .PP Base tag choices are: \fBov_tree_tag\fP, \fBrb_tree_tag\fP, \fBsplay_tree_tag\fP\&. .PP Base is \fBbasic_branch\fP\&. .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 (Itfirst, Itlast)\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 (Itfirst, Itlast, 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\&.