Contains associative container dispatching. More...
#include <ext/typelist.h>
#include <ext/pb_ds/detail/list_update_map_/lu_map_.hpp>
#include <ext/pb_ds/detail/bin_search_tree_/bin_search_tree_.hpp>
#include <ext/pb_ds/detail/rb_tree_map_/rb_tree_.hpp>
#include <ext/pb_ds/detail/splay_tree_/splay_tree_.hpp>
#include <ext/pb_ds/detail/ov_tree_map_/ov_tree_map_.hpp>
#include <ext/pb_ds/detail/cc_hash_table_map_/cc_ht_map_.hpp>
#include <ext/pb_ds/detail/gp_hash_table_map_/gp_ht_map_.hpp>
#include <ext/pb_ds/detail/pat_trie_/pat_trie_.hpp>
Namespaces | |
__gnu_pbds | |
GNU extensions for policy-based data structures for public use. | |
__gnu_pbds::detail | |
Macros | |
#define | PB_DS_ASSERT_VALID(X) _GLIBCXX_DEBUG_ONLY(X.assert_valid(__FILE__, __LINE__);) |
#define | PB_DS_CHECK_KEY_DOES_NOT_EXIST(_Key) |
#define | PB_DS_CHECK_KEY_EXISTS(_Key) _GLIBCXX_DEBUG_ONLY(debug_base::check_key_exists(_Key, __FILE__, __LINE__);) |
#define | PB_DS_DATA_FALSE_INDICATOR |
#define | PB_DS_DATA_TRUE_INDICATOR |
#define | PB_DS_DEBUG_VERIFY(_Cond) |
#define | PB_DS_EP2VP(X) & ((X)->m_value) |
#define | PB_DS_EP2VP(X) & ((X)->m_value.first) |
#define | PB_DS_V2F(X) (X).first |
#define | PB_DS_V2F(X) (X) |
#define | PB_DS_V2S(X) (X).second |
#define | PB_DS_V2S(X) Mapped_Data() |
Contains associative container dispatching.
#define PB_DS_ASSERT_VALID | ( | X | ) | _GLIBCXX_DEBUG_ONLY(X.assert_valid(__FILE__, __LINE__);) |
#define PB_DS_CHECK_KEY_DOES_NOT_EXIST | ( | _Key | ) |
Referenced by __gnu_pbds::detail::PB_DS_OV_TREE_NAME< Key, Mapped, Cmp_Fn, Node_And_It_Traits, _Alloc >::find(), __gnu_pbds::detail::PB_DS_CC_HASH_NAME< Key, Mapped, Hash_Fn, Eq_Fn, _Alloc, Store_Hash, Comb_Hash_Fn, Resize_Policy >::find_key_pointer(), __gnu_pbds::detail::PB_DS_GP_HASH_NAME< Key, Mapped, Hash_Fn, Eq_Fn, _Alloc, Store_Hash, Comb_Probe_Fn, Probe_Fn, Resize_Policy >::find_key_pointer(), __gnu_pbds::detail::PB_DS_OV_TREE_NAME< Key, Mapped, Cmp_Fn, Node_And_It_Traits, _Alloc >::insert_new_val(), and __gnu_pbds::detail::PB_DS_OV_TREE_NAME< Key, Mapped, Cmp_Fn, Node_And_It_Traits, _Alloc >::upper_bound().
#define PB_DS_CHECK_KEY_EXISTS | ( | _Key | ) | _GLIBCXX_DEBUG_ONLY(debug_base::check_key_exists(_Key, __FILE__, __LINE__);) |
Referenced by __gnu_pbds::detail::PB_DS_OV_TREE_NAME< Key, Mapped, Cmp_Fn, Node_And_It_Traits, _Alloc >::find(), __gnu_pbds::detail::PB_DS_CC_HASH_NAME< Key, Mapped, Hash_Fn, Eq_Fn, _Alloc, Store_Hash, Comb_Hash_Fn, Resize_Policy >::find_key_pointer(), __gnu_pbds::detail::PB_DS_GP_HASH_NAME< Key, Mapped, Hash_Fn, Eq_Fn, _Alloc, Store_Hash, Comb_Probe_Fn, Probe_Fn, Resize_Policy >::find_key_pointer(), __gnu_pbds::detail::PB_DS_OV_TREE_NAME< Key, Mapped, Cmp_Fn, Node_And_It_Traits, _Alloc >::insert(), __gnu_pbds::detail::PB_DS_OV_TREE_NAME< Key, Mapped, Cmp_Fn, Node_And_It_Traits, _Alloc >::operator[](), and __gnu_pbds::detail::PB_DS_OV_TREE_NAME< Key, Mapped, Cmp_Fn, Node_And_It_Traits, _Alloc >::upper_bound().
#define PB_DS_DATA_FALSE_INDICATOR |
#define PB_DS_DATA_TRUE_INDICATOR |
#define PB_DS_DEBUG_VERIFY | ( | _Cond | ) |
#define PB_DS_EP2VP | ( | X | ) | & ((X)->m_value) |
#define PB_DS_EP2VP | ( | X | ) | & ((X)->m_value.first) |
#define PB_DS_V2F | ( | X | ) | (X).first |
Referenced by __gnu_pbds::detail::PB_DS_OV_TREE_NAME< Key, Mapped, Cmp_Fn, Node_And_It_Traits, _Alloc >::find(), __gnu_pbds::detail::PB_DS_CC_HASH_NAME< Key, Mapped, Hash_Fn, Eq_Fn, _Alloc, Store_Hash, Comb_Hash_Fn, Resize_Policy >::find_key_pointer(), __gnu_pbds::detail::PB_DS_GP_HASH_NAME< Key, Mapped, Hash_Fn, Eq_Fn, _Alloc, Store_Hash, Comb_Probe_Fn, Probe_Fn, Resize_Policy >::find_key_pointer(), __gnu_pbds::detail::PB_DS_OV_TREE_NAME< Key, Mapped, Cmp_Fn, Node_And_It_Traits, _Alloc >::insert(), __gnu_pbds::detail::PB_DS_GP_HASH_NAME< Key, Mapped, Hash_Fn, Eq_Fn, _Alloc, Store_Hash, Comb_Probe_Fn, Probe_Fn, Resize_Policy >::insert_new_imp(), __gnu_pbds::detail::PB_DS_CC_HASH_NAME< Key, Mapped, Hash_Fn, Eq_Fn, _Alloc, Store_Hash, Comb_Hash_Fn, Resize_Policy >::insert_new_imp(), __gnu_pbds::detail::PB_DS_OV_TREE_NAME< Key, Mapped, Cmp_Fn, Node_And_It_Traits, _Alloc >::insert_new_val(), __gnu_pbds::detail::PB_DS_OV_TREE_NAME< Key, Mapped, Cmp_Fn, Node_And_It_Traits, _Alloc >::lower_bound(), __gnu_pbds::detail::PB_DS_OV_TREE_NAME< Key, Mapped, Cmp_Fn, Node_And_It_Traits, _Alloc >::operator[](), and __gnu_pbds::detail::PB_DS_OV_TREE_NAME< Key, Mapped, Cmp_Fn, Node_And_It_Traits, _Alloc >::upper_bound().
#define PB_DS_V2F | ( | X | ) | (X) |
#define PB_DS_V2S | ( | X | ) | (X).second |
#define PB_DS_V2S | ( | X | ) | Mapped_Data() |