*: Change namespace pb_ds to __gnu_pbds.
authorBenjamin Kosnik <bkoz@redhat.com>
Wed, 12 Sep 2007 23:06:27 +0000 (23:06 +0000)
committerBenjamin Kosnik <bkoz@gcc.gnu.org>
Wed, 12 Sep 2007 23:06:27 +0000 (23:06 +0000)
2007-09-12  Benjamin Kosnik  <bkoz@redhat.com>

* include/ext/pb_ds/*: Change namespace pb_ds to __gnu_pbds.
* docs/html/ext/pb_ds/*: Same.
* testsuite/ext/pb_ds/*: Same.
* testsuite/performance/ext/pb_ds/*: Same.
* testsuite/util/*: Same.

From-SVN: r128448

245 files changed:
libstdc++-v3/ChangeLog
libstdc++-v3/docs/html/ext/pb_ds/ds_gen.html
libstdc++-v3/docs/html/ext/pb_ds/pq_design.html
libstdc++-v3/docs/html/ext/pb_ds/string_trie_e_access_traits.html
libstdc++-v3/docs/html/ext/pb_ds/trie_prefix_search_node_update.html
libstdc++-v3/include/ext/pb_ds/assoc_container.hpp
libstdc++-v3/include/ext/pb_ds/detail/basic_tree_policy/basic_tree_policy_base.hpp
libstdc++-v3/include/ext/pb_ds/detail/basic_tree_policy/null_node_metadata.hpp
libstdc++-v3/include/ext/pb_ds/detail/basic_tree_policy/traits.hpp
libstdc++-v3/include/ext/pb_ds/detail/basic_types.hpp
libstdc++-v3/include/ext/pb_ds/detail/bin_search_tree_/bin_search_tree_.hpp
libstdc++-v3/include/ext/pb_ds/detail/bin_search_tree_/node_iterators.hpp
libstdc++-v3/include/ext/pb_ds/detail/bin_search_tree_/point_iterators.hpp
libstdc++-v3/include/ext/pb_ds/detail/bin_search_tree_/traits.hpp
libstdc++-v3/include/ext/pb_ds/detail/binary_heap_/binary_heap_.hpp
libstdc++-v3/include/ext/pb_ds/detail/binary_heap_/const_iterator.hpp
libstdc++-v3/include/ext/pb_ds/detail/binary_heap_/const_point_iterator.hpp
libstdc++-v3/include/ext/pb_ds/detail/binary_heap_/entry_cmp.hpp
libstdc++-v3/include/ext/pb_ds/detail/binary_heap_/entry_pred.hpp
libstdc++-v3/include/ext/pb_ds/detail/binary_heap_/resize_policy.hpp
libstdc++-v3/include/ext/pb_ds/detail/binomial_heap_/binomial_heap_.hpp
libstdc++-v3/include/ext/pb_ds/detail/binomial_heap_base_/binomial_heap_base_.hpp
libstdc++-v3/include/ext/pb_ds/detail/cc_hash_table_map_/cc_ht_map_.hpp
libstdc++-v3/include/ext/pb_ds/detail/cc_hash_table_map_/cond_key_dtor_entry_dealtor.hpp
libstdc++-v3/include/ext/pb_ds/detail/cond_dealtor.hpp
libstdc++-v3/include/ext/pb_ds/detail/container_base_dispatch.hpp
libstdc++-v3/include/ext/pb_ds/detail/debug_map_base.hpp
libstdc++-v3/include/ext/pb_ds/detail/eq_fn/eq_by_less.hpp
libstdc++-v3/include/ext/pb_ds/detail/eq_fn/hash_eq_fn.hpp
libstdc++-v3/include/ext/pb_ds/detail/gp_hash_table_map_/gp_ht_map_.hpp
libstdc++-v3/include/ext/pb_ds/detail/gp_hash_table_map_/standard_policies.hpp
libstdc++-v3/include/ext/pb_ds/detail/hash_fn/mask_based_range_hashing.hpp
libstdc++-v3/include/ext/pb_ds/detail/hash_fn/mod_based_range_hashing.hpp
libstdc++-v3/include/ext/pb_ds/detail/hash_fn/probe_fn_base.hpp
libstdc++-v3/include/ext/pb_ds/detail/hash_fn/ranged_hash_fn.hpp
libstdc++-v3/include/ext/pb_ds/detail/hash_fn/ranged_probe_fn.hpp
libstdc++-v3/include/ext/pb_ds/detail/left_child_next_sibling_heap_/const_iterator.hpp
libstdc++-v3/include/ext/pb_ds/detail/left_child_next_sibling_heap_/const_point_iterator.hpp
libstdc++-v3/include/ext/pb_ds/detail/left_child_next_sibling_heap_/left_child_next_sibling_heap_.hpp
libstdc++-v3/include/ext/pb_ds/detail/left_child_next_sibling_heap_/node.hpp
libstdc++-v3/include/ext/pb_ds/detail/left_child_next_sibling_heap_/null_metadata.hpp
libstdc++-v3/include/ext/pb_ds/detail/list_update_map_/entry_metadata_base.hpp
libstdc++-v3/include/ext/pb_ds/detail/list_update_map_/lu_map_.hpp
libstdc++-v3/include/ext/pb_ds/detail/list_update_policy/counter_lu_metadata.hpp
libstdc++-v3/include/ext/pb_ds/detail/ov_tree_map_/node_iterators.hpp
libstdc++-v3/include/ext/pb_ds/detail/ov_tree_map_/ov_tree_map_.hpp
libstdc++-v3/include/ext/pb_ds/detail/ov_tree_map_/traits.hpp
libstdc++-v3/include/ext/pb_ds/detail/pairing_heap_/pairing_heap_.hpp
libstdc++-v3/include/ext/pb_ds/detail/pat_trie_/head.hpp
libstdc++-v3/include/ext/pb_ds/detail/pat_trie_/internal_node.hpp
libstdc++-v3/include/ext/pb_ds/detail/pat_trie_/leaf.hpp
libstdc++-v3/include/ext/pb_ds/detail/pat_trie_/node_base.hpp
libstdc++-v3/include/ext/pb_ds/detail/pat_trie_/node_iterators.hpp
libstdc++-v3/include/ext/pb_ds/detail/pat_trie_/node_metadata_base.hpp
libstdc++-v3/include/ext/pb_ds/detail/pat_trie_/pat_trie_.hpp
libstdc++-v3/include/ext/pb_ds/detail/pat_trie_/point_iterators.hpp
libstdc++-v3/include/ext/pb_ds/detail/pat_trie_/rotate_fn_imps.hpp
libstdc++-v3/include/ext/pb_ds/detail/pat_trie_/synth_e_access_traits.hpp
libstdc++-v3/include/ext/pb_ds/detail/pat_trie_/traits.hpp
libstdc++-v3/include/ext/pb_ds/detail/priority_queue_base_dispatch.hpp
libstdc++-v3/include/ext/pb_ds/detail/rb_tree_map_/node.hpp
libstdc++-v3/include/ext/pb_ds/detail/rb_tree_map_/rb_tree_.hpp
libstdc++-v3/include/ext/pb_ds/detail/rb_tree_map_/traits.hpp
libstdc++-v3/include/ext/pb_ds/detail/rc_binomial_heap_/rc.hpp
libstdc++-v3/include/ext/pb_ds/detail/rc_binomial_heap_/rc_binomial_heap_.hpp
libstdc++-v3/include/ext/pb_ds/detail/resize_policy/hash_load_check_resize_trigger_size_base.hpp
libstdc++-v3/include/ext/pb_ds/detail/resize_policy/sample_resize_trigger.hpp
libstdc++-v3/include/ext/pb_ds/detail/splay_tree_/node.hpp
libstdc++-v3/include/ext/pb_ds/detail/splay_tree_/splay_tree_.hpp
libstdc++-v3/include/ext/pb_ds/detail/splay_tree_/traits.hpp
libstdc++-v3/include/ext/pb_ds/detail/standard_policies.hpp
libstdc++-v3/include/ext/pb_ds/detail/thin_heap_/thin_heap_.hpp
libstdc++-v3/include/ext/pb_ds/detail/tree_policy/node_metadata_selector.hpp
libstdc++-v3/include/ext/pb_ds/detail/tree_trace_base.hpp
libstdc++-v3/include/ext/pb_ds/detail/trie_policy/node_metadata_selector.hpp
libstdc++-v3/include/ext/pb_ds/detail/trie_policy/trie_policy_base.hpp
libstdc++-v3/include/ext/pb_ds/detail/type_utils.hpp
libstdc++-v3/include/ext/pb_ds/detail/types_traits.hpp
libstdc++-v3/include/ext/pb_ds/exception.hpp
libstdc++-v3/include/ext/pb_ds/hash_policy.hpp
libstdc++-v3/include/ext/pb_ds/list_update_policy.hpp
libstdc++-v3/include/ext/pb_ds/priority_queue.hpp
libstdc++-v3/include/ext/pb_ds/tag_and_trait.hpp
libstdc++-v3/include/ext/pb_ds/tree_policy.hpp
libstdc++-v3/include/ext/pb_ds/trie_policy.hpp
libstdc++-v3/testsuite/ext/pb_ds/example/assoc_container_traits.cc
libstdc++-v3/testsuite/ext/pb_ds/example/basic_map.cc
libstdc++-v3/testsuite/ext/pb_ds/example/basic_multimap.cc
libstdc++-v3/testsuite/ext/pb_ds/example/basic_multiset.cc
libstdc++-v3/testsuite/ext/pb_ds/example/basic_priority_queue.cc
libstdc++-v3/testsuite/ext/pb_ds/example/basic_set.cc
libstdc++-v3/testsuite/ext/pb_ds/example/erase_if.cc
libstdc++-v3/testsuite/ext/pb_ds/example/hash_find_neg.cc
libstdc++-v3/testsuite/ext/pb_ds/example/hash_illegal_resize.cc
libstdc++-v3/testsuite/ext/pb_ds/example/hash_initial_size.cc
libstdc++-v3/testsuite/ext/pb_ds/example/hash_load_set_change.cc
libstdc++-v3/testsuite/ext/pb_ds/example/hash_mod.cc
libstdc++-v3/testsuite/ext/pb_ds/example/hash_resize.cc
libstdc++-v3/testsuite/ext/pb_ds/example/hash_resize_neg.cc
libstdc++-v3/testsuite/ext/pb_ds/example/hash_shift_mask.cc
libstdc++-v3/testsuite/ext/pb_ds/example/priority_queue_container_traits.cc
libstdc++-v3/testsuite/ext/pb_ds/example/priority_queue_dijkstra.cc
libstdc++-v3/testsuite/ext/pb_ds/example/priority_queue_erase_if.cc
libstdc++-v3/testsuite/ext/pb_ds/example/priority_queue_split_join.cc
libstdc++-v3/testsuite/ext/pb_ds/example/priority_queue_xref.cc
libstdc++-v3/testsuite/ext/pb_ds/example/ranged_hash.cc
libstdc++-v3/testsuite/ext/pb_ds/example/store_hash.cc
libstdc++-v3/testsuite/ext/pb_ds/example/tree_intervals.cc
libstdc++-v3/testsuite/ext/pb_ds/example/tree_join.cc
libstdc++-v3/testsuite/ext/pb_ds/example/tree_order_statistics.cc
libstdc++-v3/testsuite/ext/pb_ds/example/tree_order_statistics_join.cc
libstdc++-v3/testsuite/ext/pb_ds/example/trie_dna.cc
libstdc++-v3/testsuite/ext/pb_ds/example/trie_prefix_search.cc
libstdc++-v3/testsuite/ext/pb_ds/example/trie_split.cc
libstdc++-v3/testsuite/ext/pb_ds/regression/associative_containers.cc
libstdc++-v3/testsuite/ext/pb_ds/regression/hash_data_map_rand.cc
libstdc++-v3/testsuite/ext/pb_ds/regression/hash_no_data_map_rand.cc
libstdc++-v3/testsuite/ext/pb_ds/regression/list_update_data_map_rand.cc
libstdc++-v3/testsuite/ext/pb_ds/regression/list_update_no_data_map_rand.cc
libstdc++-v3/testsuite/ext/pb_ds/regression/priority_queue_rand.cc
libstdc++-v3/testsuite/ext/pb_ds/regression/priority_queues.cc
libstdc++-v3/testsuite/ext/pb_ds/regression/tree_data_map_rand.cc
libstdc++-v3/testsuite/ext/pb_ds/regression/tree_no_data_map_rand.cc
libstdc++-v3/testsuite/ext/pb_ds/regression/trie_data_map_rand.cc
libstdc++-v3/testsuite/ext/pb_ds/regression/trie_no_data_map_rand.cc
libstdc++-v3/testsuite/performance/ext/pb_ds/hash_random_int_erase_mem_usage.cc
libstdc++-v3/testsuite/performance/ext/pb_ds/hash_zlob_random_int_find_timing.cc
libstdc++-v3/testsuite/performance/ext/pb_ds/multimap_text_find_timing.hpp
libstdc++-v3/testsuite/performance/ext/pb_ds/multimap_text_insert_mem_usage.hpp
libstdc++-v3/testsuite/performance/ext/pb_ds/multimap_text_insert_timing.hpp
libstdc++-v3/testsuite/performance/ext/pb_ds/priority_queue_random_int_push_pop_timing.cc
libstdc++-v3/testsuite/performance/ext/pb_ds/priority_queue_random_int_push_timing.cc
libstdc++-v3/testsuite/performance/ext/pb_ds/priority_queue_text_join_timing.cc
libstdc++-v3/testsuite/performance/ext/pb_ds/priority_queue_text_modify_timing.hpp
libstdc++-v3/testsuite/performance/ext/pb_ds/priority_queue_text_pop_mem_usage.cc
libstdc++-v3/testsuite/performance/ext/pb_ds/priority_queue_text_push_pop_timing.cc
libstdc++-v3/testsuite/performance/ext/pb_ds/priority_queue_text_push_timing.cc
libstdc++-v3/testsuite/performance/ext/pb_ds/random_int_find_timing.cc
libstdc++-v3/testsuite/performance/ext/pb_ds/random_int_subscript_find_timing.cc
libstdc++-v3/testsuite/performance/ext/pb_ds/random_int_subscript_insert_timing.cc
libstdc++-v3/testsuite/performance/ext/pb_ds/text_find_timing.cc
libstdc++-v3/testsuite/performance/ext/pb_ds/tree_order_statistics_timing.cc
libstdc++-v3/testsuite/performance/ext/pb_ds/tree_split_join_timing.cc
libstdc++-v3/testsuite/performance/ext/pb_ds/tree_text_insert_timing.cc
libstdc++-v3/testsuite/performance/ext/pb_ds/tree_text_lor_find_timing.cc
libstdc++-v3/testsuite/util/common_type/assoc/common_type.hpp
libstdc++-v3/testsuite/util/common_type/assoc/detail/comb_hash_fn_string_form.hpp
libstdc++-v3/testsuite/util/common_type/assoc/detail/ds_string_form.hpp
libstdc++-v3/testsuite/util/common_type/assoc/detail/list_update_policy_string_form.hpp
libstdc++-v3/testsuite/util/common_type/assoc/detail/probe_fn_string_form.hpp
libstdc++-v3/testsuite/util/common_type/assoc/detail/resize_policy_string_form.hpp
libstdc++-v3/testsuite/util/common_type/assoc/detail/size_policy_string_form.hpp
libstdc++-v3/testsuite/util/common_type/assoc/detail/store_hash_string_form.hpp
libstdc++-v3/testsuite/util/common_type/assoc/detail/tree_supports_order_statistics.hpp
libstdc++-v3/testsuite/util/common_type/assoc/detail/trie_supports_order_statistics.hpp
libstdc++-v3/testsuite/util/common_type/assoc/detail/trie_supports_prefix_search.hpp
libstdc++-v3/testsuite/util/common_type/assoc/detail/trigger_policy_string_form.hpp
libstdc++-v3/testsuite/util/common_type/assoc/native_set.hpp
libstdc++-v3/testsuite/util/common_type/assoc/string_form.hpp
libstdc++-v3/testsuite/util/common_type/assoc/template_policy.hpp
libstdc++-v3/testsuite/util/common_type/priority_queue/common_type.hpp
libstdc++-v3/testsuite/util/common_type/priority_queue/detail/ds_string_form.hpp
libstdc++-v3/testsuite/util/common_type/priority_queue/string_form.hpp
libstdc++-v3/testsuite/util/hash_fn/dna_str_limit.hpp
libstdc++-v3/testsuite/util/hash_fn/limit_string_hash_fn.hpp
libstdc++-v3/testsuite/util/hash_fn/string_hash_fn.hpp
libstdc++-v3/testsuite/util/hash_fn/string_ranged_hash_fn.hpp
libstdc++-v3/testsuite/util/hash_fn/string_ranged_probe_fn.hpp
libstdc++-v3/testsuite/util/io/illegal_input_error.hpp
libstdc++-v3/testsuite/util/io/prog_bar.cc
libstdc++-v3/testsuite/util/io/prog_bar.hpp
libstdc++-v3/testsuite/util/io/text_populate.hpp
libstdc++-v3/testsuite/util/io/verified_cmd_line_input.cc
libstdc++-v3/testsuite/util/io/verified_cmd_line_input.hpp
libstdc++-v3/testsuite/util/io/xml.hpp
libstdc++-v3/testsuite/util/io/xml_test_formatter.hpp
libstdc++-v3/testsuite/util/native_type/assoc/native_hash_map.hpp
libstdc++-v3/testsuite/util/native_type/assoc/native_hash_multimap.hpp
libstdc++-v3/testsuite/util/native_type/assoc/native_hash_set.hpp
libstdc++-v3/testsuite/util/native_type/assoc/native_hash_tag.hpp
libstdc++-v3/testsuite/util/native_type/assoc/native_map.hpp
libstdc++-v3/testsuite/util/native_type/assoc/native_multimap.hpp
libstdc++-v3/testsuite/util/native_type/assoc/native_set.hpp
libstdc++-v3/testsuite/util/native_type/assoc/native_tree_tag.hpp
libstdc++-v3/testsuite/util/native_type/priority_queue/native_priority_queue.hpp
libstdc++-v3/testsuite/util/performance/assoc/mem_usage/erase_test.hpp
libstdc++-v3/testsuite/util/performance/assoc/mem_usage/multimap_insert_test.hpp
libstdc++-v3/testsuite/util/performance/assoc/multimap_common_type.hpp
libstdc++-v3/testsuite/util/performance/assoc/timing/common_type.hpp
libstdc++-v3/testsuite/util/performance/assoc/timing/find_test.hpp
libstdc++-v3/testsuite/util/performance/assoc/timing/insert_test.hpp
libstdc++-v3/testsuite/util/performance/assoc/timing/multimap_find_test.hpp
libstdc++-v3/testsuite/util/performance/assoc/timing/multimap_insert_test.hpp
libstdc++-v3/testsuite/util/performance/assoc/timing/subscript_find_test.hpp
libstdc++-v3/testsuite/util/performance/assoc/timing/subscript_insert_test.hpp
libstdc++-v3/testsuite/util/performance/assoc/timing/tree_order_statistics_test.hpp
libstdc++-v3/testsuite/util/performance/assoc/timing/tree_split_join_test.hpp
libstdc++-v3/testsuite/util/performance/io/xml_formatter.hpp
libstdc++-v3/testsuite/util/performance/priority_queue/mem_usage/pop_test.hpp
libstdc++-v3/testsuite/util/performance/priority_queue/timing/join_test.hpp
libstdc++-v3/testsuite/util/performance/priority_queue/timing/modify_test.hpp
libstdc++-v3/testsuite/util/performance/priority_queue/timing/push_pop_test.hpp
libstdc++-v3/testsuite/util/performance/priority_queue/timing/push_test.hpp
libstdc++-v3/testsuite/util/performance/time/elapsed_timer.cc
libstdc++-v3/testsuite/util/performance/time/elapsed_timer.hpp
libstdc++-v3/testsuite/util/performance/time/timing_test_base.hpp
libstdc++-v3/testsuite/util/regression/assoc/common_type.hpp
libstdc++-v3/testsuite/util/regression/basic_type.hpp
libstdc++-v3/testsuite/util/regression/priority_queue/common_type.hpp
libstdc++-v3/testsuite/util/regression/rand/assoc/container_rand_regression_test.hpp
libstdc++-v3/testsuite/util/regression/rand/assoc/detail/cmp_fn_imps.hpp
libstdc++-v3/testsuite/util/regression/rand/assoc/detail/constructor_destructor_fn_imps.hpp
libstdc++-v3/testsuite/util/regression/rand/assoc/detail/defs_fn_imps.hpp
libstdc++-v3/testsuite/util/regression/rand/assoc/detail/erase_fn_imps.hpp
libstdc++-v3/testsuite/util/regression/rand/assoc/detail/get_set_load_fn_imps.hpp
libstdc++-v3/testsuite/util/regression/rand/assoc/detail/get_set_loads_fn_imps.hpp
libstdc++-v3/testsuite/util/regression/rand/assoc/detail/insert_fn_imps.hpp
libstdc++-v3/testsuite/util/regression/rand/assoc/detail/it_conversion_fn_imps.hpp
libstdc++-v3/testsuite/util/regression/rand/assoc/detail/policy_access_fn_imps.hpp
libstdc++-v3/testsuite/util/regression/rand/assoc/detail/resize_fn_imps.hpp
libstdc++-v3/testsuite/util/regression/rand/assoc/detail/split_join_fn_imps.hpp
libstdc++-v3/testsuite/util/regression/rand/assoc/detail/subscript_fn_imps.hpp
libstdc++-v3/testsuite/util/regression/rand/assoc/rand_regression_test.hpp
libstdc++-v3/testsuite/util/regression/rand/io/assoc/xml_formatter.hpp
libstdc++-v3/testsuite/util/regression/rand/io/priority_queue/xml_formatter.hpp
libstdc++-v3/testsuite/util/regression/rand/io/xml_formatter.hpp
libstdc++-v3/testsuite/util/regression/rand/priority_queue/container_rand_regression_test.hpp
libstdc++-v3/testsuite/util/regression/rand/priority_queue/detail/split_join_fn_imps.hpp
libstdc++-v3/testsuite/util/regression/rand/priority_queue/rand_regression_test.hpp
libstdc++-v3/testsuite/util/regression/trait/assoc/get_set_load_trait.hpp
libstdc++-v3/testsuite/util/regression/trait/assoc/get_set_loads_trait.hpp
libstdc++-v3/testsuite/util/regression/trait/assoc/native_type_trait.hpp
libstdc++-v3/testsuite/util/regression/trait/assoc/node_update_trait.hpp
libstdc++-v3/testsuite/util/regression/trait/assoc/resize_trait.hpp
libstdc++-v3/testsuite/util/regression/trait/assoc/to_string.hpp
libstdc++-v3/testsuite/util/regression/trait/assoc/trait.hpp
libstdc++-v3/testsuite/util/regression/trait/assoc/type_trait.hpp
libstdc++-v3/testsuite/util/regression/trait/erase_if_fn.hpp
libstdc++-v3/testsuite/util/regression/trait/priority_queue/trait.hpp
libstdc++-v3/testsuite/util/rng/twister_rand_gen.cc
libstdc++-v3/testsuite/util/rng/twister_rand_gen.hpp
libstdc++-v3/testsuite/util/statistic/result_recorder.hpp
libstdc++-v3/testsuite/util/statistic/sample_mean.hpp
libstdc++-v3/testsuite/util/statistic/sample_mean_confidence_checker.hpp
libstdc++-v3/testsuite/util/statistic/sample_variance.hpp

index 37a7f5d1951c81dc99d7734855c50cda29e0eaa7..364648561c7fa1078a56c06b62dd05041c22db57 100644 (file)
@@ -1,3 +1,11 @@
+2007-09-12  Benjamin Kosnik  <bkoz@redhat.com>
+
+       * include/ext/pb_ds/*: Change namespace pb_ds to __gnu_pbds.
+       * docs/html/ext/pb_ds/*: Same.
+       * testsuite/ext/pb_ds/*: Same.
+       * testsuite/performance/ext/pb_ds/*: Same.
+       * testsuite/util/*: Same.
+       
 2007-09-12  Benjamin Kosnik  <bkoz@redhat.com>
 
        * include/parallel/find.h: Doxygen fixups.
index 5c3eea6a4236a1698b924c9e6eeb83bb8b640f4b..ec99c4d5f7ef1c8b948651c65c58feef4513e76c 100644 (file)
@@ -167,7 +167,7 @@ of <tt>some_op_sequence</tt>:
     <p>Additionally, a traits mechanism can be used to query a
     container type for its attributes. Given any container
     <tt>Cntnr</tt>, then <tt><a href=
-    "assoc_container_traits.html">pb_ds::container_traits</a>&lt;Cntnr&gt;</tt>
+    "assoc_container_traits.html">__gnu_pbds::container_traits</a>&lt;Cntnr&gt;</tt>
     is a traits class identifying the properties of the
     container.</p>
 
index f33d963a9adeaedcf7e1cf6a9a6c164f6a105150..95956004527771b4f53f415bcefa50867b742a73 100644 (file)
     <p>As mentioned in <a href=
     "tutorial.html#pq">Tutorial::Priority Queues</a>, 
     <a href=
-    "priority_queue.html"><tt>pb_ds::priority_queue</tt></a>
+    "priority_queue.html"><tt>__gnu_pbds::priority_queue</tt></a>
     shares most of the same interface with <tt>std::priority_queue</tt>.
     <i>E.g.</i> if <tt>q</tt> is a priority queue of type
     <tt>Q</tt>, then <tt>q.top()</tt> will return the "largest"
     value in the container (according to <tt><b>typename</b>
     Q::cmp_fn</tt>). <a href=
-    "priority_queue.html"><tt>pb_ds::priority_queue</tt></a>
+    "priority_queue.html"><tt>__gnu_pbds::priority_queue</tt></a>
     has a larger (and very slightly different) interface than
     <tt>std::priority_queue</tt>, however, since typically
     <tt>push</tt> and <tt>pop</tt> are deemed insufficient for
@@ -309,7 +309,7 @@ assert(p.top() == 3);
 
     <p>Tags and traits are very useful for manipulating generic
     types. <a href=
-    "priority_queue.html"><tt>pb_ds::priority_queue</tt></a>
+    "priority_queue.html"><tt>__gnu_pbds::priority_queue</tt></a>
     publicly defines <tt>container_category</tt> as one of the tags
     discussed in <a href="#pq_imp">Implementations</a>. Given any
     container <tt>Cntnr</tt>, the tag of the underlying
@@ -327,7 +327,7 @@ assert(p.top() == 3);
     <p>Additionally, a traits mechanism can be used to query a
     container type for its attributes. Given any container
     <tt>Cntnr</tt>, then <tt><a href=
-    "assoc_container_traits.html">pb_ds::container_traits</a>&lt;Cntnr&gt;</tt>
+    "assoc_container_traits.html">__gnu_pbds::container_traits</a>&lt;Cntnr&gt;</tt>
     is a traits class identifying the properties of the
     container.</p>
 
index 58a8be622698e84e1fc21ad81b68117565cdb72e..10fa2af1c9d5864d893663716f8b130075504ca2 100644 (file)
@@ -241,7 +241,7 @@ std::allocator&lt;<b>char</b>&gt;
 
         <td>
           <pre>
-<b>typename</b> pb_ds::detail::__conditional_type&lt;
+<b>typename</b> __gnu_pbds::detail::__conditional_type&lt;
     <a href="#Reverse1686776"><tt>Reverse</tt></a>,
     <b>typename</b> <a href=
 "#String349403"><tt>String</tt></a>::const_reverse_iterator,
index e3d5e2730427614a9dde1ce086026d6712101bdb..da6efa2f18f8d65022594d73e0b6ad34592f61bd 100644 (file)
@@ -269,7 +269,7 @@ The instantiating container's const key reference type.
 
         <td>
           <pre>
-pb_ds::detail::null_node_metadata
+__gnu_pbds::detail::null_node_metadata
 </pre>
         </td>
 
index 271cc7600f14ec4e1fed38d8f7db5d21f0f7fa63..e2ac37c11cc21201540eab6c710de9ea7cc6aa3b 100644 (file)
@@ -53,7 +53,7 @@
 #include <ext/pb_ds/detail/container_base_dispatch.hpp>
 #include <ext/pb_ds/detail/basic_tree_policy/traits.hpp>
 
-namespace pb_ds
+namespace __gnu_pbds
 {
 #define PB_DS_BASE_C_DEC \
   detail::container_base_dispatch<Key, Mapped, Tag, Policy_Tl, Allocator>::type
@@ -495,7 +495,7 @@ namespace pb_ds
   template<typename Key, typename Mapped, typename Cmp_Fn = std::less<Key>,
           typename Tag = rb_tree_tag,
           template<typename Const_Node_Iterator, typename Node_Iterator, typename Cmp_Fn_, typename Allocator_>
-  class Node_Update = pb_ds::null_tree_node_update,
+  class Node_Update = __gnu_pbds::null_tree_node_update,
           typename Allocator = std::allocator<char> >
   class tree : public PB_DS_BASE_C_DEC
   {
@@ -684,6 +684,6 @@ namespace pb_ds
 
 #undef PB_DS_BASE_C_DEC
 
-} // namespace pb_ds
+} // namespace __gnu_pbds
 
 #endif 
index d396d7d5da504de5b4bc237df600fe6e5cbc8cde..7c136057cbae857a649db4c0ec8fe09c3dee6bd3 100644 (file)
@@ -47,7 +47,7 @@
 #ifndef PB_DS_TREE_LIKE_POLICY_BASE_HPP
 #define PB_DS_TREE_LIKE_POLICY_BASE_HPP
 
-namespace pb_ds
+namespace __gnu_pbds
 {
   namespace detail
   {
@@ -174,6 +174,6 @@ namespace pb_ds
 #undef PB_DS_CLASS_C_DEC
 
   } // namespace detail
-} // namespace pb_ds
+} // namespace __gnu_pbds
 
 #endif // #ifndef PB_DS_TREE_LIKE_POLICY_BASE_HPP
index 23991987097a7f4bb05fefd8d0dc165fa33fe08d..88d1ba699f83c750920e9e189b9baf11e164faf9 100644 (file)
@@ -49,7 +49,7 @@
 
 #include <ext/pb_ds/detail/types_traits.hpp>
 
-namespace pb_ds
+namespace __gnu_pbds
 {
   namespace detail
   {
@@ -68,6 +68,6 @@ namespace pb_ds
     struct null_node_metadata
     { };
   } // namespace detail
-} // namespace pb_ds
+} // namespace __gnu_pbds
 
 #endif 
index c574bc09aa4278f97406e5fae65edbd9e3fd1313..3a0b57d84040b32a0e0551f1df1210cbe77ef409 100644 (file)
@@ -52,7 +52,7 @@
 #include <ext/pb_ds/detail/tree_policy/node_metadata_selector.hpp>
 #include <ext/pb_ds/detail/trie_policy/node_metadata_selector.hpp>
 
-namespace pb_ds
+namespace __gnu_pbds
 {
   namespace detail
   {    
@@ -81,7 +81,7 @@ namespace pb_ds
     struct trie_traits;
 
   } // namespace detail
-} // namespace pb_ds
+} // namespace __gnu_pbds
 
 #include <ext/pb_ds/detail/rb_tree_map_/traits.hpp>
 #include <ext/pb_ds/detail/splay_tree_/traits.hpp>
index 69288ce5ec50c608e953908425f88722c7d51463..01d43e50f8b9b1608bc724cf5af01c4344a4eb58 100644 (file)
@@ -52,7 +52,7 @@
 #include <ext/pb_ds/tag_and_trait.hpp>
 #include <ext/pb_ds/detail/type_utils.hpp>
 
-namespace pb_ds
+namespace __gnu_pbds
 {
   namespace detail
   {
@@ -211,7 +211,7 @@ namespace pb_ds
       typedef integral_constant<int, is_simple<Key>::value> indicator;
     };
   } // namespace detail
-} // namespace pb_ds
+} // namespace __gnu_pbds
 
 #endif 
 
index 2bf69ba0068c446b351d75b73507d61c39246e93..6e46cedbbe92557f6912dd43efa81c81e23d362f 100644 (file)
@@ -60,7 +60,7 @@
 #include <functional>
 #include <debug/debug.h>
 
-namespace pb_ds
+namespace __gnu_pbds
 {
   namespace detail
   {
@@ -500,4 +500,4 @@ namespace pb_ds
 #undef PB_DS_V2S
 
   } // namespace detail
-} // namespace pb_ds
+} // namespace __gnu_pbds
index ce1cd22b0116397f66ab0d0269531a67871bc91a..1df092378d1bdd4f5b37a2cc8dc755bca45542da 100644 (file)
@@ -49,7 +49,7 @@
 
 #include <ext/pb_ds/tag_and_trait.hpp>
 
-namespace pb_ds
+namespace __gnu_pbds
 {
   namespace detail
   {
@@ -237,7 +237,7 @@ namespace pb_ds
 #undef PB_DS_TREE_NODE_ITERATOR_CLASS_C_DEC
 
   } // namespace detail
-} // namespace pb_ds
+} // namespace __gnu_pbds
 
 #endif // #ifndef PB_DS_BIN_SEARCH_TREE_NODE_ITERATORS_HPP
 
index 275177e10e0975b8cca7d883f9c6dbcb7a13d2ad..a6e79b33a9efdac3b6b6de3e64ebf165fa2aad6b 100644 (file)
@@ -50,7 +50,7 @@
 #include <ext/pb_ds/tag_and_trait.hpp>
 #include <debug/debug.h>
 
-namespace pb_ds
+namespace __gnu_pbds
 {
   namespace detail
   {
@@ -382,6 +382,6 @@ namespace pb_ds
 #undef PB_DS_TREE_ODIR_IT_C_DEC
 
   } // namespace detail
-} // namespace pb_ds
+} // namespace __gnu_pbds
 
 #endif 
index 4c57608cc56f505ea21a1364a861ccbd44506342..dc7c232563b4ccf11b80292458c143c150dcb13e 100644 (file)
@@ -50,7 +50,7 @@
 #include <ext/pb_ds/detail/bin_search_tree_/point_iterators.hpp>
 #include <ext/pb_ds/detail/bin_search_tree_/node_iterators.hpp>
 
-namespace pb_ds
+namespace __gnu_pbds
 {
   namespace detail
   {
@@ -156,7 +156,7 @@ namespace pb_ds
       node_update;
 
       typedef
-      pb_ds::null_tree_node_update<
+      __gnu_pbds::null_tree_node_update<
        const_node_iterator,
        node_iterator,
        Cmp_Fn,
@@ -242,7 +242,7 @@ namespace pb_ds
       node_update;
 
       typedef
-      pb_ds::null_tree_node_update<
+      __gnu_pbds::null_tree_node_update<
        const_node_iterator,
        node_iterator,
        Cmp_Fn,
@@ -251,6 +251,6 @@ namespace pb_ds
     };
 
   } // namespace detail
-} // namespace pb_ds
+} // namespace __gnu_pbds
 
 #endif // #ifndef PB_DS_BIN_SEARCH_TREE_NODE_AND_IT_TRAITS_HPP
index b32479b99d1f023b001a37224c25cf05a75315d4..cf10195d28c5faa9b68d7819d0e465bffee0d411 100644 (file)
@@ -67,7 +67,7 @@
 #include <ext/pb_ds/detail/type_utils.hpp>
 #include <debug/debug.h>
 
-namespace pb_ds
+namespace __gnu_pbds
 {
   namespace detail
   {
@@ -81,7 +81,7 @@ namespace pb_ds
     entry_cmp<Value_Type, Cmp_Fn, is_simple<Value_Type>::value, Allocator>::type
 
 #define PB_DS_RESIZE_POLICY_DEC        \
-    pb_ds::detail::resize_policy<typename Allocator::size_type>
+    __gnu_pbds::detail::resize_policy<typename Allocator::size_type>
 
     /**
      * class description = "Base class for some types of h3ap$">
@@ -358,6 +358,6 @@ namespace pb_ds
 #undef PB_DS_RESIZE_POLICY_DEC
 
   } // namespace detail
-} // namespace pb_ds
+} // namespace __gnu_pbds
 
 #endif 
index 12b96e766ba0ce9d1be814b3aaf8480a056392ed..79f36c009dfa44628e10f8e0c49ad3aba022bb06 100644 (file)
@@ -51,7 +51,7 @@
 #include <ext/pb_ds/detail/binary_heap_/const_point_iterator.hpp>
 #include <debug/debug.h>
 
-namespace pb_ds
+namespace __gnu_pbds
 {
   namespace detail
   {
@@ -153,6 +153,6 @@ namespace pb_ds
 #undef PB_DS_CLASS_C_DEC
 #undef PB_DS_BASE_C_DEC
   } // namespace detail
-} // namespace pb_ds
+} // namespace __gnu_pbds
 
 #endif 
index 3a50cd6c4b1ea1ce6d487fc87decaaadaf5fe21c..b2b6760a50a9da52fd9c700dd0eb6e1a956f01d9 100644 (file)
@@ -51,7 +51,7 @@
 #include <ext/pb_ds/tag_and_trait.hpp>
 #include <debug/debug.h>
 
-namespace pb_ds
+namespace __gnu_pbds
 {
   namespace detail
   {
@@ -145,6 +145,6 @@ namespace pb_ds
       entry_pointer m_p_e;
     };
   } // namespace detail
-} // namespace pb_ds
+} // namespace __gnu_pbds
 
 #endif 
index c98dae75cab2a1fbbddac5c922a83be2c18b55f5..afde1cd46011ffc7280bb27a92fbf4e58c06493d 100644 (file)
@@ -47,7 +47,7 @@
 #ifndef PB_DS_BINARY_HEAP_ENTRY_CMP_HPP
 #define PB_DS_BINARY_HEAP_ENTRY_CMP_HPP
 
-namespace pb_ds
+namespace __gnu_pbds
 {
   namespace detail
   {
@@ -94,6 +94,6 @@ namespace pb_ds
     };
 
   } // namespace detail
-} // namespace pb_ds
+} // namespace __gnu_pbds
 
 #endif // #ifndef PB_DS_BINARY_HEAP_ENTRY_CMP_HPP
index 25102f2c1ad63f72193aec81b5b703aec133389e..408e8559ec9e605e28041ab57627478ae9d7de1b 100644 (file)
@@ -47,7 +47,7 @@
 #ifndef PB_DS_BINARY_HEAP_ENTRY_PRED_HPP
 #define PB_DS_BINARY_HEAP_ENTRY_PRED_HPP
 
-namespace pb_ds
+namespace __gnu_pbds
 {
   namespace detail
   {
@@ -94,6 +94,6 @@ namespace pb_ds
     };
 
   } // namespace detail
-} // namespace pb_ds
+} // namespace __gnu_pbds
 
 #endif // #ifndef PB_DS_BINARY_HEAP_ENTRY_PRED_HPP
index c6021a998041fb969a08e3f2d072dd059df834a7..17aeb64f1f145abd53e06e4598a4b2cd3f18fe29 100644 (file)
@@ -49,7 +49,7 @@
 
 #include <debug/debug.h>
 
-namespace pb_ds
+namespace __gnu_pbds
 {
   namespace detail
   {
@@ -254,6 +254,6 @@ namespace pb_ds
 #undef PB_DS_CLASS_C_DEC
 
 } // namespace detail
-} // namespace pb_ds
+} // namespace __gnu_pbds
 
 #endif 
index c6f361d936c82ac4b8f0e0c53222f73ea1cedaf6..8f1826ef16436dee3b1f43ed240dbecef2eb7a23 100644 (file)
@@ -55,7 +55,7 @@
 #include <ext/pb_ds/detail/type_utils.hpp>
 #include <ext/pb_ds/detail/binomial_heap_base_/binomial_heap_base_.hpp>
 
-namespace pb_ds
+namespace __gnu_pbds
 {
   namespace detail
   {
@@ -119,4 +119,4 @@ namespace pb_ds
 
 #undef PB_DS_BASE_C_DEC
   } // namespace detail
-} // namespace pb_ds
+} // namespace __gnu_pbds
index 09af8cfffd7167eba38ba94475b969734fdb633d..acd1c3cf4dccb2c2048090436ac78484d447ced6 100644 (file)
@@ -59,7 +59,7 @@
 #include <ext/pb_ds/detail/left_child_next_sibling_heap_/left_child_next_sibling_heap_.hpp>
 #include <ext/pb_ds/detail/left_child_next_sibling_heap_/null_metadata.hpp>
 
-namespace pb_ds
+namespace __gnu_pbds
 {
   namespace detail
   {
@@ -235,6 +235,6 @@ namespace pb_ds
 
 
   } // namespace detail
-} // namespace pb_ds
+} // namespace __gnu_pbds
 
 #endif 
index 5636cdc1243834835102b31619bc0153f3e66025..3a772fa1df8de0392be0ef1bb56f5d7a18938286 100644 (file)
@@ -60,7 +60,7 @@
 #endif 
 #include <debug/debug.h>
 
-namespace pb_ds
+namespace __gnu_pbds
 {
   namespace detail
   {
@@ -609,7 +609,7 @@ namespace pb_ds
       enum
        {
          store_hash_ok = !Store_Hash 
-                         || !is_same<Hash_Fn, pb_ds::null_hash_fn>::value
+                         || !is_same<Hash_Fn, __gnu_pbds::null_hash_fn>::value
        };
 
       PB_DS_STATIC_ASSERT(sth, store_hash_ok);
@@ -638,5 +638,5 @@ namespace pb_ds
 #undef PB_DS_V2S
 
   } // namespace detail
-} // namespace pb_ds
+} // namespace __gnu_pbds
 
index bf5e0bd471062a26f60d1d272af73a4562c810fd..a4bcc4b81fddc49c09994dc48d14b5f57a94811f 100644 (file)
@@ -44,7 +44,7 @@
  * Contains a conditional key destructor, used for exception handling.
  */
 
-namespace pb_ds
+namespace __gnu_pbds
 {
   namespace detail
   {
@@ -119,5 +119,5 @@ namespace pb_ds
 #undef PB_DS_CLASS_C_DEC
 
   } // namespace detail
-} // namespace pb_ds
+} // namespace __gnu_pbds
 
index 3cf9ea91fa31e3634bd52af34bffc0e6dbc96291..eba0f39307c06bf4223a85dae9ab5257d34bcc4a 100644 (file)
@@ -47,7 +47,7 @@
 #ifndef PB_DS_COND_DEALTOR_HPP
 #define PB_DS_COND_DEALTOR_HPP
 
-namespace pb_ds
+namespace __gnu_pbds
 {
 
   namespace detail
@@ -125,7 +125,7 @@ namespace pb_ds
 
   } // namespace detail
 
-} // namespace pb_ds
+} // namespace __gnu_pbds
 
 #endif // #ifndef PB_DS_COND_DEALTOR_HPP
 
index 37db003fd751d8876c72c7fb81a879fbdd356097..cbc514333184166c9ac50ff3c774876d9859f447 100644 (file)
 #include <ext/pb_ds/detail/pat_trie_/pat_trie_.hpp>
 #undef PB_DS_DATA_FALSE_INDICATOR
 
-namespace pb_ds
+namespace __gnu_pbds
 {
 namespace detail
 {
@@ -333,6 +333,6 @@ namespace detail
                                 at3t::value, at4t, at5t, at2t> type;
   };
 } // namespace detail
-} // namespace pb_ds
+} // namespace __gnu_pbds
 
 #endif 
index 373b0f6c78e76eb29aec4f79bd5afbc352ca572b..086a50fc5fd412139e10f2c779a1a6b2894fa5b7 100644 (file)
@@ -55,7 +55,7 @@
 #include <ext/throw_allocator.h>
 #include <debug/debug.h>
 
-namespace pb_ds
+namespace __gnu_pbds
 {
   namespace detail
   {
@@ -357,7 +357,7 @@ namespace pb_ds
 #undef PB_DS_CLASS_C_DEC
 
 } // namespace detail
-} // namespace pb_ds
+} // namespace __gnu_pbds
 
 #endif 
 
index 6e37b544039ac5932f0a93adc8577edc55299457..467b01e1ecac262b633b56786aa906dcbf054360 100644 (file)
@@ -53,7 +53,7 @@
 #include <assert.h>
 #include <ext/pb_ds/detail/types_traits.hpp>
 
-namespace pb_ds
+namespace __gnu_pbds
 {
   namespace detail
   {
@@ -69,6 +69,6 @@ namespace pb_ds
       }
     };
   } // namespace detail
-} // namespace pb_ds
+} // namespace __gnu_pbds
 
 #endif // #ifndef PB_DS_EQ_BY_LESS_HPP
index 8218ea47ab5cf502b288bf78964b12c00ff13d5c..706ee5ea24b23cbca872c6f4416f3ed330ac2efc 100644 (file)
@@ -51,7 +51,7 @@
 #include <utility>
 #include <debug/debug.h>
 
-namespace pb_ds
+namespace __gnu_pbds
 {
   namespace detail
   {
@@ -180,6 +180,6 @@ namespace pb_ds
 #undef PB_DS_CLASS_C_DEC
 
   } // namespace detail
-} // namespace pb_ds
+} // namespace __gnu_pbds
 
 #endif 
index 88f250162ad8e38e02b50418aec57bec0f301dd8..8da31e70e8aabfcb1fef87481da654488b7c0906 100644 (file)
@@ -58,7 +58,7 @@
 #endif
 #include <debug/debug.h>
 
-namespace pb_ds
+namespace __gnu_pbds
 {
   namespace detail
   {
@@ -651,7 +651,7 @@ namespace pb_ds
       enum
        {
          store_hash_ok = !Store_Hash 
-                         || !is_same<Hash_Fn, pb_ds::null_hash_fn>::value
+                         || !is_same<Hash_Fn, __gnu_pbds::null_hash_fn>::value
        };
 
       PB_DS_STATIC_ASSERT(sth, store_hash_ok);
@@ -679,5 +679,5 @@ namespace pb_ds
 #undef PB_DS_V2S
 
   } // namespace detail
-} // namespace pb_ds
+} // namespace __gnu_pbds
 
index f4bf7c6e472edad4de848003c891d8e1a415b862..cc67e92a062ef8aba4a2b64c21daad478025fa66 100644 (file)
@@ -52,7 +52,7 @@
 #include <ext/pb_ds/linear_probe_fn.hpp>
 #include <ext/pb_ds/quadratic_probe_fn.hpp>
 
-namespace pb_ds
+namespace __gnu_pbds
 {
   namespace detail
   {
@@ -66,15 +66,15 @@ namespace pb_ds
       typedef
       typename __conditional_type<
       is_same<
-      pb_ds::direct_mask_range_hashing<size_t>,
+      __gnu_pbds::direct_mask_range_hashing<size_t>,
       Comb_Probe_Fn>::value,
-      pb_ds::linear_probe_fn<size_type>,
-      pb_ds::quadratic_probe_fn<size_type> >::__type
+      __gnu_pbds::linear_probe_fn<size_type>,
+      __gnu_pbds::quadratic_probe_fn<size_type> >::__type
       type;
     };
 
   } // namespace detail
-} // namespace pb_ds
+} // namespace __gnu_pbds
 
 #endif 
 
index 4aa1894bade4b47a1447675aab9acc53017d11ab..60d5c39991bdc1d028121c7bcb0cf3ac0fa1f5b6 100644 (file)
@@ -47,7 +47,7 @@
 #ifndef PB_DS_MASK_BASED_RANGE_HASHING_HPP
 #define PB_DS_MASK_BASED_RANGE_HASHING_HPP
 
-namespace pb_ds
+namespace __gnu_pbds
 {
   namespace detail
   {
@@ -108,6 +108,6 @@ namespace pb_ds
 #undef PB_DS_CLASS_C_DEC
 
   } // namespace detail
-} // namespace pb_ds
+} // namespace __gnu_pbds
 
 #endif
index 2d5e8d6ef55dbb573abc97628523e78273ff3cef..ea04f5f6dcc1c6e1eff2d74eac4c1a6aa934358c 100644 (file)
@@ -47,7 +47,7 @@
 #ifndef PB_DS_MOD_BASED_RANGE_HASHING_HPP
 #define PB_DS_MOD_BASED_RANGE_HASHING_HPP
 
-namespace pb_ds
+namespace __gnu_pbds
 {
 
   namespace detail
@@ -109,6 +109,6 @@ namespace pb_ds
 
   } // namespace detail
 
-} // namespace pb_ds
+} // namespace __gnu_pbds
 
 #endif // #ifndef PB_DS_MOD_BASED_RANGE_HASHING_HPP
index e72a47ef825675b56c1eaecf302a69ffdd6b3660..4deb23b16ff9a9ad9f339c62f917091d603ac825 100644 (file)
@@ -49,7 +49,7 @@
 
 #include <functional>
 
-namespace pb_ds
+namespace __gnu_pbds
 {
   namespace detail
   {
@@ -60,6 +60,6 @@ namespace pb_ds
       ~probe_fn_base() { }
     };
 } // namespace detail
-} // namespace pb_ds
+} // namespace __gnu_pbds
 
 #endif 
index 179e59358fcf4492a179f603d20fbe698df9a47f..b54f92d89ef5d30379f25d941e1adb5c84bf3cf3 100644 (file)
@@ -52,7 +52,7 @@
 #include <utility>
 #include <debug/debug.h>
 
-namespace pb_ds
+namespace __gnu_pbds
 {
   namespace detail
   {
@@ -360,6 +360,6 @@ namespace pb_ds
 #undef PB_DS_CLASS_C_DEC
 
   } // namespace detail
-} // namespace pb_ds
+} // namespace __gnu_pbds
 
 #endif 
index b665dbf36f8d9786685a5887cd6e94286ab8da5e..c094026a7d5271b13220126a5c4e0cfeedd260f2 100644 (file)
@@ -52,7 +52,7 @@
 #include <utility>
 #include <debug/debug.h>
 
-namespace pb_ds
+namespace __gnu_pbds
 {
   namespace detail
   {
@@ -327,7 +327,7 @@ namespace pb_ds
       { comb_probe_fn_base::swap(other); }
     };
   } // namespace detail
-} // namespace pb_ds
+} // namespace __gnu_pbds
 
 #endif
 
index cff9bb808dd1be1e723450fed3e3615662589815..1d0a685143e0b35f829697f15a462c665928b2c0 100644 (file)
@@ -51,7 +51,7 @@
 #include <ext/pb_ds/detail/left_child_next_sibling_heap_/const_point_iterator.hpp>
 #include <debug/debug.h>
 
-namespace pb_ds
+namespace __gnu_pbds
 {
   namespace detail
   {
@@ -163,6 +163,6 @@ namespace pb_ds
 #undef PB_DS_BASE_C_DEC
 
   } // namespace detail
-} // namespace pb_ds
+} // namespace __gnu_pbds
 
 #endif 
index ea45b624ac1f2ada8de37389dfeb01321aa981bd..c6ca2f0c72bea7be72878a1767bf9b579568c4b8 100644 (file)
@@ -51,7 +51,7 @@
 #include <ext/pb_ds/tag_and_trait.hpp>
 #include <debug/debug.h>
 
-namespace pb_ds
+namespace __gnu_pbds
 {
   namespace detail
   {
@@ -155,6 +155,6 @@ namespace pb_ds
 #undef PB_DS_CLASS_C_DEC
 
   } // namespace detail
-} // namespace pb_ds
+} // namespace __gnu_pbds
 
 #endif 
index e06358d2f22b406040448b0afcc72f4920b41f3f..196ae3010ca264a8aa7a005d1d91b621fad0a767 100644 (file)
@@ -62,7 +62,7 @@
 #endif 
 #include <debug/debug.h>
 
-namespace pb_ds
+namespace __gnu_pbds
 {
   namespace detail
   {
@@ -350,6 +350,6 @@ namespace pb_ds
 #undef PB_DS_CLASS_T_DEC
 
   } // namespace detail
-} // namespace pb_ds
+} // namespace __gnu_pbds
 
 #endif 
index e3460add5ee5f63eb4c1b137fa22008b0c2d964b..2239683d67c53cca577a62cb9a0ed36f14ad8cbe 100644 (file)
@@ -49,7 +49,7 @@
 
 #include <ext/pb_ds/detail/left_child_next_sibling_heap_/null_metadata.hpp>
 
-namespace pb_ds
+namespace __gnu_pbds
 {
   namespace detail
   {
@@ -124,6 +124,6 @@ namespace pb_ds
     };
 
   } // namespace detail
-} // namespace pb_ds
+} // namespace __gnu_pbds
 
 #endif // #ifndef PB_DS_LEFT_CHILD_NEXT_SIBLING_HEAP_NODE_HPP
index 1716fd1aa644ed59528333629d41bfe08fc174d5..290745e533d12fc50732dd9543ae9d8730322dc2 100644 (file)
@@ -49,7 +49,7 @@
 
 #include <ext/pb_ds/detail/left_child_next_sibling_heap_/null_metadata.hpp>
 
-namespace pb_ds
+namespace __gnu_pbds
 {
   namespace detail
   {
@@ -58,6 +58,6 @@ namespace pb_ds
     { };
 
   } // namespace detail
-} // namespace pb_ds
+} // namespace __gnu_pbds
 
 #endif // #ifndef PB_DS_LEFT_CHILD_NEXT_SIBLING_HEAP_NULL_METADATA_HPP
index 7d711a21d71b14cd7edf7238c3128f97ecbc28bd..e2085a91b415e8184a802020d20c300abcc1c914 100644 (file)
@@ -47,7 +47,7 @@
 #ifndef PB_DS_LU_MAP_ENTRY_METADATA_BASE_HPP
 #define PB_DS_LU_MAP_ENTRY_METADATA_BASE_HPP
 
-namespace pb_ds
+namespace __gnu_pbds
 {
   namespace detail
   {
@@ -61,6 +61,6 @@ namespace pb_ds
     struct lu_map_entry_metadata_base<null_lu_metadata>
     { };  
   } // namespace detail
-} // namespace pb_ds
+} // namespace __gnu_pbds
 
 #endif 
index f39baa0f39dc5bb4bc4b9216c525ff34900a33dd..267beccceaf1575dcff1cc3993a2052232abbca4 100644 (file)
@@ -59,7 +59,7 @@
 #endif 
 #include <debug/debug.h>
 
-namespace pb_ds
+namespace __gnu_pbds
 {
   namespace detail
   {
@@ -362,4 +362,4 @@ namespace pb_ds
 #undef PB_DS_V2S
 
   } // namespace detail
-} // namespace pb_ds
+} // namespace __gnu_pbds
index e02c6fbfe49fbfc7607478109054301d5d8daeb8..bbb539c0b50b4e484030f01797e108707e1f4216 100644 (file)
@@ -44,7 +44,7 @@
  * Contains implementation of a lu counter policy's metadata.
  */
 
-namespace pb_ds
+namespace __gnu_pbds
 {
   namespace detail
   {
@@ -89,4 +89,4 @@ namespace pb_ds
       }
     };
   } // namespace detail
-} // namespace pb_ds
+} // namespace __gnu_pbds
index c63f6b0d910fa65cb6d5e060891e59aaefa0a1fa..5b9f9a873aa1de54bfa01d7bde8258d4dcea811e 100644 (file)
@@ -51,7 +51,7 @@
 #include <ext/pb_ds/detail/type_utils.hpp>
 #include <debug/debug.h>
 
-namespace pb_ds
+namespace __gnu_pbds
 {
   namespace detail
   {
@@ -293,6 +293,6 @@ namespace pb_ds
 #undef PB_DS_OV_TREE_CONST_NODE_ITERATOR_C_DEC
 
 } // namespace detail
-} // namespace pb_ds
+} // namespace __gnu_pbds
 
 #endif 
index 78fdcf96c24b0803c47df1e2a14d08e1693a9a71..421a6bea6176270684b4464ce4d24bfdfb4bd8a4 100644 (file)
@@ -60,7 +60,7 @@
 #include <assert.h>
 #include <debug/debug.h>
 
-namespace pb_ds
+namespace __gnu_pbds
 {
   namespace detail
   {
@@ -525,4 +525,4 @@ namespace pb_ds
 #undef PB_DS_CONST_NODE_ITERATOR_NAME
 
   } // namespace detail
-} // namespace pb_ds
+} // namespace __gnu_pbds
index 182c0c8d3930f6c44da2ea1da40d93fa58b3653d..92ff70d7c61e49cd902aa833a46b4c2567a20f79 100644 (file)
@@ -49,7 +49,7 @@
 
 #include <ext/pb_ds/detail/ov_tree_map_/node_iterators.hpp>
 
-namespace pb_ds
+namespace __gnu_pbds
 {
   namespace detail
   {
@@ -113,7 +113,7 @@ namespace pb_ds
       node_update;
 
       typedef
-      pb_ds::null_tree_node_update<
+      __gnu_pbds::null_tree_node_update<
        const_node_iterator,
        node_iterator,
        Cmp_Fn,
@@ -174,7 +174,7 @@ namespace pb_ds
       node_update;
 
       typedef
-      pb_ds::null_tree_node_update<
+      __gnu_pbds::null_tree_node_update<
        const_node_iterator,
        node_iterator,
        Cmp_Fn,
@@ -183,7 +183,7 @@ namespace pb_ds
     };
 
   } // namespace detail
-} // namespace pb_ds
+} // namespace __gnu_pbds
 
 #endif // #ifndef PB_DS_OV_TREE_NODE_AND_IT_TRAITS_HPP
 
index 647547497964915438e8bec47114b06ec5ca7d7f..6d3790653a4288b65994b228fe515e36ed3d3785 100644 (file)
@@ -57,7 +57,7 @@
 #include <ext/pb_ds/detail/left_child_next_sibling_heap_/null_metadata.hpp>
 #include <debug/debug.h>
 
-namespace pb_ds
+namespace __gnu_pbds
 {
   namespace detail
   {
@@ -219,4 +219,4 @@ namespace pb_ds
 #undef PB_DS_BASE_C_DEC
 
   } // namespace detail
-} // namespace pb_ds
+} // namespace __gnu_pbds
index e8bee52735083ac57eebcc52d21fdc2dfd9b34cd..13c1b5ddf6e20bf4635613565bc2c1735b8e443e 100644 (file)
@@ -50,7 +50,7 @@
 #include <ext/pb_ds/detail/pat_trie_/node_base.hpp>
 #include <debug/debug.h>
 
-namespace pb_ds
+namespace __gnu_pbds
 {
   namespace detail
   {
@@ -124,7 +124,7 @@ namespace pb_ds
 #undef PB_DS_BASE_C_DEC
 
   } // namespace detail
-} // namespace pb_ds
+} // namespace __gnu_pbds
 
 #endif
 
index 902c9b7ca5372e65b12bda73eb265362243bed38..67a612dd58a0c32c004c53b2e133986db8ed26ee 100644 (file)
@@ -49,7 +49,7 @@
 
 #include <debug/debug.h>
 
-namespace pb_ds
+namespace __gnu_pbds
 {
   namespace detail
   {
@@ -600,6 +600,6 @@ namespace pb_ds
 #undef PB_DS_LEAF_C_DEC
 
   } // namespace detail
-} // namespace pb_ds
+} // namespace __gnu_pbds
 
 #endif
index 08f3761deda1e5528867353d78d0df76b9928c80..310d78950a43969e1f14e8e3f489aea24244ef9a 100644 (file)
@@ -49,7 +49,7 @@
 
 #include <debug/debug.h>
 
-namespace pb_ds
+namespace __gnu_pbds
 {
   namespace detail
   {
@@ -172,6 +172,6 @@ namespace pb_ds
 #undef PB_DS_PAT_TRIE_SUBTREE_DEBUG_INFO_C_DEC
 
   } // namespace detail
-} // namespace pb_ds
+} // namespace __gnu_pbds
 
 #endif 
index 753e66b28a5ce4f2744e1063f37b57492cd984a7..4c71d01539673bae1ae192959ef5b383f693ef4c 100644 (file)
@@ -49,7 +49,7 @@
 
 #include <ext/pb_ds/detail/pat_trie_/node_metadata_base.hpp>
 
-namespace pb_ds
+namespace __gnu_pbds
 {
   namespace detail
   {
@@ -129,6 +129,6 @@ namespace pb_ds
 #undef PB_DS_PAT_TRIE_SUBTREE_DEBUG_INFO_C_DEC
 
   } // namespace detail
-} // namespace pb_ds
+} // namespace __gnu_pbds
 
 #endif 
index 9c8a40c4fdce6bca798f57b6231f1baaaf384cfe..b5b273aaffd247f12fb08ac8babd9ffe32123ceb 100644 (file)
@@ -49,7 +49,7 @@
 
 #include <debug/debug.h>
 
-namespace pb_ds
+namespace __gnu_pbds
 {
   namespace detail
   {
@@ -338,7 +338,7 @@ namespace pb_ds
 #undef PB_DS_PAT_TRIE_NODE_ITERATOR_C_DEC
 
   } // namespace detail
-} // namespace pb_ds
+} // namespace __gnu_pbds
 
 #endif 
 
index 5434ff9d408022f71a3a82a0c1eafba3cb9d9b17..427ae03dd1e7e90a0f68bc91cba8896d52e548db 100644 (file)
@@ -49,7 +49,7 @@
 
 #include <ext/pb_ds/detail/basic_tree_policy/null_node_metadata.hpp>
 
-namespace pb_ds
+namespace __gnu_pbds
 {
   namespace detail
   {
@@ -86,7 +86,7 @@ namespace pb_ds
     };
 
   } // namespace detail
-} // namespace pb_ds
+} // namespace __gnu_pbds
 
 #endif // #ifndef PB_DS_PAT_TRIE_NODE_BASE_HPP
 
index 386f91557dbe7a063fe668194f9d4279149ca461..00a00d34bcec3c0f67bd097705154b44fa888ba8 100644 (file)
@@ -71,7 +71,7 @@
 #endif 
 #include <debug/debug.h>
 
-namespace pb_ds
+namespace __gnu_pbds
 {
   namespace detail
   {
@@ -518,4 +518,4 @@ namespace pb_ds
 #undef PB_DS_V2S
 
   } // namespace detail
-} // namespace pb_ds
+} // namespace __gnu_pbds
index 1a42dc562f2b534a69826e105325da7f0a744da8..8554f260dc6245a857ef2ba9a726fff76c604299 100644 (file)
@@ -49,7 +49,7 @@
 
 #include <debug/debug.h>
 
-namespace pb_ds
+namespace __gnu_pbds
 {
   namespace detail
   {
@@ -484,7 +484,7 @@ namespace pb_ds
 #undef PB_DS_ODIR_IT_C_DEC
 
   } // namespace detail
-} // namespace pb_ds
+} // namespace __gnu_pbds
 
 #endif 
 
index 84e6fddc088f7d0f9b0716b81ff4b1762cef7041..f979e32f57247cb1563c6856a706918cf8548bee 100644 (file)
@@ -119,7 +119,7 @@ rotate_parent(node_pointer p_nd)
 PB_DS_CLASS_T_DEC
 inline void
 PB_DS_CLASS_C_DEC::
-apply_update(node_pointer /*p_nd*/, pb_ds::null_node_update*  /*p_update*/)
+apply_update(node_pointer /*p_nd*/, __gnu_pbds::null_node_update*  /*p_update*/)
 { }
 
 PB_DS_CLASS_T_DEC
@@ -151,6 +151,6 @@ update_to_top(node_pointer p_nd, Node_Update_* p_update)
 PB_DS_CLASS_T_DEC
 inline void
 PB_DS_CLASS_C_DEC::
-update_to_top(node_pointer /*p_nd*/, pb_ds::null_node_update*  /*p_update*/)
+update_to_top(node_pointer /*p_nd*/, __gnu_pbds::null_node_update*  /*p_update*/)
 { }
 
index 79cd72cba2bdf2342e8c5ea2f6443a2c32a6abcc..46e8ffa95523cb4298aef981a625b4ae428afb42 100644 (file)
@@ -49,7 +49,7 @@
 
 #include <ext/pb_ds/detail/type_utils.hpp>
 
-namespace pb_ds
+namespace __gnu_pbds
 {
   namespace detail
   {
@@ -230,6 +230,6 @@ namespace pb_ds
 #undef PB_DS_SYNTH_E_ACCESS_TRAITS_C_DEC
 
   } // namespace detail
-} // namespace pb_ds
+} // namespace __gnu_pbds
 
 #endif 
index 59aa30982684ef964df501f4791defc822894309..c29f814fe55fee654d9846961fe75e853e76222c 100644 (file)
@@ -55,7 +55,7 @@
 #include <ext/pb_ds/detail/pat_trie_/node_iterators.hpp>
 #include <ext/pb_ds/detail/pat_trie_/synth_e_access_traits.hpp>
 
-namespace pb_ds
+namespace __gnu_pbds
 {
   namespace detail
   {
@@ -93,7 +93,7 @@ namespace pb_ds
       typedef E_Access_Traits e_access_traits;
 
       typedef
-      pb_ds::detail::synth_e_access_traits<
+      __gnu_pbds::detail::synth_e_access_traits<
        type_traits,
        false,
        e_access_traits>
@@ -208,7 +208,7 @@ namespace pb_ds
       node_update;
 
       typedef
-      pb_ds::null_trie_node_update<
+      __gnu_pbds::null_trie_node_update<
        const_node_iterator,
        node_iterator,
        E_Access_Traits,
@@ -254,7 +254,7 @@ namespace pb_ds
       typedef E_Access_Traits e_access_traits;
 
       typedef
-      pb_ds::detail::synth_e_access_traits<
+      __gnu_pbds::detail::synth_e_access_traits<
        type_traits,
        true,
        e_access_traits>
@@ -341,7 +341,7 @@ namespace pb_ds
       node_update;
 
       typedef
-      pb_ds::null_trie_node_update<
+      __gnu_pbds::null_trie_node_update<
        const_node_iterator,
        const_node_iterator,
        E_Access_Traits,
@@ -350,7 +350,7 @@ namespace pb_ds
     };
 
   } // namespace detail
-} // namespace pb_ds
+} // namespace __gnu_pbds
 
 #endif // #ifndef PB_DS_PAT_TRIE_NODE_AND_IT_TRAITS_HPP
 
index 67a705213d54b67996a1de715e89512d805abef3..576e86570911e05ccea687ead7d2e10078aac5d9 100644 (file)
@@ -53,7 +53,7 @@
 #include <ext/pb_ds/detail/binary_heap_/binary_heap_.hpp>
 #include <ext/pb_ds/detail/thin_heap_/thin_heap_.hpp>
 
-namespace pb_ds
+namespace __gnu_pbds
 {
     namespace detail
     {
@@ -92,6 +92,6 @@ namespace pb_ds
       };
 
     } // namespace detail
-} // namespace pb_ds
+} // namespace __gnu_pbds
 
 #endif // #ifndef PB_DS_PRIORITY_QUEUE_BASE_DS_DISPATCHER_HPP
index 164f965a551ac9f9b4c8d15672354288d3978f70..9797516a50447bc55944f5919d476a15b1f42162 100644 (file)
@@ -49,7 +49,7 @@
 
 #include <ext/pb_ds/detail/basic_tree_policy/null_node_metadata.hpp>
 
-namespace pb_ds
+namespace __gnu_pbds
 {
   namespace detail
   {
@@ -139,6 +139,6 @@ namespace pb_ds
       bool m_red;
     };
   } // namespace detail
-} // namespace pb_ds
+} // namespace __gnu_pbds
 
 #endif 
index d08b2db69ae83499d172248e51b826329d2d7500..b5d50a92ae8ba021f875cf96490343d75bc57550 100644 (file)
@@ -69,7 +69,7 @@
 #include <assert.h>
 #include <debug/debug.h>
 
-namespace pb_ds
+namespace __gnu_pbds
 {
   namespace detail
   {
@@ -282,5 +282,5 @@ namespace pb_ds
 #undef PB_DS_V2S
 
   } // namespace detail
-} // namespace pb_ds
+} // namespace __gnu_pbds
 
index 67570d842048ef99219bde0d0d06eaab676711d2..2f91669d752a7d32de60f5f1573d2f3467c29813 100644 (file)
@@ -49,7 +49,7 @@
 
 #include <ext/pb_ds/detail/rb_tree_map_/node.hpp>
 
-namespace pb_ds
+namespace __gnu_pbds
 {
   namespace detail
   {
@@ -125,6 +125,6 @@ namespace pb_ds
     { };
 
   } // namespace detail
-} // namespace pb_ds
+} // namespace __gnu_pbds
 
 #endif 
index dc7869ca7a7ddcbf4665cd0a118760c0477c5b9f..fc90ea7dea240836663e13643edb1ce2280655b1 100644 (file)
@@ -47,7 +47,7 @@
 #ifndef PB_DS_RC_HPP
 #define PB_DS_RC_HPP
 
-namespace pb_ds
+namespace __gnu_pbds
 {
   namespace detail
   {
@@ -263,6 +263,6 @@ namespace pb_ds
 #undef PB_DS_CLASS_C_DEC
 
 } // namespace detail
-} // namespace pb_ds
+} // namespace __gnu_pbds
 
 #endif 
index 42417ed82fe17ea9764162850766ee8687a07900..5b4a3b4122fc001f22c81fed15e2bcdfd302507c 100644 (file)
@@ -54,7 +54,7 @@
 #include <ext/pb_ds/detail/rc_binomial_heap_/rc.hpp>
 #include <debug/debug.h>
 
-namespace pb_ds
+namespace __gnu_pbds
 {
   namespace detail
   {
@@ -201,4 +201,4 @@ namespace pb_ds
 
 #undef PB_DS_RC_C_DEC
   } // namespace detail
-} // namespace pb_ds
+} // namespace __gnu_pbds
index 436de797d6ff5055f8f6d0723350916b4e533401..f69690bb21dfa760b9293c40993e9953dd95c1fb 100644 (file)
@@ -47,7 +47,7 @@
 #ifndef PB_DS_HASH_LOAD_CHECK_RESIZE_TRIGGER_SIZE_BASE_HPP
 #define PB_DS_HASH_LOAD_CHECK_RESIZE_TRIGGER_SIZE_BASE_HPP
 
-namespace pb_ds
+namespace __gnu_pbds
 {
   namespace detail
   {
@@ -95,6 +95,6 @@ namespace pb_ds
       set_size(size_type size) { }
     };
   } // namespace detail
-} // namespace pb_ds
+} // namespace __gnu_pbds
 
 #endif
index db07fbbc7e0f25c3099cc86f7cd841a2348e76d3..19e54a7ab5bb5f9fc35a0e516b509440fa651150 100644 (file)
@@ -140,6 +140,6 @@ private:
   do_resize(size_type new_size);
 };
 
-} // namespace pb_ds
+} // namespace __gnu_pbds
 
 #endif 
index d23e931732357ec63f7a9dc9831d236dd4f4c166..29519d598aa8c9c7edd6c4e32d8af8ab96969d41 100644 (file)
@@ -47,7 +47,7 @@
 #ifndef PB_DS_SPLAY_TREE_NODE_HPP
 #define PB_DS_SPLAY_TREE_NODE_HPP
 
-namespace pb_ds
+namespace __gnu_pbds
 {
   namespace detail
   {
@@ -126,6 +126,6 @@ namespace pb_ds
       bool m_special;
     };
   } // namespace detail
-} // namespace pb_ds
+} // namespace __gnu_pbds
 
 #endif 
index bf905255333ed2a0d3c4aff2a31943e4271b0c6f..1642abb068f898e6d1dad345b351d3da77d10630 100644 (file)
@@ -93,7 +93,7 @@
 #include <assert.h>
 #include <debug/debug.h>
 
-namespace pb_ds
+namespace __gnu_pbds
 {
   namespace detail
   {
@@ -300,5 +300,5 @@ namespace pb_ds
 #undef PB_DS_EP2VP
 #undef PB_DS_V2S
   } // namespace detail
-} // namespace pb_ds
+} // namespace __gnu_pbds
 
index a758ef9ddbabaa5271dd2589c08fc4cabf525da1..0755963a36cd3c13365cf233c4d81997dcb7655e 100644 (file)
@@ -49,7 +49,7 @@
 
 #include <ext/pb_ds/detail/splay_tree_/node.hpp>
 
-namespace pb_ds
+namespace __gnu_pbds
 {
   namespace detail
   {
@@ -114,6 +114,6 @@ namespace pb_ds
     { };
 
   } // namespace detail
-} // namespace pb_ds
+} // namespace __gnu_pbds
 
 #endif // #ifndef PB_DS_SPLAY_TREE_NODE_AND_IT_TRAITS_HPP
index 000e3a475de98e2e294aa5f7db77564cb2b5e82e..bbd91c38d234ccadde71fa486ad831e0ea3e5d2d 100644 (file)
@@ -56,7 +56,7 @@
 #include <ext/pb_ds/tag_and_trait.hpp>
 #include <ext/hash_map>
 
-namespace pb_ds
+namespace __gnu_pbds
 {
   namespace detail
   {
@@ -79,7 +79,7 @@ namespace pb_ds
 
     struct default_comb_hash_fn
     {
-      typedef pb_ds::direct_mask_range_hashing<> type;
+      typedef __gnu_pbds::direct_mask_range_hashing<> type;
     };
 
     template<typename Comb_Hash_Fn>
@@ -91,19 +91,19 @@ namespace pb_ds
       typedef
       typename __conditional_type<
        is_same<
-       pb_ds::direct_mask_range_hashing<
+       __gnu_pbds::direct_mask_range_hashing<
        size_type>,
        Comb_Hash_Fn>::value,
-       pb_ds::hash_exponential_size_policy<
+       __gnu_pbds::hash_exponential_size_policy<
        size_type>,
-       pb_ds::hash_prime_size_policy>::__type
+       __gnu_pbds::hash_prime_size_policy>::__type
       size_policy_type;
 
     public:
       typedef
-      pb_ds::hash_standard_resize_policy<
+      __gnu_pbds::hash_standard_resize_policy<
       size_policy_type,
-      pb_ds::hash_load_check_resize_trigger<
+      __gnu_pbds::hash_load_check_resize_trigger<
       false,
       size_type>,
       false,
@@ -113,7 +113,7 @@ namespace pb_ds
 
     struct default_update_policy
     {
-      typedef pb_ds::move_to_front_lu_policy<> type;
+      typedef __gnu_pbds::move_to_front_lu_policy<> type;
     };
 
     template<typename Comb_Probe_Fn>
@@ -126,11 +126,11 @@ namespace pb_ds
       typedef
       typename __conditional_type<
       is_same<
-      pb_ds::direct_mask_range_hashing<size_t>,
+      __gnu_pbds::direct_mask_range_hashing<size_t>,
       Comb_Probe_Fn>::value,
-      pb_ds::linear_probe_fn<
+      __gnu_pbds::linear_probe_fn<
       size_type>,
-      pb_ds::quadratic_probe_fn<
+      __gnu_pbds::quadratic_probe_fn<
       size_type> >::__type
       type;
     };
@@ -147,7 +147,7 @@ namespace pb_ds
       char> > >
     {
       typedef
-      pb_ds::string_trie_e_access_traits<
+      __gnu_pbds::string_trie_e_access_traits<
        std::basic_string<
        Char,
        Char_Traits,
@@ -157,7 +157,7 @@ namespace pb_ds
     };
 
   } // namespace detail
-} // namespace pb_ds
+} // namespace __gnu_pbds
 
 #endif // #ifndef PB_DS_STANDARD_POLICIES_HPP
 
index 6d1f4ba9ca8726248f083ce68f2263ebfb4bbc74..ee874e823be9975ac6e6b1af36b90e7074ccfee4 100644 (file)
@@ -59,7 +59,7 @@
 #include <ext/pb_ds/detail/left_child_next_sibling_heap_/null_metadata.hpp>
 #include <debug/debug.h>
 
-namespace pb_ds
+namespace __gnu_pbds
 {
   namespace detail
   {
@@ -352,6 +352,6 @@ namespace pb_ds
 #undef PB_DS_BASE_C_DEC
 
   } // namespace detail
-} // namespace pb_ds
+} // namespace __gnu_pbds
 
 #endif 
index 3fd7dc9ac881a9b611c6b4d6fa106d8fa17d15e1..cbb57144e06d61451059784fec9ad6a578a2fdfd 100644 (file)
@@ -50,7 +50,7 @@
 #include <ext/pb_ds/detail/basic_tree_policy/null_node_metadata.hpp>
 #include <ext/pb_ds/detail/types_traits.hpp>
 
-namespace pb_ds
+namespace __gnu_pbds
 {
   namespace detail
   {
@@ -117,6 +117,6 @@ namespace pb_ds
     };
 
   } // namespace detail
-} // namespace pb_ds
+} // namespace __gnu_pbds
 
 #endif // #ifndef PB_DS_TREE_NODE_METADATA_SELECTOR_HPP
index 791f2fc6f2d2e6ebae12c41a95cb63c8c60eff7b..049a9c57527d816e5d33851076fe3e55f5722349 100644 (file)
@@ -52,7 +52,7 @@
 #include <ext/pb_ds/detail/basic_tree_policy/basic_tree_policy_base.hpp>
 #include <ext/pb_ds/detail/basic_tree_policy/null_node_metadata.hpp>
 
-namespace pb_ds
+namespace __gnu_pbds
 {
 
   namespace detail
@@ -207,7 +207,7 @@ namespace pb_ds
 
   } // namespace detail
 
-} // namespace pb_ds
+} // namespace __gnu_pbds
 
 #endif // #ifdef PB_DS_TREE_TRACE
 
index ed9e1aac6e00f0fe77a9e7ab0f94352702c22d0b..ed724e191e2c948ae3edb01ad335f2494966948d 100644 (file)
@@ -50,7 +50,7 @@
 #include <ext/pb_ds/detail/basic_tree_policy/null_node_metadata.hpp>
 #include <ext/pb_ds/detail/types_traits.hpp>
 
-namespace pb_ds
+namespace __gnu_pbds
 {
   namespace detail
   {
@@ -117,6 +117,6 @@ namespace pb_ds
     };
 
   } // namespace detail
-} // namespace pb_ds
+} // namespace __gnu_pbds
 
 #endif // #ifndef PB_DS_TRIE_NODE_METADATA_SELECTOR_HPP
index a8506ce6815606990debc9f100390cb321042c1a..2a1319a4629624654cdb8c5e8c5916ff2a709f42 100644 (file)
@@ -49,7 +49,7 @@
 
 #include <ext/pb_ds/detail/basic_tree_policy/basic_tree_policy_base.hpp>
 
-namespace pb_ds
+namespace __gnu_pbds
 {
   namespace detail
   {
@@ -249,7 +249,7 @@ namespace pb_ds
 #undef PB_DS_BASE_C_DEC
 
   } // namespace detail
-} // namespace pb_ds
+} // namespace __gnu_pbds
 
 #endif // #ifndef PB_DS_TRIE_POLICY_BASE_HPP
 
index 197b17efb6bd99f1539231abfc28f0bb7adb3bbf..f57e8d6109c628a23da8358b602c1d489cb260e3 100644 (file)
@@ -54,7 +54,7 @@
 #include <ext/type_traits.h>
 #include <ext/numeric_traits.h>
 
-namespace pb_ds
+namespace __gnu_pbds
 {
   namespace detail
   {
@@ -158,7 +158,7 @@ namespace pb_ds
     };
 
 #define PB_DS_STATIC_ASSERT(UNIQUE, E)  \
-    typedef pb_ds::detail::__static_assert_dumclass<sizeof(pb_ds::detail::__static_assert<bool(E)>)> UNIQUE##__static_assert_type
+    typedef __gnu_pbds::detail::__static_assert_dumclass<sizeof(__gnu_pbds::detail::__static_assert<bool(E)>)> UNIQUE##__static_assert_type
 
 #endif
 
@@ -168,6 +168,6 @@ namespace pb_ds
       typedef Type type;
     };
   } // namespace detail
-} // namespace pb_ds
+} // namespace __gnu_pbds
 
 #endif 
index 089ca062f278e24d4d2ed35710b9beffd2d7d54c..e493315508e95624a8093cee0eb891e9c2cc981a 100644 (file)
@@ -51,7 +51,7 @@
 #include <ext/pb_ds/detail/type_utils.hpp>
 #include <utility>
 
-namespace pb_ds
+namespace __gnu_pbds
 {
   namespace detail
   {
@@ -83,6 +83,6 @@ namespace pb_ds
       no_throw_copies  m_no_throw_copies_indicator;
     };
   } // namespace detail
-} // namespace pb_ds
+} // namespace __gnu_pbds
 
 #endif 
index 379623d2d5401b5be729b982d4b4f45ef3fc21f2..77d3f2d69272b64334e1e58a69d2a099aba49e06 100644 (file)
 #include <stdexcept>
 #include <cstdlib>
 
-namespace pb_ds
+namespace __gnu_pbds
 {
   // Base class for exceptions.
   struct container_error : public std::logic_error
   {
     container_error() 
-    : std::logic_error(__N("pb_ds::container_error")) { }
+    : std::logic_error(__N("__gnu_pbds::container_error")) { }
   };
 
   // An entry cannot be inserted into a container object for logical
@@ -104,6 +104,6 @@ namespace pb_ds
   __throw_resize_error(void)
   { std::abort(); }
 #endif
-} // namespace pb_ds
+} // namespace __gnu_pbds
 
 #endif
index c17d97831f8d182a7b56373e6cb30a9595e12b2b..d1833c17398e45e649f5fa135abf15b5af62eab8 100644 (file)
@@ -56,7 +56,7 @@
 #include <ext/pb_ds/detail/hash_fn/mod_based_range_hashing.hpp>
 #include <ext/pb_ds/detail/resize_policy/hash_load_check_resize_trigger_size_base.hpp>
 
-namespace pb_ds
+namespace __gnu_pbds
 {
   // A null hash function, indicating that the combining hash function
   // is actually a ranged hash function.
@@ -605,6 +605,6 @@ namespace pb_ds
 #undef PB_DS_CLASS_T_DEC
 #undef PB_DS_CLASS_C_DEC
 
-} // namespace pb_ds
+} // namespace __gnu_pbds
 
 #endif 
index 876ea3e2f38a48b07b75fc21289c1056e4d14906..5a63a3e16dc6ff05238a029c104fd43593f9f7b3 100644 (file)
@@ -50,7 +50,7 @@
 #include <cstdlib>
 #include <ext/pb_ds/detail/list_update_policy/counter_lu_metadata.hpp>
 
-namespace pb_ds
+namespace __gnu_pbds
 {
   // A null type that means that each link in a list-based container
   // does not actually need metadata.
@@ -137,6 +137,6 @@ namespace pb_ds
 #undef PB_DS_CLASS_T_DEC
 #undef PB_DS_CLASS_C_DEC
 
-} // namespace pb_ds
+} // namespace __gnu_pbds
 
 #endif
index c6373c5d1c95f537c0c8907ad13083b65058804c..90ffafffefaae8f42dce0885b1e5b25220a626dc 100644 (file)
@@ -51,7 +51,7 @@
 #include <ext/pb_ds/detail/priority_queue_base_dispatch.hpp>
 #include <ext/pb_ds/detail/standard_policies.hpp>
 
-namespace pb_ds
+namespace __gnu_pbds
 {
   // A priority queue.
   template<typename Value_Type, 
@@ -126,6 +126,6 @@ namespace pb_ds
     swap(priority_queue& other)
     { base_type::swap(other); }
   };
-} // namespace pb_ds
+} // namespace __gnu_pbds
 
 #endif 
index 74181b1fb9ee0fad6f4881ba814696d24c186e93..09475a2ec9516606db927247b96bdcb7f728a1d2 100644 (file)
 #include <ext/pb_ds/detail/type_utils.hpp>
 
 /**
- * @namespace pb_ds
+ * @namespace __gnu_pbds
  * @brief GNU extension policy-based data structures for public use.
  */
 
-namespace pb_ds
+namespace __gnu_pbds
 {
   // A trivial iterator tag. Signifies that the iterators has none of
   // the STL's movement abilities.
@@ -357,6 +357,6 @@ namespace pb_ds
        reverse_iteration = base_type::reverse_iteration
       };
   };
-} // namespace pb_ds
+} // namespace __gnu_pbds
 
 #endif
index 3c80fc6986a9845f13bbf38f741492185fd9bfca..dedabec5c48867429528c66ee565f6c0308eeffc 100644 (file)
@@ -51,7 +51,7 @@
 #include <ext/pb_ds/detail/type_utils.hpp>
 #include <ext/pb_ds/detail/basic_tree_policy/basic_tree_policy_base.hpp>
 
-namespace pb_ds
+namespace __gnu_pbds
 {
   // A null node updator, indicating that no node updates are required.
   template<typename Const_Node_Iterator,
@@ -163,6 +163,6 @@ namespace pb_ds
 #undef PB_DS_CLASS_C_DEC
 #undef PB_DS_BASE_C_DEC
 
-} // namespace pb_ds
+} // namespace __gnu_pbds
 
 #endif 
index ee496a11b0bf7725315628f0a8cdf7a47fa48cef..b18de195ed888b23ee1decca8be971d7c1f7691d 100644 (file)
@@ -51,7 +51,7 @@
 #include <ext/pb_ds/detail/type_utils.hpp>
 #include <ext/pb_ds/detail/trie_policy/trie_policy_base.hpp>
 
-namespace pb_ds
+namespace __gnu_pbds
 {
   // A null node updator, indicating that no node updates are required.
   template<typename Const_Node_Iterator,
@@ -356,6 +356,6 @@ namespace pb_ds
 #undef PB_DS_CLASS_C_DEC
 #undef PB_DS_BASE_C_DEC
 
-} // namespace pb_ds
+} // namespace __gnu_pbds
 
 #endif
index 4946155a66e56ed26b2fffd82f1ad0388aa35c2f..a9b4affe2a09e4f096a7308f5d2327b98ab1f9d9 100644 (file)
@@ -57,8 +57,7 @@
 #include <ext/pb_ds/tag_and_trait.hpp>
 
 using namespace std;
-using namespace pb_ds;
-using namespace pb_ds;
+using namespace __gnu_pbds;
 
 template<class DS_Category>
 void
index cc3bbe3c352da39886c494569ae79bbb7c4e98e6..3caacb78f521557d3aee6d6a0357ad114bf66c20 100644 (file)
@@ -55,8 +55,7 @@
 #include <ext/pb_ds/assoc_container.hpp>
 
 using namespace std;
-using namespace pb_ds;
-using namespace pb_ds;
+using namespace __gnu_pbds;
 
 // The following function performs a sequence of operations on an
 // associative container object mapping integers to characters.
index 77390809bb29a4e4538dcfc8767b653ab419baa6..a48860597f620160c65814a9655c0b9b91ffda58 100644 (file)
@@ -56,7 +56,7 @@
 #include <ext/pb_ds/assoc_container.hpp>
 
 using namespace std;
-using namespace pb_ds;
+using namespace __gnu_pbds;
 
 // A simple hash functor.
 // hash could serve instead of this functor, but it is not yet
index 9b5d0aa069da6c298c66160d10f6aa1c8af703e4..064e24d3610ade999bb214fd29c3d2c15d6ef314 100644 (file)
@@ -61,7 +61,7 @@
 #include <ext/pb_ds/assoc_container.hpp>
 
 using namespace std;
-using namespace pb_ds;
+using namespace __gnu_pbds;
 
 // A simple priority queue that also supports an "contains" query.
 class contains_pq
index cc7641c240508e766ffb7ecded44b07d53225a4b..beedd0e7a88805cf79bc22aa703fcec2156d218c 100644 (file)
@@ -55,8 +55,7 @@
 #include <ext/pb_ds/priority_queue.hpp>
 
 using namespace std;
-using namespace pb_ds;
-using namespace pb_ds;
+using namespace __gnu_pbds;
 
 // The following function performs a sequence of operations on a
 // priority queue object storing integers.
@@ -94,35 +93,35 @@ int main()
   {
     // Perform operations on a pairing-heap queue.
     cout << "Pairing heap" << endl;
-    pb_ds::priority_queue<int, less<int>, pairing_heap_tag> c;
+    __gnu_pbds::priority_queue<int, less<int>, pairing_heap_tag> c;
     some_op_sequence(c);
   }
 
   {
     // Perform operations on a binomial-heap queue.
     cout << "Binomial heap" << endl;
-    pb_ds::priority_queue<int, less<int>, binomial_heap_tag> c;
+    __gnu_pbds::priority_queue<int, less<int>, binomial_heap_tag> c;
     some_op_sequence(c);
   }
 
   {
     // Perform operations on a binomial-heap queue.
     cout << "Redundant-counter binomial heap" << endl;
-    pb_ds::priority_queue<int, less<int>, rc_binomial_heap_tag> c;
+    __gnu_pbds::priority_queue<int, less<int>, rc_binomial_heap_tag> c;
     some_op_sequence(c);
   }
 
   {
     // Perform operations on a binomial-heap queue.
     cout << "Binary heap" << endl;
-    pb_ds::priority_queue<int, less<int>, binary_heap_tag> c;
+    __gnu_pbds::priority_queue<int, less<int>, binary_heap_tag> c;
     some_op_sequence(c);
   }
 
   {
     // Perform operations on a thin-heap queue.
     cout << "Thin heap" << endl;
-    pb_ds::priority_queue<int, less<int>, thin_heap_tag> c;
+    __gnu_pbds::priority_queue<int, less<int>, thin_heap_tag> c;
     some_op_sequence(c);
   }
 
index 733dca311d071cf7ca6b83245feeba313dd509b6..12a9ad2af1a7e3569f15a4897ee4731554c5f1dc 100644 (file)
@@ -56,8 +56,7 @@
 #include <ext/pb_ds/tag_and_trait.hpp>
 
 using namespace std;
-using namespace pb_ds;
-using namespace pb_ds;
+using namespace __gnu_pbds;
 
 // The following function performs a sequence of operations on an
 // associative container object storing integers.
index 9142bd48377664165d7eccf829e0f093f657bc5f..b13dd0736ff7176cee0269d40702f1110d16acf5 100644 (file)
@@ -54,8 +54,7 @@
 #include <ext/pb_ds/assoc_container.hpp>
 
 using namespace std;
-using namespace pb_ds;
-using namespace pb_ds;
+using namespace __gnu_pbds;
 
 // The following functor takes a map's value-type object and returns
 // whether its key is between two numbers.
index a38c7fb6b3f2bb48c7fa243675305acc948114be..c77e6e0a141050b56acb6f42bed875f3e0ed1093 100644 (file)
@@ -55,7 +55,7 @@
 #include <ext/pb_ds/assoc_container.hpp>
 
 using namespace std;
-using namespace pb_ds;
+using namespace __gnu_pbds;
 
 int main()
 {
index 9b3e774748801a71150aaa9234f3365ef3e923d0..1518a0932ae47681a30f4fdf50a86a7c89c5d696 100644 (file)
@@ -57,7 +57,7 @@
 #include <cassert>
 
 using namespace std;
-using namespace pb_ds;
+using namespace __gnu_pbds;
 
 // A simple hash functor.
 // hash could serve instead of this functor, but it is not yet
@@ -115,7 +115,7 @@ int main()
     {
       g.resize(200);
     }
-  catch(pb_ds::resize_error& )
+  catch(__gnu_pbds::resize_error& )
     {
       ex_thrown = true;
     }
index 5107657dac6225bbb2a0b8f0ffeb85d3db0faf36..6168ba457a5f7eadb1a082e28ec68075bee36b61 100644 (file)
@@ -54,7 +54,7 @@
 #include <ext/pb_ds/hash_policy.hpp>
 
 using namespace std;
-using namespace pb_ds;
+using namespace __gnu_pbds;
 
 // A simple hash functor.
 // hash could serve instead of this functor, but it is not yet
index f8132e8e8db56ed34a1f151530b7268374d10f2c..0afc7efe6a4ee3f5a250802b7166f809142b45cd 100644 (file)
@@ -56,7 +56,7 @@
 #include <ext/pb_ds/hash_policy.hpp>
 
 using namespace std;
-using namespace pb_ds;
+using namespace __gnu_pbds;
 
 // A simple hash functor.
 // hash could serve instead of this functor, but it is not yet
index 500ed44724de2be8bd5dc31e1b0cc7987973ee0a..32b8e0fc483805d6d311bbcf3b24a0bd9dfeb82f 100644 (file)
@@ -54,7 +54,7 @@
 #include <ext/pb_ds/hash_policy.hpp>
 
 using namespace std;
-using namespace pb_ds;
+using namespace __gnu_pbds;
 
 // A simple hash functor.
 // hash could serve instead of this functor, but it is not yet
index b6421bdaf99661e7d40ed725b53555c7e122d663..548e56cc88e48345706361d38973dac03a6a8765 100644 (file)
@@ -55,7 +55,7 @@
 #include <ext/pb_ds/hash_policy.hpp>
 
 using namespace std;
-using namespace pb_ds;
+using namespace __gnu_pbds;
 
 // A simple hash functor.
 // hash could serve instead of this functor, but it is not yet
index f120ae69b5f709aeadd2ee387ba775c97471dbcb..3a6022ba696c0f401b8517bb76269d7459f383c5 100644 (file)
@@ -54,7 +54,7 @@
 #include <ext/pb_ds/assoc_container.hpp>
 
 using namespace std;
-using namespace pb_ds;
+using namespace __gnu_pbds;
 
 int main()
 {
index 33d00120d445f768775769714b40c3abd798a824..5242d82c223560b03d10b84baeb31e18b394a301 100644 (file)
@@ -57,7 +57,7 @@
 #include <ext/pb_ds/hash_policy.hpp>
 
 using namespace std;
-using namespace pb_ds;
+using namespace __gnu_pbds;
 
 // A simple hash functor. hash could serve instead of this functor,
 // but it is not yet standard everywhere.
index f2f0e3b4280a9a430c0f7e8d790e02dbc6800437..d59ed81020ecc6c8df679e1dc9a8048a15a0c56f 100644 (file)
@@ -56,8 +56,7 @@
 #include <ext/pb_ds/tag_and_trait.hpp>
 
 using namespace std;
-using namespace pb_ds;
-using namespace pb_ds;
+using namespace __gnu_pbds;
 
 template<class DS_Category>
 void
@@ -147,7 +146,7 @@ int main()
   {
     // Print the attributes of a binary heap.
     typedef
-      pb_ds::priority_queue<
+      __gnu_pbds::priority_queue<
       int,
       std::less<int>,
       binary_heap_tag>
@@ -159,7 +158,7 @@ int main()
   {
     // Print the attributes of a binomial heap.
     typedef
-      pb_ds::priority_queue<
+      __gnu_pbds::priority_queue<
       int,
       std::less<int>,
       binomial_heap_tag>
@@ -171,7 +170,7 @@ int main()
   {
     // Print the attributes of a redundant-counter binomial heap.
     typedef
-      pb_ds::priority_queue<
+      __gnu_pbds::priority_queue<
       int,
       std::less<int>,
       rc_binomial_heap_tag>
@@ -183,7 +182,7 @@ int main()
   {
     // Print the attributes of a pairing heap.
     typedef
-      pb_ds::priority_queue<
+      __gnu_pbds::priority_queue<
       int,
       std::less<int>,
       pairing_heap_tag>
@@ -198,7 +197,7 @@ int main()
      */
 
     typedef
-      pb_ds::priority_queue<
+      __gnu_pbds::priority_queue<
       int,
       std::less<int>,
       thin_heap_tag>
index 5eb4549db1bf375f137715f1dbdf1a8554dbd299..af582b37b341e2737ccc15a6d9e6277a520f49f1 100644 (file)
@@ -64,8 +64,7 @@
 #include <ext/pb_ds/priority_queue.hpp>
 
 using namespace std;
-using namespace pb_ds;
-using namespace pb_ds;
+using namespace __gnu_pbds;
 
 // The value type of the priority queue.
 // The first entry is the node's id, and the second is the distance.
@@ -108,7 +107,7 @@ int main()
     };
 
   // The priority queue type.
-  typedef pb_ds::priority_queue< pq_value, pq_value_cmp> pq_t;
+  typedef __gnu_pbds::priority_queue< pq_value, pq_value_cmp> pq_t;
 
   // The priority queue object.
   pq_t p;
index b67c8aed5d92c9339800778bf1c726fe227a1258..834994c46367d7b0e492da1e63c5b2eeb42dd9e7 100644 (file)
 #include <ext/pb_ds/priority_queue.hpp>
 
 using namespace std;
-using namespace pb_ds;
-using namespace pb_ds;
+using namespace __gnu_pbds;
 
 int
 main()
 {
-  pb_ds::priority_queue<int> p;
+  __gnu_pbds::priority_queue<int> p;
 
   // First we insert some values into the container.
   for (int i = 0; i < 1000; ++i)
index e59cb34918dae20d1b4000b5789af2d573af5d3a..14604d73dce4a112df7c149195cf58ede0619bc3 100644 (file)
 #include <ext/pb_ds/priority_queue.hpp>
 
 using namespace std;
-using namespace pb_ds;
-using namespace pb_ds;
+using namespace __gnu_pbds;
 
 int
 main()
 {
   // Two priority queue objects.
-  pb_ds::priority_queue<int> even_p, odd_p;
+  __gnu_pbds::priority_queue<int> even_p, odd_p;
 
   // First we insert some values: even ones into even_p, and odd ones
   // into odd_p.
@@ -77,7 +76,7 @@ main()
 
   // Print out the values.
   cout << "Initial values in even priority queue:" << endl;
-  pb_ds::priority_queue<int>::const_iterator it;
+  __gnu_pbds::priority_queue<int>::const_iterator it;
   for (it = even_p.begin(); it != even_p.end(); ++it)
     cout <<* it << endl;
 
index c718d1f86ffdc750910b534c095e4e03554e75e1..47a9795b5cdee26b5dc8d40afeb3831342be4d1f 100644 (file)
@@ -66,8 +66,7 @@
 #include <ext/pb_ds/assoc_container.hpp>
 
 using namespace std;
-using namespace pb_ds;
-using namespace pb_ds;
+using namespace __gnu_pbds;
 
 // A priority queue of integers, which supports fast pushes,
 // duplicated-int avoidance, and arbitrary-int erases.
@@ -107,7 +106,7 @@ public:
 
 private:
   // A priority queue of strings.
-  typedef pb_ds::priority_queue< int> pq_t;
+  typedef __gnu_pbds::priority_queue< int> pq_t;
 
   // A hash-table mapping strings to point_iterators inside the
   // priority queue.
index 4dc3721ad91720d110954446783df27968729661..0be8d8535e75cd07d1819a7bafa78e9ab857c523 100644 (file)
@@ -61,8 +61,7 @@
 #include <ext/pb_ds/hash_policy.hpp>
 
 using namespace std;
-using namespace pb_ds;
-using namespace pb_ds;
+using namespace __gnu_pbds;
 
 /**
  * A (somewhat simplistic) ranged-hash function for strings.
index 11ef830cf7ca9bb5a8ee1d04a14bf3f87b4c3d55..ba46c824b52e6ab57996d1c75a54d959e28feb9b 100644 (file)
@@ -60,7 +60,7 @@
 #include <ext/pb_ds/hash_policy.hpp>
 
 using namespace std;
-using namespace pb_ds;
+using namespace __gnu_pbds;
 
 // A string hash functor.
 struct string_hash : public unary_function<string, size_t>
index e82150de2b48e8316c546241a9da2bfa352e1574..e4411aaab43912ee04e651dc745d8511bb6f9547 100644 (file)
@@ -68,8 +68,7 @@
 #include <ext/pb_ds/assoc_container.hpp>
 
 using namespace std;
-using namespace pb_ds;
-using namespace pb_ds;
+using namespace __gnu_pbds;
 
 // Following are definitions of line intervals and functors operating
 // on them. As the purpose of this example is node invariants, and not
index 795456ab6d56d87d26303ebdaa7aad1ccc6630a8..baba67e7292a6a19e8446fb99c7da3f685b2f660 100644 (file)
@@ -59,8 +59,8 @@
 #include <cassert>
 
 using namespace std;
-using namespace pb_ds;
-using namespace pb_ds;
+using namespace __gnu_pbds;
+using namespace __gnu_pbds;
 
 int main()
 {
@@ -68,14 +68,7 @@ int main()
    *  
    */
   // A splay tree table mapping ints to chars.
-  typedef
-    tree<
-    int,
-    char,
-    less<
-    int>,
-    splay_tree_tag>
-    map_t;
+  typedef tree<int, char, less<int>, splay_tree_tag> map_t;
 
   // Two map_t object.
   map_t h0, h1;
@@ -114,7 +107,7 @@ int main()
     {
       h2.join(h3);
     }
-  catch (pb_ds::join_error& )
+  catch (__gnu_pbds::join_error& )
     {
       exception_thrown = true;
     }
index 30ae3091224586c37009ecf48ba6edd24a6704eb..7a3e26292f64e3c04787a9fc9b58ed86446480f9 100644 (file)
@@ -58,8 +58,7 @@
 #include <ext/pb_ds/tree_policy.hpp>
 
 using namespace std;
-using namespace pb_ds;
-using namespace pb_ds;
+using namespace __gnu_pbds;
 
 // A red-black tree table storing ints and their order
 // statistics. Note that since the tree uses
index 74fe8382cdc93d4b735179837d79d6b9a104bf29..24661070cd9e14ee285d8388c61598b0db19b90d 100644 (file)
 #include <ext/pb_ds/tree_policy.hpp>
 
 using namespace std;
-using namespace pb_ds;
-using namespace pb_ds;
+using namespace __gnu_pbds;
 
 // A splay tree table mapping ints to chars and storing the ints order
 // statistics.
 typedef
-tree<
-  int,
-  char,
-  less<int>,
-  splay_tree_tag,
-  tree_order_statistics_node_update>
+tree<int, char, less<int>,
+     splay_tree_tag,
+     tree_order_statistics_node_update>
 tree_map_t;
 
 int main()
index 63afba382bab47b5355fd0524541beedc164f66b..76f2b7bdb811a981bde913b4ee1f26ce3f924101 100644 (file)
@@ -57,7 +57,7 @@
 #include <ext/pb_ds/trie_policy.hpp>
 
 using namespace std;
-using namespace pb_ds;
+using namespace __gnu_pbds;
 
 // DNA is represented by a string.
 typedef string dna_t;
index 5cb140b5cb08d4bcf4a82e70aa727b476a61260a..510da445836af40ca9654e51c499c7735080fe26 100644 (file)
@@ -57,8 +57,7 @@
 #include <ext/pb_ds/tag_and_trait.hpp>
 
 using namespace std;
-using namespace pb_ds;
-using namespace pb_ds;
+using namespace __gnu_pbds;
 
 // A PATRICIA trie with a prefix-search node-updator type. Note that
 // since the node updator is trie_prefix_search_node_update, then the
index 11cd1823516cb00818c59ecfd850179e6bbce8d6..868a8cf6216f9e68a3f458014315274048866ecf 100644 (file)
@@ -54,7 +54,7 @@
 #include <ext/pb_ds/assoc_container.hpp>
 
 using namespace std;
-using namespace pb_ds;
+using namespace __gnu_pbds;
 
 int main()
 {
index 686f8b9c70f1c19fd3d33abaf1dcf4565731bb6c..b7a0b8253ff3344713fb8dbe5379414a0974bf02 100644 (file)
@@ -50,7 +50,7 @@
 #include <cassert>
 
 using namespace std;
-using namespace pb_ds;
+using namespace __gnu_pbds;
 
 /**
  * The following function performs a sequence of operations on an
index 91135084c2656ede19acd162a54a2b8e37be163d..606679b19a417711c311fe6a815d49f6ab3b6b86 100644 (file)
@@ -61,7 +61,7 @@
 int
 main(int argc, char* a_p_argv[])
 {
-  using namespace pb_ds::test;
+  using namespace __gnu_pbds::test;
   typedef hash_map_tl_t map_tl_t;
 
   return rand_regression_test(ITERATIONS, KEYS,
index 2c55313f65a3a25d5ae1ca807248403ef7a87b9c..202fe1443ce5d8f807404a07a820b671acd3f929 100644 (file)
@@ -61,7 +61,7 @@
 int
 main(int argc, char* a_p_argv[])
 {
-  using namespace pb_ds::test;
+  using namespace __gnu_pbds::test;
   typedef hash_set_tl_t map_tl_t;
 
   return rand_regression_test(ITERATIONS, KEYS,
index 6849a02ba37c8ce0f9368df7840b12538ab79779..7c8bb40eb1babc9768d37346bb6c53b3de56c135 100644 (file)
@@ -53,7 +53,7 @@
 int
 main(int argc, char* a_p_argv[])
 {
-  using namespace pb_ds::test;
+  using namespace __gnu_pbds::test;
   typedef lu_map_tl_t map_tl_t;
 
   return rand_regression_test(50, 10, 
index 3320e420407ef61913a088202b10c91692f239b1..0d31f5ad8460fbaf630bf3997861b76e1e9b945e 100644 (file)
@@ -53,7 +53,7 @@
 int
 main(int argc, char* a_p_argv[])
 {
-  using namespace pb_ds::test;
+  using namespace __gnu_pbds::test;
   typedef lu_set_tl_t map_tl_t;
 
   return rand_regression_test(50, 10,
index 3860e66eab9a3fc5b00da40c9acbb34e35163b28..8f4fdaaf68940d2165775640b34ff68e20cc64fe 100644 (file)
@@ -61,7 +61,7 @@
 int
 main(int argc, char* a_p_argv[])
 {
-  using namespace pb_ds::test;
+  using namespace __gnu_pbds::test;
   return rand_regression_test(ITERATIONS, KEYS,
                              "tree_no_data_map_rand_regression_test", 
                              pq_tl_t());
index 0f53cf22d03c3e5a7b31c2a337519f38f747d1e5..52099b64e5256d21776a90b5945ba5a622205465 100644 (file)
@@ -50,8 +50,8 @@
 #include <cassert>
 
 using namespace std;
-using namespace pb_ds;
-using namespace pb_ds;
+using namespace __gnu_pbds;
+using namespace __gnu_pbds;
 
 template<typename Cntnr>
 void
@@ -94,7 +94,7 @@ priority_queue_link_regression_test_0()
      *  Perform operations on a pairing-heap queue.
      */
     cout << "Pairing heap" << endl;
-    pb_ds::priority_queue<int, less<int>, pairing_heap_tag> c;
+    __gnu_pbds::priority_queue<int, less<int>, pairing_heap_tag> c;
     some_op_sequence(c);
   }
 
@@ -103,7 +103,7 @@ priority_queue_link_regression_test_0()
      *  Perform operations on a binomial-heap queue.
      */
     cout << "Binomial heap" << endl;
-    pb_ds::priority_queue<int, less<int>, binomial_heap_tag> c;
+    __gnu_pbds::priority_queue<int, less<int>, binomial_heap_tag> c;
     some_op_sequence(c);
   }
 
@@ -112,7 +112,7 @@ priority_queue_link_regression_test_0()
      *  Perform operations on a binomial-heap queue.
      */
     cout << "Redundant-counter binomial heap" << endl;
-    pb_ds::priority_queue<int, less<int>, rc_binomial_heap_tag> c;
+    __gnu_pbds::priority_queue<int, less<int>, rc_binomial_heap_tag> c;
     some_op_sequence(c);
   }
 
@@ -121,7 +121,7 @@ priority_queue_link_regression_test_0()
      *  Perform operations on a binomial-heap queue.
      */
     cout << "Binary heap" << endl;
-    pb_ds::priority_queue<int, less<int>, binary_heap_tag> c;
+    __gnu_pbds::priority_queue<int, less<int>, binary_heap_tag> c;
     some_op_sequence(c);
   }
 
@@ -130,7 +130,7 @@ priority_queue_link_regression_test_0()
      *  Perform operations on a thin-heap queue.
      */
     cout << "Thin heap" << endl;
-    pb_ds::priority_queue<int, less<int>, thin_heap_tag> c;
+    __gnu_pbds::priority_queue<int, less<int>, thin_heap_tag> c;
     some_op_sequence(c);
   }
 }
@@ -144,7 +144,7 @@ priority_queue_link_regression_test_1()
      *  Perform operations on a pairing-heap queue.
      */
     cout << "Pairing heap" << endl;
-    pb_ds::priority_queue<int, less<int>, pairing_heap_tag> c;
+    __gnu_pbds::priority_queue<int, less<int>, pairing_heap_tag> c;
     some_op_sequence(c);
   }
 
@@ -153,7 +153,7 @@ priority_queue_link_regression_test_1()
      *  Perform operations on a binomial-heap queue.
      */
     cout << "Binomial heap" << endl;
-    pb_ds::priority_queue<int, less<int>, binomial_heap_tag> c;
+    __gnu_pbds::priority_queue<int, less<int>, binomial_heap_tag> c;
     some_op_sequence(c);
   }
 
@@ -162,7 +162,7 @@ priority_queue_link_regression_test_1()
      *  Perform operations on a binomial-heap queue.
      */
     cout << "Redundant-counter binomial heap" << endl;
-    pb_ds::priority_queue<int, less<int>, rc_binomial_heap_tag> c;
+    __gnu_pbds::priority_queue<int, less<int>, rc_binomial_heap_tag> c;
     some_op_sequence(c);
   }
 
@@ -171,7 +171,7 @@ priority_queue_link_regression_test_1()
      *  Perform operations on a binomial-heap queue.
      */
     cout << "Binary heap" << endl;
-    pb_ds::priority_queue<int, less<int>, binary_heap_tag> c;
+    __gnu_pbds::priority_queue<int, less<int>, binary_heap_tag> c;
     some_op_sequence(c);
   }
 
@@ -180,7 +180,7 @@ priority_queue_link_regression_test_1()
      *  Perform operations on a thin-heap queue.
      */
     cout << "Thin heap" << endl;
-    pb_ds::priority_queue<int, less<int>, thin_heap_tag> c;
+    __gnu_pbds::priority_queue<int, less<int>, thin_heap_tag> c;
     some_op_sequence(c);
   }
 }
index 5a2a29ca67ff953abada9ef748502a068c463c8e..b08fb855940a86c9b1e8a7875562a84a2c87fa72 100644 (file)
@@ -61,7 +61,7 @@
 int
 main(int argc, char* a_p_argv[])
 {
-  using namespace pb_ds::test;
+  using namespace __gnu_pbds::test;
   typedef tree_map_tl_t map_tl_t;
 
   return rand_regression_test(ITERATIONS, KEYS,
index 22f00c49643bdb97fbbf218f01c86a7a3308904e..6f1024f7d4a62a3cc6a8b03646137b648209c308 100644 (file)
@@ -61,7 +61,7 @@
 int
 main(int argc, char* a_p_argv[])
 {
-  using namespace pb_ds::test;
+  using namespace __gnu_pbds::test;
   typedef tree_set_tl_t map_tl_t;
 
   return rand_regression_test(ITERATIONS, KEYS,
index 61e72bca99a340762658a9647045f2a20cd42e7b..bd55a83a094b678d2024ef33b308e52f1e69363b 100644 (file)
@@ -61,7 +61,7 @@
 int
 main(int argc, char* a_p_argv[])
 {
-  using namespace pb_ds::test;
+  using namespace __gnu_pbds::test;
   typedef trie_map_tl_t map_tl_t;
 
   return rand_regression_test(ITERATIONS, KEYS,
index 1840ebf39ba1aa61afd7ae596dae459722a0f647..3407825bd78c660cdbb38e4b8bb8474f74ecbfbd 100644 (file)
@@ -61,7 +61,7 @@
 int
 main(int argc, char* a_p_argv[])
 {
-  using namespace pb_ds::test;
+  using namespace __gnu_pbds::test;
   typedef trie_set_tl_t map_tl_t;
 
   return rand_regression_test(ITERATIONS, KEYS,
index 27a7ff87903a4a0fe9559d30a7695706b686dc01..cb7720cc609829166c8664f128bba0a8dff36b3f 100644 (file)
@@ -68,7 +68,7 @@ usage();
 int
 main(int argc, char* a_p_argv[])
 {
-  using namespace pb_ds::test;
+  using namespace __gnu_pbds::test;
 
   size_t vn = 200;
   size_t vs = 200;
@@ -87,7 +87,7 @@ main(int argc, char* a_p_argv[])
       erase_test<vec_t::const_iterator> tst(b,  vn, vs, vm);
       typedef __gnu_test::tracker_allocator<char> alloc_t;
       {
-       typedef hash_common_types<int, pb_ds::null_mapped_type, int_hash, std::equal_to<int>, alloc_t>::performance_tl tl_t;
+       typedef hash_common_types<int, __gnu_pbds::null_mapped_type, int_hash, std::equal_to<int>, alloc_t>::performance_tl tl_t;
 
        tl_t tl;
        __gnu_cxx::typelist::apply(tst, tl);
index 602ff530e249731cfd020799a35fd7824b3d09f8..d3cebc8757165e4623f08b2cb8de892cee14846b 100644 (file)
@@ -60,7 +60,7 @@ usage();
 int
 main(int argc, char* a_p_argv[])
 {
-  using namespace pb_ds::test;
+  using namespace __gnu_pbds::test;
 
   size_t vn = 200;
   size_t vs = 200;
index 61a91f4dda406da07b6cfe74b08c7ad854248ad2..2b8a2a9b77bf0c297ad79edb28d719daa97708b1 100644 (file)
@@ -67,7 +67,7 @@ set_test_parameters(size_t& n, size_t&s, size_t& m, size_t& prm);
 int
 main(int argc, char* a_p_argv[])
 {
-  using namespace pb_ds::test;
+  using namespace __gnu_pbds::test;
 
   std::string f_name = "thirty_years_among_the_dead_preproc.txt";
   size_t prm;
index 5bfa42b3b6dac05f1c218af4eac286142594dcbc..a485a8b915d93899fbf8a8f85310c938127a4cd1 100644 (file)
@@ -68,7 +68,7 @@ set_test_parameters(size_t& n, size_t&s, size_t& m, size_t& prm);
 int
 main(int argc, char* a_p_argv[])
 {
-  using namespace pb_ds::test;
+  using namespace __gnu_pbds::test;
 
   std::string f_name = "thirty_years_among_the_dead_preproc.txt";
   size_t prm;
index cdf7e94f910cca861640465d64690cec0ffb6f3e..f7f33f051e0c12a6536f3fb77a4edc486a5a219b 100644 (file)
@@ -67,7 +67,7 @@ set_test_parameters(size_t& n, size_t&s, size_t& m, size_t& prm);
 int
 main(int argc, char* a_p_argv[])
 {
-  using namespace pb_ds::test;
+  using namespace __gnu_pbds::test;
 
   std::string f_name = "thirty_years_among_the_dead_preproc.txt";
   size_t prm;
index 4487c27cf70da9c6c0f9cc9c75fec974c15388a0..ad6fdd176c16dc19e3e10e95359e3d54f78e028f 100644 (file)
@@ -60,7 +60,7 @@ usage();
 int
 main(int argc, char* a_p_argv[])
 {
-  using namespace pb_ds::test;
+  using namespace __gnu_pbds::test;
 
   size_t vn = 200;
   size_t vs = 200;
index b867f9b79e7daa9b24b86099c44b0aa2186b6b0e..5ab8db1edd599ab8b4b6dbac8b99462b7f4942ee 100644 (file)
@@ -60,7 +60,7 @@ usage();
 int
 main(int argc, char* a_p_argv[])
 {
-  using namespace pb_ds::test;
+  using namespace __gnu_pbds::test;
 
   size_t vn = 200;
   size_t vs = 200;
index 4add14795cbd767f23c5cd38bf21c95fe03c506d..c5ba556f239dc90b6b9dc5b6bebef33c5e493412 100644 (file)
@@ -80,7 +80,7 @@ usage()
 int
 main(int argc, char* a_p_argv[])
 {
-  using namespace pb_ds::test;
+  using namespace __gnu_pbds::test;
 
   std::string f_name = "thirty_years_among_the_dead_preproc.txt";
   size_t vn = 200;
index 4eadff4f6d117486cf36cb3118ec5b1a2734c79b..e8dffa6978bd4391e4d2b6ede0e634efaef3728d 100644 (file)
@@ -63,7 +63,7 @@ set_test_parameters(bool& b);
 int
 main(int argc, char* a_p_argv[])
 {
-  using namespace pb_ds::test;
+  using namespace __gnu_pbds::test;
 
   std::string f_name = "thirty_years_among_the_dead_preproc.txt";
   size_t vn = 100;
index 3185e9b1ff086828ac83356dd8ba2dd786460054..adbbc0384fd1cb595913e65419e461e39343d8c0 100644 (file)
@@ -61,7 +61,7 @@ usage();
 int
 main(int argc, char* a_p_argv[])
 {
-  using namespace pb_ds::test;
+  using namespace __gnu_pbds::test;
   std::string f_name = "thirty_years_among_the_dead_preproc.txt";
 
   size_t vn = 200;
index a02f50b6d5a61b2d47361dfee3458970109a72c0..65a009c08ce1d99414e8903ded902ba94e926b02 100644 (file)
@@ -60,7 +60,7 @@ usage();
 int
 main(int argc, char* a_p_argv[])
 {
-  using namespace pb_ds::test;
+  using namespace __gnu_pbds::test;
   std::string f_name = "thirty_years_among_the_dead_preproc.txt";
   size_t vn = 200;
   size_t vs = 200;
index cd60912051a88f9a36464c1b6e6969178bb3b2c4..6fcaa0d23f6f0a36d71b48331fb257bdc79a14ff 100644 (file)
@@ -60,7 +60,7 @@ usage();
 int
 main(int argc, char* a_p_argv[])
 {
-  using namespace pb_ds::test;
+  using namespace __gnu_pbds::test;
   std::string f_name = "thirty_years_among_the_dead_preproc.txt";
   size_t vn = 200;
   size_t vs = 200;
index 409685dd64efa5bed3307d06cf9926e1be08d8a2..87d14d7f9e5d332ee912ba0f2da533b034d03e18 100644 (file)
@@ -61,7 +61,7 @@ usage();
 int
 main(int argc, char* a_p_argv[])
 {
-  using namespace pb_ds::test;
+  using namespace __gnu_pbds::test;
 
   size_t vn = 200;
   size_t vs = 200;
index d500bd39f0d6a32b6e5dc650b6a496bd3fb610e9..e336114b4895d58120bc862a5393d4ec31b7e7a7 100644 (file)
@@ -61,7 +61,7 @@ usage();
 int
 main(int argc, char* a_p_argv[])
 {
-  using namespace pb_ds::test;
+  using namespace __gnu_pbds::test;
 
   size_t vn = 200;
   size_t vs = 200;
index 09a13fec66b0d426f131d1e4e2415209258e7583..e9554c1600d6f49c591f5728f468a2854ae85e66 100644 (file)
@@ -61,7 +61,7 @@ usage();
 int
 main(int argc, char* a_p_argv[])
 {
-  using namespace pb_ds::test;
+  using namespace __gnu_pbds::test;
   size_t vn = 200;
   size_t vs = 200;
   size_t vm = 2100;
index cc88399463f9e4006a7b8d88f459a3c93e3931a5..8409a4aebb263da9adbdc00e8bad679e547de5ae 100644 (file)
@@ -62,7 +62,7 @@ usage();
 int
 main(int argc, char* a_p_argv[])
 {
-  using namespace pb_ds::test;
+  using namespace __gnu_pbds::test;
   std::string f_name = "thirty_years_among_the_dead_preproc.txt";
   size_t vn = 200;
   size_t vs = 200;
index 5909b56b5a30c607f8c6ea72039c41419834b9d2..2ca61ca14959f259cee02bc5bcfd115da5c6a0e9 100644 (file)
@@ -59,7 +59,7 @@ usage();
 int
 main(int argc, char* a_p_argv[])
 {
-  using namespace pb_ds::test;
+  using namespace __gnu_pbds::test;
   size_t vn = 200;
   size_t vs = 200;
   size_t vm = 2100;
@@ -71,7 +71,7 @@ main(int argc, char* a_p_argv[])
       {
        typedef tree_order_statistics_test< true> test_t;
        test_t tst(vn, vs, vm);
-       typedef tree_common_types<int, pb_ds::null_mapped_type, std::less<int>, pb_ds::tree_order_statistics_node_update>::performance_tl tl_t;
+       typedef tree_common_types<int, __gnu_pbds::null_mapped_type, std::less<int>, __gnu_pbds::tree_order_statistics_node_update>::performance_tl tl_t;
        tl_t tl;
        __gnu_cxx::typelist::apply(tst, tl);
       }
index 3a27eb2a0b73ed0cf637feaa57de9cfa4fd584fb..9c4970f2826b0e34589f3dc43819272b87b0458d 100644 (file)
@@ -59,7 +59,7 @@ usage();
 int
 main(int argc, char* a_p_argv[])
 {
-  using namespace pb_ds::test;
+  using namespace __gnu_pbds::test;
   size_t vn = 200;
   size_t vs = 200;
   size_t vm = 2100;
@@ -72,7 +72,7 @@ main(int argc, char* a_p_argv[])
        typedef tree_split_join_test<true> test_t;
        test_t tst(vn, vs, vm);
 
-       typedef tree_common_types<int, pb_ds::null_mapped_type>::performance_tl tl_t;
+       typedef tree_common_types<int, __gnu_pbds::null_mapped_type>::performance_tl tl_t;
        tl_t tl;
        __gnu_cxx::typelist::apply(tst, tl);
       }
index 5ee6f90be3c9eb2ed2348adfdaff70a4a89721ef..23a630233149035d57152ffa7258f08f5da08961 100644 (file)
@@ -62,7 +62,7 @@ usage();
 int
 main(int argc, char* a_p_argv[])
 {
-  using namespace pb_ds::test;
+  using namespace __gnu_pbds::test;
   
   std::string f_name = "thirty_years_among_the_dead_preproc.txt";
   size_t vn = 200;
index da7bdedca74d924bbfe44df6c66c1a262f169b8a..44329b3f769ade15003f5e1da431a20f116ebf91 100644 (file)
@@ -60,7 +60,7 @@ usage();
 int
 main(int argc, char* a_p_argv[])
 {
-  using namespace pb_ds::test;
+  using namespace __gnu_pbds::test;
 
   std::string f_name = "thirty_years_among_the_dead_preproc.txt";
   size_t vn = 200;
index 209208747f4e473eef2c105d730a3f9331fceb88..e5af5c22ccad385379ee63f7f90088380d3ab9d7 100644 (file)
 #include <common_type/assoc/template_policy.hpp>
 #include <ext/pb_ds/assoc_container.hpp>
 
-namespace pb_ds
+namespace __gnu_pbds
 {
   namespace test
   {
     template<typename Key,
             typename Data,
-            class Hash_Fn = typename pb_ds::detail::default_hash_fn<Key>::type,
+            class Hash_Fn = typename __gnu_pbds::detail::default_hash_fn<Key>::type,
             class Eq_Fn = std::equal_to<Key>,
             class Allocator = std::allocator<std::pair<const Key, Data> > >
     struct hash_common_types
@@ -66,7 +66,7 @@ namespace pb_ds
       typedef typename Allocator::size_type size_type;
 
       typedef
-      pb_ds::test::hash_load_check_resize_trigger_t_<
+      __gnu_pbds::test::hash_load_check_resize_trigger_t_<
        Allocator,
        1, 8,
        1, 2,
@@ -74,7 +74,7 @@ namespace pb_ds
       no_access_half_load_check_resize_trigger_policy;
 
       typedef
-      pb_ds::test::hash_load_check_resize_trigger_t_<
+      __gnu_pbds::test::hash_load_check_resize_trigger_t_<
        Allocator,
        1, 8,
        1, 2,
@@ -82,7 +82,7 @@ namespace pb_ds
       access_half_load_check_resize_trigger_policy;
 
       typedef
-      pb_ds::test::hash_load_check_resize_trigger_t_<
+      __gnu_pbds::test::hash_load_check_resize_trigger_t_<
        Allocator,
        1, 8,
        1, 1,
@@ -90,149 +90,149 @@ namespace pb_ds
       no_access_one_load_check_resize_trigger_policy;
 
       typedef
-      pb_ds::test::cc_hash_max_collision_check_resize_trigger_t_<
+      __gnu_pbds::test::cc_hash_max_collision_check_resize_trigger_t_<
        Allocator,
        1, 2,
        false>
       no_access_half_max_col_check_check_resize_trigger_policy;
 
       typedef
-      pb_ds::test::cc_hash_max_collision_check_resize_trigger_t_<
+      __gnu_pbds::test::cc_hash_max_collision_check_resize_trigger_t_<
        Allocator,
        1, 2,
        true>
       access_half_max_col_check_check_resize_trigger_policy;
 
-      typedef pb_ds::test::linear_probe_fn_t_<Key, Allocator> lin_p_t;
+      typedef __gnu_pbds::test::linear_probe_fn_t_<Key, Allocator> lin_p_t;
 
-      typedef pb_ds::test::quadratic_probe_fn_t_<Key, Allocator> quad_p_t;
+      typedef __gnu_pbds::test::quadratic_probe_fn_t_<Key, Allocator> quad_p_t;
 
       typedef
       typename __gnu_cxx::typelist::create4<
-       pb_ds::detail::false_type,
-       pb_ds::test::direct_mask_range_hashing_t_<
+       __gnu_pbds::detail::false_type,
+       __gnu_pbds::test::direct_mask_range_hashing_t_<
        Allocator>,
        no_access_half_load_check_resize_trigger_policy,
-       pb_ds::test::hash_exponential_size_policy_t_<
+       __gnu_pbds::test::hash_exponential_size_policy_t_<
        Allocator> >::type
       performance_cc_policy0;
 
       typedef
       typename __gnu_cxx::typelist::create4<
-       pb_ds::detail::false_type,
-       pb_ds::test::direct_mod_range_hashing_t_<
+       __gnu_pbds::detail::false_type,
+       __gnu_pbds::test::direct_mod_range_hashing_t_<
        Allocator>,
        no_access_half_load_check_resize_trigger_policy,
-       pb_ds::test::hash_prime_size_policy_t_>::type
+       __gnu_pbds::test::hash_prime_size_policy_t_>::type
       performance_cc_policy1;
 
       typedef
       typename __gnu_cxx::typelist::create4<
-       pb_ds::detail::false_type,
-       pb_ds::test::direct_mask_range_hashing_t_<
+       __gnu_pbds::detail::false_type,
+       __gnu_pbds::test::direct_mask_range_hashing_t_<
        Allocator>,
        no_access_one_load_check_resize_trigger_policy,
-       pb_ds::test::hash_exponential_size_policy_t_<
+       __gnu_pbds::test::hash_exponential_size_policy_t_<
        Allocator> >::type
       performance_cc_policy2;
 
       typedef
       typename __gnu_cxx::typelist::create4<
-       pb_ds::detail::false_type,
-       pb_ds::test::direct_mod_range_hashing_t_<
+       __gnu_pbds::detail::false_type,
+       __gnu_pbds::test::direct_mod_range_hashing_t_<
        Allocator>,
        no_access_one_load_check_resize_trigger_policy,
-       pb_ds::test::hash_prime_size_policy_t_ >::type
+       __gnu_pbds::test::hash_prime_size_policy_t_ >::type
       performance_cc_policy3;
 
       typedef
       typename __gnu_cxx::typelist::create4<
-       pb_ds::detail::true_type,
-       pb_ds::test::direct_mask_range_hashing_t_<
+       __gnu_pbds::detail::true_type,
+       __gnu_pbds::test::direct_mask_range_hashing_t_<
        Allocator>,
        no_access_half_load_check_resize_trigger_policy,
-       pb_ds::test::hash_exponential_size_policy_t_<
+       __gnu_pbds::test::hash_exponential_size_policy_t_<
        Allocator> >::type
       performance_cc_policy4;
 
       typedef
       typename __gnu_cxx::typelist::create4<
-       pb_ds::detail::false_type,
-       pb_ds::test::direct_mask_range_hashing_t_<
+       __gnu_pbds::detail::false_type,
+       __gnu_pbds::test::direct_mask_range_hashing_t_<
        Allocator>,
        no_access_half_max_col_check_check_resize_trigger_policy,
-       pb_ds::test::hash_exponential_size_policy_t_<
+       __gnu_pbds::test::hash_exponential_size_policy_t_<
        Allocator> >::type
       performance_cc_policy5;
 
       typedef
       typename __gnu_cxx::typelist::create4<
-       pb_ds::detail::false_type,
-       pb_ds::test::direct_mask_range_hashing_t_<
+       __gnu_pbds::detail::false_type,
+       __gnu_pbds::test::direct_mask_range_hashing_t_<
        Allocator>,
        access_half_max_col_check_check_resize_trigger_policy,
-       pb_ds::test::hash_exponential_size_policy_t_<
+       __gnu_pbds::test::hash_exponential_size_policy_t_<
        Allocator> >::type
       regression_cc_policy0;
 
       typedef
       typename __gnu_cxx::typelist::create4<
-       pb_ds::detail::false_type,
-       pb_ds::test::direct_mask_range_hashing_t_<
+       __gnu_pbds::detail::false_type,
+       __gnu_pbds::test::direct_mask_range_hashing_t_<
        Allocator>,
        access_half_load_check_resize_trigger_policy,
-       pb_ds::test::hash_exponential_size_policy_t_<
+       __gnu_pbds::test::hash_exponential_size_policy_t_<
        Allocator> >::type
       regression_cc_policy1;
 
       typedef
       typename __gnu_cxx::typelist::create4<
-       pb_ds::detail::true_type,
-       pb_ds::test::direct_mod_range_hashing_t_<
+       __gnu_pbds::detail::true_type,
+       __gnu_pbds::test::direct_mod_range_hashing_t_<
        Allocator>,
        no_access_half_load_check_resize_trigger_policy,
-       pb_ds::test::hash_prime_size_policy_t_ >::type
+       __gnu_pbds::test::hash_prime_size_policy_t_ >::type
       regression_cc_policy2;
 
       typedef
       typename __gnu_cxx::typelist::create5<
-       pb_ds::detail::false_type,
+       __gnu_pbds::detail::false_type,
        lin_p_t,
-       pb_ds::test::direct_mask_range_hashing_t_<
+       __gnu_pbds::test::direct_mask_range_hashing_t_<
        Allocator>,
        no_access_half_load_check_resize_trigger_policy,
-       pb_ds::test::hash_exponential_size_policy_t_<
+       __gnu_pbds::test::hash_exponential_size_policy_t_<
        Allocator> >::type
       performance_gp_policy0;
 
       typedef
       typename __gnu_cxx::typelist::create5<
-       pb_ds::detail::false_type,
+       __gnu_pbds::detail::false_type,
        quad_p_t,
-       pb_ds::test::direct_mod_range_hashing_t_<
+       __gnu_pbds::test::direct_mod_range_hashing_t_<
        Allocator>,
        no_access_half_load_check_resize_trigger_policy,
-       pb_ds::test::hash_prime_size_policy_t_ >::type
+       __gnu_pbds::test::hash_prime_size_policy_t_ >::type
       performance_gp_policy1;
 
       typedef
       typename __gnu_cxx::typelist::create5<
-       pb_ds::detail::false_type,
+       __gnu_pbds::detail::false_type,
        quad_p_t,
-       pb_ds::test::direct_mod_range_hashing_t_<
+       __gnu_pbds::test::direct_mod_range_hashing_t_<
        Allocator>,
        access_half_load_check_resize_trigger_policy,
-       pb_ds::test::hash_prime_size_policy_t_>::type
+       __gnu_pbds::test::hash_prime_size_policy_t_>::type
       regression_gp_policy0;
 
       typedef
       typename __gnu_cxx::typelist::create5<
-       pb_ds::detail::true_type,
+       __gnu_pbds::detail::true_type,
        lin_p_t,
-       pb_ds::test::direct_mask_range_hashing_t_<
+       __gnu_pbds::test::direct_mask_range_hashing_t_<
        Allocator>,
        access_half_load_check_resize_trigger_policy,
-       pb_ds::test::hash_exponential_size_policy_t_<
+       __gnu_pbds::test::hash_exponential_size_policy_t_<
        Allocator> >::type
       regression_gp_policy1;
 
@@ -296,13 +296,13 @@ namespace pb_ds
 
       public:
         typedef
-       pb_ds::cc_hash_table<
+       __gnu_pbds::cc_hash_table<
        Key,
        Data,
        Hash_Fn,
        Eq_Fn,
        comb_hash_fn,
-       pb_ds::hash_standard_resize_policy<
+       __gnu_pbds::hash_standard_resize_policy<
        size_policy,
        trigger_policy,
        false>,
@@ -342,13 +342,13 @@ namespace pb_ds
 
       public:
         typedef
-       pb_ds::cc_hash_table<
+       __gnu_pbds::cc_hash_table<
        Key,
        Data,
        Hash_Fn,
        Eq_Fn,
        comb_hash_fn,
-       pb_ds::hash_standard_resize_policy<
+       __gnu_pbds::hash_standard_resize_policy<
        size_policy,
        trigger_policy,
        true>,
@@ -393,14 +393,14 @@ namespace pb_ds
 
       public:
         typedef
-       pb_ds::gp_hash_table<
+       __gnu_pbds::gp_hash_table<
        Key,
        Data,
        Hash_Fn,
        Eq_Fn,
        comb_probe_fn,
        probe_fn,
-       pb_ds::hash_standard_resize_policy<
+       __gnu_pbds::hash_standard_resize_policy<
        size_policy,
        trigger_policy,
        false>,
@@ -445,14 +445,14 @@ namespace pb_ds
 
       public:
         typedef
-       pb_ds::gp_hash_table<
+       __gnu_pbds::gp_hash_table<
        Key,
        Data,
        Hash_Fn,
        Eq_Fn,
        comb_probe_fn,
        probe_fn,
-       pb_ds::hash_standard_resize_policy<
+       __gnu_pbds::hash_standard_resize_policy<
        size_policy,
        trigger_policy,
        true>,
@@ -533,7 +533,7 @@ namespace pb_ds
       typedef typename Allocator::size_type size_type;
 
       typedef
-      pb_ds::test::hash_load_check_resize_trigger_t_<
+      __gnu_pbds::test::hash_load_check_resize_trigger_t_<
        Allocator,
        1, 8,
        1, 2,
@@ -541,7 +541,7 @@ namespace pb_ds
       no_access_half_load_check_resize_trigger_policy;
 
       typedef
-      pb_ds::test::hash_load_check_resize_trigger_t_<
+      __gnu_pbds::test::hash_load_check_resize_trigger_t_<
        Allocator,
        1, 8,
        1, 1,
@@ -549,28 +549,28 @@ namespace pb_ds
       no_access_one_load_check_resize_trigger_policy;
 
       typedef
-      pb_ds::hash_standard_resize_policy<
-       pb_ds::test::hash_exponential_size_policy_t_<
+      __gnu_pbds::hash_standard_resize_policy<
+       __gnu_pbds::test::hash_exponential_size_policy_t_<
        Allocator>,
        no_access_half_load_check_resize_trigger_policy>
       mask_half_resize_policy_t;
 
       typedef
-      pb_ds::hash_standard_resize_policy<
-       pb_ds::test::hash_exponential_size_policy_t_<
+      __gnu_pbds::hash_standard_resize_policy<
+       __gnu_pbds::test::hash_exponential_size_policy_t_<
        Allocator>,
        no_access_one_load_check_resize_trigger_policy>
       mask_one_resize_policy_t;
 
       typedef
-      pb_ds::hash_standard_resize_policy<
-       pb_ds::test::hash_prime_size_policy_t_,
+      __gnu_pbds::hash_standard_resize_policy<
+       __gnu_pbds::test::hash_prime_size_policy_t_,
        no_access_half_load_check_resize_trigger_policy>
       mod_half_resize_policy_t;
 
       typedef
-      pb_ds::hash_standard_resize_policy<
-       pb_ds::test::hash_prime_size_policy_t_,
+      __gnu_pbds::hash_standard_resize_policy<
+       __gnu_pbds::test::hash_prime_size_policy_t_,
        no_access_one_load_check_resize_trigger_policy>
       mod_one_resize_policy_t;
 
@@ -579,7 +579,7 @@ namespace pb_ds
 
       template<typename Allocator_>
       struct half_resize_policy_selector<
-        pb_ds::test::direct_mask_range_hashing_t_<
+        __gnu_pbds::test::direct_mask_range_hashing_t_<
        Allocator_> >
       {
         typedef mask_half_resize_policy_t type;
@@ -587,7 +587,7 @@ namespace pb_ds
 
       template<typename Allocator_>
       struct half_resize_policy_selector<
-        pb_ds::test::direct_mod_range_hashing_t_<
+        __gnu_pbds::test::direct_mod_range_hashing_t_<
        Allocator_> >
       {
         typedef mod_half_resize_policy_t type;
@@ -598,7 +598,7 @@ namespace pb_ds
 
       template<typename Allocator_>
       struct one_resize_policy_selector<
-        pb_ds::test::direct_mask_range_hashing_t_<
+        __gnu_pbds::test::direct_mask_range_hashing_t_<
        Allocator_> >
       {
         typedef mask_one_resize_policy_t type;
@@ -606,7 +606,7 @@ namespace pb_ds
 
       template<typename Allocator_>
       struct one_resize_policy_selector<
-        pb_ds::test::direct_mod_range_hashing_t_<
+        __gnu_pbds::test::direct_mod_range_hashing_t_<
        Allocator_> >
       {
         typedef mod_one_resize_policy_t type;
@@ -616,10 +616,10 @@ namespace pb_ds
       struct generic_cc_hash_table_t
       {
         typedef
-       pb_ds::cc_hash_table<
+       __gnu_pbds::cc_hash_table<
          Key,
          Data,
-         pb_ds::null_hash_fn,
+         __gnu_pbds::null_hash_fn,
          Eq_Fn,
          Comb_Hash_Fn,
          typename one_resize_policy_selector<
@@ -639,13 +639,13 @@ namespace pb_ds
       struct no_access_generic_gp_hash_table_t
       {
         typedef
-       pb_ds::gp_hash_table<
+       __gnu_pbds::gp_hash_table<
          Key,
          Data,
-         pb_ds::null_hash_fn,
+         __gnu_pbds::null_hash_fn,
          Eq_Fn,
          Comb_Probe_Fn,
-         pb_ds::null_probe_fn,
+         __gnu_pbds::null_probe_fn,
          typename half_resize_policy_selector<
          typename Comb_Probe_Fn::comb_fn>::type,
          false,
@@ -675,9 +675,9 @@ namespace pb_ds
     private:
       typedef typename Allocator::size_type size_type;
 
-      typedef pb_ds::test::move_to_front_lu_policy_t_ mtf_u;
+      typedef __gnu_pbds::test::move_to_front_lu_policy_t_ mtf_u;
 
-      typedef pb_ds::test::counter_lu_policy_t_<Allocator, 5> cnt_5_u;
+      typedef __gnu_pbds::test::counter_lu_policy_t_<Allocator, 5> cnt_5_u;
 
       typedef typename __gnu_cxx::typelist::create1<mtf_u>::type lu_policy0;
 
@@ -700,7 +700,7 @@ namespace pb_ds
 
       public:
         typedef
-       pb_ds::list_update<
+       __gnu_pbds::list_update<
        Key,
        Data,
        Eq_Fn,
@@ -733,37 +733,37 @@ namespace pb_ds
                      class Node_Iterator,
                      class Cmp_Fn_,
                      class Allocator_>
-    class Node_Update = pb_ds::null_tree_node_update,
+    class Node_Update = __gnu_pbds::null_tree_node_update,
             class Allocator = std::allocator<std::pair<const Key, Data> > >
     struct tree_common_types
     {
     private:
       typedef
-      pb_ds::tree<
+      __gnu_pbds::tree<
       Key,
       Data,
       Cmp_Fn,
-      pb_ds::ov_tree_tag,
+      __gnu_pbds::ov_tree_tag,
       Node_Update,
       Allocator>
       ov_tree_assoc_container_t;
 
       typedef
-      pb_ds::tree<
+      __gnu_pbds::tree<
        Key,
        Data,
        Cmp_Fn,
-       pb_ds::rb_tree_tag,
+       __gnu_pbds::rb_tree_tag,
        Node_Update,
        Allocator>
       rb_tree_assoc_container_t;
 
       typedef
-      pb_ds::tree<
+      __gnu_pbds::tree<
        Key,
        Data,
        Cmp_Fn,
-       pb_ds::splay_tree_tag,
+       __gnu_pbds::splay_tree_tag,
        Node_Update,
        Allocator>
       splay_tree_assoc_container_t;
@@ -792,18 +792,18 @@ namespace pb_ds
     template<typename Key,
             typename Data,
             class E_Access_Traits =
-            typename pb_ds::detail::default_trie_e_access_traits<Key>::type,
-            class Tag = pb_ds::pat_trie_tag,
+            typename __gnu_pbds::detail::default_trie_e_access_traits<Key>::type,
+            class Tag = __gnu_pbds::pat_trie_tag,
             template<typename Const_Node_Iterator,
                      typename Node_Iterator,
                      class E_Access_Traits_,
                      typename Allocator_>
-    class Node_Update = pb_ds::null_trie_node_update,
+    class Node_Update = __gnu_pbds::null_trie_node_update,
             class Allocator = std::allocator<char> >
     class trie_common_types
     {
     private:
-      typedef pb_ds::trie<Key, Data, E_Access_Traits, Tag, Node_Update, Allocator> type;
+      typedef __gnu_pbds::trie<Key, Data, E_Access_Traits, Tag, Node_Update, Allocator> type;
 
     public:
       typedef typename __gnu_cxx::typelist::create1<type>::type performance_tl;
@@ -813,6 +813,6 @@ namespace pb_ds
 
   } // namespace test
 
-} // namespace pb_ds
+} // namespace __gnu_pbds
 
 #endif // #ifndef PB_DS_COMMON_TYPES_HPP
index 024caab4b2b90348251ca380c6504d99dfa4bbec..41d908e58f5f39ebb49ec3018136c22c82588394 100644 (file)
@@ -51,7 +51,7 @@
 #include <common_type/assoc/template_policy.hpp>
 #include <io/xml.hpp>
 
-namespace pb_ds
+namespace __gnu_pbds
 {
 
   namespace test
@@ -116,7 +116,7 @@ namespace pb_ds
 
   } // namespace test
 
-} // namespace pb_ds
+} // namespace __gnu_pbds
 
 #endif // #ifndef PB_DS_COMB_HASH_FN_STRING_FORM_HPP
 
index 84edbd90273f0b57251ca02145de88d9cbe60b99..28625aff6aa065df728e2b6f61b2276e171ffb37 100644 (file)
@@ -59,7 +59,7 @@
 #include <common_type/assoc/detail/store_hash_string_form.hpp>
 #include <io/xml.hpp>
 
-namespace pb_ds
+namespace __gnu_pbds
 {
 
   namespace test
@@ -74,7 +74,7 @@ namespace pb_ds
       template<typename Cntnr>
       struct ds_string_form<
        Cntnr,
-       pb_ds::cc_hash_tag>
+       __gnu_pbds::cc_hash_tag>
       {
        static std::string
         name()
@@ -104,7 +104,7 @@ namespace pb_ds
       template<typename Cntnr>
       struct ds_string_form<
        Cntnr,
-       pb_ds::gp_hash_tag>
+       __gnu_pbds::gp_hash_tag>
       {
        static std::string
         name()
@@ -166,7 +166,7 @@ namespace pb_ds
       template<typename Cntnr>
       struct ds_string_form<
         Cntnr,
-        pb_ds::rb_tree_tag> : private tree_ds_string_form<
+        __gnu_pbds::rb_tree_tag> : private tree_ds_string_form<
         Cntnr>
       {
       private:
@@ -189,7 +189,7 @@ namespace pb_ds
       template<typename Cntnr>
       struct ds_string_form<
         Cntnr,
-        pb_ds::splay_tree_tag> : private tree_ds_string_form<
+        __gnu_pbds::splay_tree_tag> : private tree_ds_string_form<
         Cntnr>
       {
       private:
@@ -212,7 +212,7 @@ namespace pb_ds
       template<typename Cntnr>
       struct ds_string_form<
         Cntnr,
-        pb_ds::ov_tree_tag> : private tree_ds_string_form<
+        __gnu_pbds::ov_tree_tag> : private tree_ds_string_form<
         Cntnr>
       {
       private:
@@ -235,7 +235,7 @@ namespace pb_ds
       template<typename Cntnr>
       struct ds_string_form<
        Cntnr,
-       pb_ds::list_update_tag>
+       __gnu_pbds::list_update_tag>
       {
        static std::string
         name()
@@ -258,7 +258,7 @@ namespace pb_ds
       template<typename Cntnr>
       struct ds_string_form<
        Cntnr,
-       pb_ds::pat_trie_tag>
+       __gnu_pbds::pat_trie_tag>
       {
        static std::string
         name()
@@ -298,7 +298,7 @@ namespace pb_ds
 
   } // namespace test
 
-} // namespace pb_ds
+} // namespace __gnu_pbds
 
 #endif // #ifndef PB_DS_DS_STRING_FORM_HPP
 
index d8f9e977aec0af1810200e960940117f182a369d..08b65056065f3eed6ac9961357dccd21619687b7 100644 (file)
@@ -51,7 +51,7 @@
 #include <common_type/assoc/template_policy.hpp>
 #include <io/xml.hpp>
 
-namespace pb_ds
+namespace __gnu_pbds
 {
 
   namespace test
@@ -107,7 +107,7 @@ namespace pb_ds
 
   } // namespace test
 
-} // namespace pb_ds
+} // namespace __gnu_pbds
 
 #endif // #ifndef PB_DS_LU_POLICY_STRING_FORM_HPP
 
index 364e7efcc733ecd0901a488d6d535652d1d5c3b8..84c5d040051a5929c6e50ef80db9cf438982a03f 100644 (file)
@@ -51,7 +51,7 @@
 #include <common_type/assoc/template_policy.hpp>
 #include <io/xml.hpp>
 
-namespace pb_ds
+namespace __gnu_pbds
 {
 
   namespace test
@@ -103,7 +103,7 @@ namespace pb_ds
 
       template<>
       struct probe_fn_string_form<
-       pb_ds::null_probe_fn>
+       __gnu_pbds::null_probe_fn>
       {
        static std::string
         name()
@@ -122,7 +122,7 @@ namespace pb_ds
 
   } // namespace test
 
-} // namespace pb_ds
+} // namespace __gnu_pbds
 
 #endif // #ifndef PB_DS_PROBE_FN_STRING_FORM_HPP
 
index 96da7a3c721c4513bdbe0bd6faec739237532e16..8507163ff77fba6957341e7340759b6061899405 100644 (file)
@@ -53,7 +53,7 @@
 #include <common_type/assoc/template_policy.hpp>
 #include <io/xml.hpp>
 
-namespace pb_ds
+namespace __gnu_pbds
 {
 
   namespace test
@@ -70,7 +70,7 @@ namespace pb_ds
               bool External_Size_Access,
               typename Size_Type>
       struct resize_policy_string_form<
-       pb_ds::hash_standard_resize_policy<
+       __gnu_pbds::hash_standard_resize_policy<
         Size_Policy,
         Trigger_Policy,
         External_Size_Access,
@@ -100,7 +100,7 @@ namespace pb_ds
 
   } // namespace test
 
-} // namespace pb_ds
+} // namespace __gnu_pbds
 
 #endif // #ifndef PB_DS_RESIZE_POLICY_STRING_FORM_HPP
 
index 1ae61c4c14a3c153692484e7cf9f69466abbd97a..876505be3ee678522f5a7af440c2241783c9af38 100644 (file)
@@ -53,7 +53,7 @@
 #include <common_type/assoc/template_policy.hpp>
 #include <io/xml.hpp>
 
-namespace pb_ds
+namespace __gnu_pbds
 {
 
   namespace test
@@ -67,7 +67,7 @@ namespace pb_ds
 
       template<typename Allocator>
       struct size_policy_string_form<
-       pb_ds::test::hash_exponential_size_policy_t_<
+       __gnu_pbds::test::hash_exponential_size_policy_t_<
         Allocator> >
       {
        static std::string
@@ -85,7 +85,7 @@ namespace pb_ds
 
       template<>
       struct size_policy_string_form<
-       pb_ds::test::hash_prime_size_policy_t_>
+       __gnu_pbds::test::hash_prime_size_policy_t_>
       {
        static std::string
         name()
@@ -104,7 +104,7 @@ namespace pb_ds
 
   } // namespace test
 
-} // namespace pb_ds
+} // namespace __gnu_pbds
 
 #endif // #ifndef PB_DS_SIZE_POLICY_STRING_FORM_HPP
 
index 4dabbd6ca8f1ecf55252f7f34682712c72bb7db2..89ef675ced5ce5902fc68dde54d300d2c7b218b9 100644 (file)
@@ -51,7 +51,7 @@
 #include <common_type/assoc/template_policy.hpp>
 #include <io/xml.hpp>
 
-namespace pb_ds
+namespace __gnu_pbds
 {
 
   namespace test
@@ -97,7 +97,7 @@ namespace pb_ds
 
   } // namespace test
 
-} // namespace pb_ds
+} // namespace __gnu_pbds
 
 #endif // #ifndef PB_DS_STORE_HASH_STRING_FORM_HPP
 
index 14bdc7bab325c904135f43c287befc895052e324..f4b231104917aba62cb44abcd516ac670a10523d 100644 (file)
@@ -49,7 +49,7 @@
 
 #include <ext/pb_ds/tree_policy.hpp>
 
-namespace pb_ds
+namespace __gnu_pbds
 {
 
   namespace test
@@ -63,9 +63,9 @@ namespace pb_ds
       {
        enum
          {
-           value = pb_ds::detail::is_same<
+           value = __gnu_pbds::detail::is_same<
             typename Tree_Cntnr::node_update,
-            pb_ds::tree_order_statistics_node_update<
+            __gnu_pbds::tree_order_statistics_node_update<
             typename Tree_Cntnr::const_node_iterator,
             typename Tree_Cntnr::node_iterator,
             typename Tree_Cntnr::cmp_fn,
@@ -77,7 +77,7 @@ namespace pb_ds
 
   } // namespace test
 
-} // namespace pb_ds
+} // namespace __gnu_pbds
 
 #endif // #ifndef PB_DS_TREE_SUPPORTS_ORDER_STATISTICS_HPP
 
index 43f2c71110702c03794f6f477ea6bb3e3c55da27..c23708f23ccefdf3d9fdbdbfaaf300347f12d4bd 100644 (file)
@@ -49,7 +49,7 @@
 
 #include <ext/pb_ds/trie_policy.hpp>
 
-namespace pb_ds
+namespace __gnu_pbds
 {
 
   namespace test
@@ -63,9 +63,9 @@ namespace pb_ds
       {
        enum
          {
-           value = pb_ds::detail::is_same<
+           value = __gnu_pbds::detail::is_same<
             typename Tree_Cntnr::node_update,
-            pb_ds::trie_order_statistics_node_update<
+            __gnu_pbds::trie_order_statistics_node_update<
             typename Tree_Cntnr::const_node_iterator,
             typename Tree_Cntnr::node_iterator,
             typename Tree_Cntnr::e_access_traits,
@@ -77,7 +77,7 @@ namespace pb_ds
 
   } // namespace test
 
-} // namespace pb_ds
+} // namespace __gnu_pbds
 
 #endif // #ifndef PB_DS_TRIE_SUPPORTS_ORDER_STATISTICS_HPP
 
index 7fb3479715fc1e6cdc063b14cd097c75a4a93a52..0adf029507e454ec568f9fec2571662e77d5ea7d 100644 (file)
@@ -49,7 +49,7 @@
 
 #include <ext/pb_ds/trie_policy.hpp>
 
-namespace pb_ds
+namespace __gnu_pbds
 {
 
   namespace test
@@ -63,9 +63,9 @@ namespace pb_ds
       {
        enum
          {
-           value = pb_ds::detail::is_same<
+           value = __gnu_pbds::detail::is_same<
             typename Tree_Cntnr::node_update,
-            pb_ds::trie_prefix_search_node_update<
+            __gnu_pbds::trie_prefix_search_node_update<
             typename Tree_Cntnr::const_node_iterator,
             typename Tree_Cntnr::node_iterator,
             typename Tree_Cntnr::e_access_traits,
@@ -77,7 +77,7 @@ namespace pb_ds
 
   } // namespace test
 
-} // namespace pb_ds
+} // namespace __gnu_pbds
 
 #endif // #ifndef PB_DS_TRIE_SUPPORTS_PREFIX_SEARCH_HPP
 
index 0d7081f49660710bbd3b93f77b67bd121553d069..8169d93815592b2baab5e46113e2a31c53e7d183 100644 (file)
@@ -51,7 +51,7 @@
 #include <common_type/assoc/template_policy.hpp>
 #include <io/xml.hpp>
 
-namespace pb_ds
+namespace __gnu_pbds
 {
 
   namespace test
@@ -70,7 +70,7 @@ namespace pb_ds
               typename Allocator::size_type Max_Load_Denom,
               bool External_Access>
       struct trigger_policy_string_form<
-       pb_ds::test::hash_load_check_resize_trigger_t_<
+       __gnu_pbds::test::hash_load_check_resize_trigger_t_<
         Allocator,
         Min_Load_Nom,
         Min_Load_Denom,
@@ -111,7 +111,7 @@ namespace pb_ds
               typename Allocator::size_type Load_Denom,
               bool External_Access>
       struct trigger_policy_string_form<
-       pb_ds::test::cc_hash_max_collision_check_resize_trigger_t_<
+       __gnu_pbds::test::cc_hash_max_collision_check_resize_trigger_t_<
         Allocator,
         Load_Nom,
         Load_Denom,
@@ -147,7 +147,7 @@ namespace pb_ds
 
   } // namespace test
 
-} // namespace pb_ds
+} // namespace __gnu_pbds
 
 #endif // #ifndef PB_DS_TRIGGER_POLICY_STRING_FORM_HPP
 
index b34364b132df8555497e2d0da9cfab6a433ae25a..4667c9d4e2da99c964c0e0ebe5b934344617ab83 100644 (file)
@@ -52,7 +52,7 @@
 #include <io/xml.hpp>
 #include <string>
 
-namespace pb_ds
+namespace __gnu_pbds
 {
   namespace test
   {
@@ -88,7 +88,7 @@ namespace pb_ds
       { return (make_xml_tag("type", "value", "std_set")); }
     };
   } // namespace test
-} // namespace pb_ds
+} // namespace __gnu_pbds
 
 #endif
 
index f29f29d24e036625c0189393ee5cc529d33176d2..73015b8967d5160f13edb72af6b974aefbd2d5b9 100644 (file)
@@ -61,7 +61,7 @@
 #include <regression/basic_type.hpp>
 #include <io/xml.hpp>
 
-namespace pb_ds
+namespace __gnu_pbds
 {
   namespace test
   {
@@ -119,11 +119,11 @@ namespace pb_ds
          { return (""); }
 
          static std::string
-         name(pb_ds::null_mapped_type)
+         name(__gnu_pbds::null_mapped_type)
          { return ("set"); }
 
          static std::string
-         desc(pb_ds::null_mapped_type)
+         desc(__gnu_pbds::null_mapped_type)
          { return (""); }
 
        public:
@@ -183,7 +183,7 @@ namespace pb_ds
                                            typename Cntnr::container_category>
     { };
   } // namespace test
-} // namespace pb_ds
+} // namespace __gnu_pbds
 
 #endif
 
index 10f03dadd06ee7b08134ac331c04783fb2001e75..12cf9fbcac66a5f4f12c519a1135d3e15b062a5e 100644 (file)
 #include <ext/pb_ds/tree_policy.hpp>
 #include <ext/pb_ds/list_update_policy.hpp>
 
-namespace pb_ds
+namespace __gnu_pbds
 {
   namespace test
   {
     template<typename Allocator>
     struct direct_mask_range_hashing_t_ 
-    : public pb_ds::direct_mask_range_hashing<typename Allocator::size_type>
+    : public __gnu_pbds::direct_mask_range_hashing<typename Allocator::size_type>
     {
       typedef typename Allocator::size_type size_type;
-      typedef pb_ds::direct_mask_range_hashing<size_type> base_type;
+      typedef __gnu_pbds::direct_mask_range_hashing<size_type> base_type;
     };
 
     template<typename Allocator>
     struct direct_mod_range_hashing_t_ 
-    : public pb_ds::direct_mod_range_hashing<typename Allocator::size_type>
+    : public __gnu_pbds::direct_mod_range_hashing<typename Allocator::size_type>
     {
       typedef typename Allocator::size_type size_type;
-      typedef pb_ds::direct_mod_range_hashing<size_type> base_type;
+      typedef __gnu_pbds::direct_mod_range_hashing<size_type> base_type;
     };
 
     template<typename Allocator,
@@ -79,11 +79,11 @@ namespace pb_ds
             typename Allocator::size_type Max_Load_Denom,
             bool External_Access>
     struct hash_load_check_resize_trigger_t_ 
-    : public pb_ds::hash_load_check_resize_trigger<External_Access,
+    : public __gnu_pbds::hash_load_check_resize_trigger<External_Access,
                                                   typename Allocator::size_type>
     {
       typedef typename Allocator::size_type size_type;
-      typedef pb_ds::hash_load_check_resize_trigger<External_Access, size_type>  base_type;
+      typedef __gnu_pbds::hash_load_check_resize_trigger<External_Access, size_type>  base_type;
 
       inline
       hash_load_check_resize_trigger_t_() 
@@ -102,11 +102,11 @@ namespace pb_ds
             typename Allocator::size_type Load_Denom,
             bool External_Access>
     struct cc_hash_max_collision_check_resize_trigger_t_ 
-    : public pb_ds::cc_hash_max_collision_check_resize_trigger<External_Access,
+    : public __gnu_pbds::cc_hash_max_collision_check_resize_trigger<External_Access,
       typename Allocator::size_type>
     {
       typedef typename Allocator::size_type size_type;
-      typedef pb_ds::cc_hash_max_collision_check_resize_trigger<External_Access, size_type> base_type;
+      typedef __gnu_pbds::cc_hash_max_collision_check_resize_trigger<External_Access, size_type> base_type;
 
       inline
       cc_hash_max_collision_check_resize_trigger_t_() 
@@ -120,36 +120,36 @@ namespace pb_ds
        };
     };
 
-    struct hash_prime_size_policy_t_ : public pb_ds::hash_prime_size_policy
+    struct hash_prime_size_policy_t_ : public __gnu_pbds::hash_prime_size_policy
     { };
 
     template<typename Allocator>
     struct hash_exponential_size_policy_t_ 
-    : public pb_ds::hash_exponential_size_policy<typename Allocator::size_type>
+    : public __gnu_pbds::hash_exponential_size_policy<typename Allocator::size_type>
     { };
 
     template<typename Key, class Allocator>
     struct linear_probe_fn_t_ 
-    : public pb_ds::linear_probe_fn<typename Allocator::size_type>
+    : public __gnu_pbds::linear_probe_fn<typename Allocator::size_type>
     { };
 
     template<typename Key, class Allocator>
     struct quadratic_probe_fn_t_ 
-    : public pb_ds::quadratic_probe_fn<typename Allocator::size_type>
+    : public __gnu_pbds::quadratic_probe_fn<typename Allocator::size_type>
     { };
 
     template<typename Allocator, typename Allocator::size_type Max_Count>
     struct counter_lu_policy_t_ 
-    : public pb_ds::counter_lu_policy<Max_Count, Allocator>
+    : public __gnu_pbds::counter_lu_policy<Max_Count, Allocator>
     {
-      typedef pb_ds::counter_lu_policy<Max_Count, Allocator> base_type;
+      typedef __gnu_pbds::counter_lu_policy<Max_Count, Allocator> base_type;
     };
 
     struct move_to_front_lu_policy_t_ 
-    : public pb_ds::move_to_front_lu_policy<>
+    : public __gnu_pbds::move_to_front_lu_policy<>
     { };
   } // namespace test
-} // namespace pb_ds
+} // namespace __gnu_pbds
 
 #endif 
 
index a99755784637799944fa4080408254b1b501753d..80176db44dd78ea896cb704fbe302d8d38abb70e 100644 (file)
@@ -51,7 +51,7 @@
 #include <ext/pb_ds/priority_queue.hpp>
 #include <ext/typelist.h>
 
-namespace pb_ds
+namespace __gnu_pbds
 {
   namespace test
   {
@@ -62,15 +62,15 @@ namespace pb_ds
     private:
       //    typedef typename Allocator::size_type size_type;
 
-      typedef pb_ds::priority_queue<Value_Type, Cmp_Fn, pb_ds::pairing_heap_tag, Allocator> pairing_heap_t;
+      typedef __gnu_pbds::priority_queue<Value_Type, Cmp_Fn, __gnu_pbds::pairing_heap_tag, Allocator> pairing_heap_t;
 
-      typedef pb_ds::priority_queue<Value_Type, Cmp_Fn, pb_ds::binomial_heap_tag, Allocator> binomial_heap_t;
+      typedef __gnu_pbds::priority_queue<Value_Type, Cmp_Fn, __gnu_pbds::binomial_heap_tag, Allocator> binomial_heap_t;
 
-      typedef pb_ds::priority_queue<Value_Type, Cmp_Fn, pb_ds::rc_binomial_heap_tag, Allocator> rc_binomial_heap_t;
+      typedef __gnu_pbds::priority_queue<Value_Type, Cmp_Fn, __gnu_pbds::rc_binomial_heap_tag, Allocator> rc_binomial_heap_t;
 
-      typedef pb_ds::priority_queue<Value_Type, Cmp_Fn, pb_ds::binary_heap_tag, Allocator> binary_heap_t;
+      typedef __gnu_pbds::priority_queue<Value_Type, Cmp_Fn, __gnu_pbds::binary_heap_tag, Allocator> binary_heap_t;
 
-      typedef pb_ds::priority_queue<Value_Type, Cmp_Fn, pb_ds::thin_heap_tag, Allocator> thin_heap_t;
+      typedef __gnu_pbds::priority_queue<Value_Type, Cmp_Fn, __gnu_pbds::thin_heap_tag, Allocator> thin_heap_t;
 
       typedef typename __gnu_cxx::typelist::create5<thin_heap_t, pairing_heap_t, binomial_heap_t, rc_binomial_heap_t, binary_heap_t>::type all_tl;
 
@@ -82,6 +82,6 @@ namespace pb_ds
     };
 
   } // namespace test
-} // namespace pb_ds
+} // namespace __gnu_pbds
 
 #endif // #ifndef PB_DS_COMMON_TYPES_HPP
index 4c33e6c1fdbd9a2957632e68c0b4380ed460408d..bf3b68850240b637f3b2227348dbbd2baeccc858 100644 (file)
@@ -51,7 +51,7 @@
 #include <ext/pb_ds/tag_and_trait.hpp>
 #include <io/xml.hpp>
 
-namespace pb_ds
+namespace __gnu_pbds
 {
   namespace test
   {
@@ -61,7 +61,7 @@ namespace pb_ds
       struct ds_string_form;
 
       template<typename Cntnr>
-      struct ds_string_form<Cntnr, pb_ds::pairing_heap_tag>
+      struct ds_string_form<Cntnr, __gnu_pbds::pairing_heap_tag>
       {
        static std::string
         name()
@@ -73,7 +73,7 @@ namespace pb_ds
       };
 
       template<typename Cntnr>
-      struct ds_string_form<Cntnr, pb_ds::thin_heap_tag>
+      struct ds_string_form<Cntnr, __gnu_pbds::thin_heap_tag>
       {
        static std::string
         name()
@@ -85,7 +85,7 @@ namespace pb_ds
       };
 
       template<typename Cntnr>
-      struct ds_string_form<Cntnr, pb_ds::binomial_heap_tag>
+      struct ds_string_form<Cntnr, __gnu_pbds::binomial_heap_tag>
       {
        static std::string
         name()
@@ -97,7 +97,7 @@ namespace pb_ds
       };
 
       template<typename Cntnr>
-      struct ds_string_form<Cntnr, pb_ds::rc_binomial_heap_tag>
+      struct ds_string_form<Cntnr, __gnu_pbds::rc_binomial_heap_tag>
       {
        static std::string
         name()
@@ -109,7 +109,7 @@ namespace pb_ds
       };
 
       template<typename Cntnr>
-      struct ds_string_form<Cntnr, pb_ds::binary_heap_tag>
+      struct ds_string_form<Cntnr, __gnu_pbds::binary_heap_tag>
       {
        static std::string
         name()
@@ -122,7 +122,7 @@ namespace pb_ds
 
     } // namespace detail
   } // namespace test
-} // namespace pb_ds
+} // namespace __gnu_pbds
 
 #endif // #ifndef PB_DS_DS_STRING_FORM_HPP
 
index 6d85b86a11db0660d033bde164aa1a72af2a0f2b..0e5b0ce87c97f043813e314cf2e58d1eaa3b9561 100644 (file)
@@ -54,7 +54,7 @@
 #include <common_type/priority_queue/detail/ds_string_form.hpp>
 #include <io/xml.hpp>
 
-namespace pb_ds
+namespace __gnu_pbds
 {
   namespace test
   {
@@ -103,7 +103,7 @@ namespace pb_ds
       : public detail::tag_select_string_form<Cntnr, typename Cntnr::container_category>
     { };
   } // namespace test
-} // namespace pb_ds
+} // namespace __gnu_pbds
 
 #endif // #ifndef PB_DS_STRING_FORM_HPP
 
index 144cf03b2b943a4663749f36b310d79754c11672..0f97906764f2c9a124ad272af90ae49b03611e94 100644 (file)
@@ -50,7 +50,7 @@
 
 #include <string>
 
-namespace pb_ds
+namespace __gnu_pbds
 {
   namespace test
   {
@@ -67,6 +67,6 @@ namespace pb_ds
       return ret;
     }
   } // namespace test
-} // namespace pb_ds
+} // namespace __gnu_pbds
 
 #endif // #ifndef PB_DS_DNA_STR_LIMIT_HPP
index 78cc6f22735fe8f21d70c7e403431651e743e7df..59c096722560ff1a0f23e0a3bfbfc87bb38692ec 100644 (file)
@@ -49,7 +49,7 @@
 
 #include <string>
 
-namespace pb_ds
+namespace __gnu_pbds
 {
   namespace test
   {
@@ -77,6 +77,6 @@ namespace pb_ds
     size_t limit_string_hash_fn::_S_max;
 
   } // namespace test
-} // namespace pb_ds
+} // namespace __gnu_pbds
 
 #endif
index b1990b4b390d29a9f27c9897d794d0ad1572163c..00da3a95bce9b7c0f0a934d57a7ead71efe7411a 100644 (file)
@@ -49,7 +49,7 @@
 
 #include <string>
 
-namespace pb_ds
+namespace __gnu_pbds
 {
   namespace test
   {
@@ -73,6 +73,6 @@ namespace pb_ds
       }
     };
   } // namespace test
-} // namespace pb_ds
+} // namespace __gnu_pbds
 
 #endif
index e9a5465e485f4403716b8b9beb97c3cd06b8432a..ebfe6e2c605b3d90162a4346926883accc2fa1f4 100644 (file)
@@ -50,7 +50,7 @@
 #include <string>
 #include <hash_fn/dna_str_limit.hpp>
 
-namespace pb_ds
+namespace __gnu_pbds
 {
   namespace test
   {
@@ -104,6 +104,6 @@ namespace pb_ds
       { return ("string ranged-hash using" + string_form<comb_fn>::desc()); }
     };
   } // namespace test
-} // namespace pb_ds
+} // namespace __gnu_pbds
 
 #endif 
index 63bb0533c55c003497c320a3dd1e4efe6c5c3bf8..b677fed58b7081c9c476137a51379346d1c513a4 100644 (file)
@@ -49,7 +49,7 @@
 
 #include <string>
 
-namespace pb_ds
+namespace __gnu_pbds
 {
   namespace test
   {
@@ -108,6 +108,6 @@ namespace pb_ds
       { return ("string ranged-probe using" + string_form<comb_fn>::desc());}
     };
   } // namespace test
-} // namespace pb_ds
+} // namespace __gnu_pbds
 
 #endif
index 63675f9850cf670c6e24cb76ba33b71d187d6dde..033a90b3b1cd2bda24a0a2b6d6565aefde4c1663 100644 (file)
@@ -49,7 +49,7 @@
 
 #include <exception>
 
-namespace pb_ds
+namespace __gnu_pbds
 {
   namespace test
   {
@@ -67,6 +67,6 @@ namespace pb_ds
 #endif
     }
   } // namespace test
-} // namespace pb_ds
+} // namespace __gnu_pbds
 
 #endif // #ifndef PB_DS_ILLEGAL_INPUT_EX_HPP
index 365c5186532b7baca071a41b3a6dc936078a8707..b306762a9bd5ffb2b57b8ebd2241748a42b78eb4 100644 (file)
@@ -46,7 +46,7 @@
 
 #include <util/io/prog_bar.hpp>
 
-namespace pb_ds
+namespace __gnu_pbds
 {
 
   namespace test
@@ -89,4 +89,4 @@ namespace pb_ds
 
   } // namespace test
 
-} // namespace pb_ds
+} // namespace __gnu_pbds
index 0bbbda2785420d0d9e41a09f2d85dfcd6b87eca6..b58f770933fad21d269d7f805b8c534bc7c0e5b9 100644 (file)
@@ -51,7 +51,7 @@
 #include <iostream>
 #include <string>
 
-namespace pb_ds
+namespace __gnu_pbds
 {
 
   namespace test
@@ -91,6 +91,6 @@ namespace pb_ds
 
   } // namespace test
 
-} // namespace pb_ds
+} // namespace __gnu_pbds
 
 #endif // #ifndef PB_DS_PROG_BAR_HPP
index a91097c5c93237a5aa7e3f77565b2d10f7398472..c8bd15ebd24132dc4b4899fb22800af2ef16dbca 100644 (file)
@@ -54,7 +54,7 @@
 #include <string>
 #include <iostream>
 
-namespace pb_ds
+namespace __gnu_pbds
 {
 
   namespace test
@@ -75,7 +75,7 @@ namespace pb_ds
              std::cerr << "Cannot open file " << r_f_name.c_str() <<
                 std::endl;
 
-             throw pb_ds::test::illegal_input_error();
+             throw __gnu_pbds::test::illegal_input_error();
            }
 
          size_t i = 0;
@@ -93,7 +93,7 @@ namespace pb_ds
              std::cerr << "Read only " << static_cast<unsigned long>(i) <<
                 " words" << std::endl;
 
-             throw pb_ds::test::illegal_input_error();
+             throw __gnu_pbds::test::illegal_input_error();
            }
        }
       catch(...)
@@ -119,7 +119,7 @@ namespace pb_ds
              std::cerr << "Cannot open file " << r_f_name.c_str() <<
                 std::endl;
 
-             throw pb_ds::test::illegal_input_error();
+             throw __gnu_pbds::test::illegal_input_error();
            }
 
          typedef std::set< typename Vec::value_type::first_type> set_t;
@@ -145,7 +145,7 @@ namespace pb_ds
              std::cerr << "Read only " << static_cast<unsigned long>(s.size()) <<
                 " words" << std::endl;
 
-             throw pb_ds::test::illegal_input_error();
+             throw __gnu_pbds::test::illegal_input_error();
            }
        }
       catch(...)
@@ -158,6 +158,6 @@ namespace pb_ds
 
   } // namespace test
 
-} // namespace pb_ds
+} // namespace __gnu_pbds
 
 #endif // #ifndef PB_DS_TEXT_POPULATE_HPP
index c24cd6fc10e1a0503b536cd4c4356328259aaa86..824f0d733f3c2c780434e11f789afa4a6bca29c9 100644 (file)
@@ -50,7 +50,7 @@
 #include <stdlib.h>
 #include <bits/functexcept.h>
 
-namespace pb_ds
+namespace __gnu_pbds
 {
   namespace test
   {
@@ -113,4 +113,4 @@ namespace pb_ds
       return false;
     }
   } // namespace test
-} // namespace pb_ds
+} // namespace __gnu_pbds
index 725c75e62910dc2596a18d50037ef6dbafbc8901..4e0b99216ce31810089e2cacfa0b1087cbe66904 100644 (file)
@@ -50,7 +50,7 @@
 #include <io/illegal_input_error.hpp>
 #include <string>
 
-namespace pb_ds
+namespace __gnu_pbds
 {
   namespace test
   {
@@ -72,6 +72,6 @@ namespace pb_ds
     bool
     get_cmd_line_bool(int argc, char* a_p_argv[], int argn);
   } // namespace test
-} // namespace pb_ds
+} // namespace __gnu_pbds
 
 #endif // #ifndef PB_DS_VERIFIED_CMD_LINE_INPUT_HPP
index 506c1a10a0d6633f30c8f73ab23a4d84adcd53d9..eb544da4442483ffd74d9a1358029d63f17c5ab2 100644 (file)
@@ -50,7 +50,7 @@
 #include <string>
 #include <sstream>
 
-namespace pb_ds
+namespace __gnu_pbds
 {
   namespace test
   {
@@ -126,6 +126,6 @@ namespace pb_ds
       return sstrm.str();
     }
   } // namespace test
-} // namespace pb_ds
+} // namespace __gnu_pbds
 
 #endif // #ifndef PB_DS_XML_HPP
index ceedf817378e6b6f10ea3c2789101c0d0e917261..9eab6888ffb1abf60833959774a6059f7a303620 100644 (file)
@@ -51,7 +51,7 @@
 #include <iostream>
 #include <io/xml.hpp>
 
-namespace pb_ds
+namespace __gnu_pbds
 {
   namespace test
   {
@@ -83,6 +83,6 @@ namespace pb_ds
       { std::cout << "</cntnr>" << std::endl; }
     };
   } // namespace test
-} // namespace pb_ds
+} // namespace __gnu_pbds
 
 #endif // #ifndef PB_DS_XML_TEST_FORMATTER_HPP
index be0e8f4227cf97f467a14c73036a826de0d15908..7bf1879b429755e2895ca2f75760542c4351d0a4 100644 (file)
@@ -62,7 +62,7 @@
 #include <ext/hash_map>
 #endif 
 
-namespace pb_ds
+namespace __gnu_pbds
 {
   namespace test
   {
@@ -79,7 +79,7 @@ namespace pb_ds
     template<typename Key,
             typename Data,
             size_t Init_Size = 8,
-            typename Hash_Fn = typename pb_ds::detail::default_hash_fn<Key>::type,
+            typename Hash_Fn = typename __gnu_pbds::detail::default_hash_fn<Key>::type,
             typename Eq_Fn = std::equal_to<Key>,
             typename Less_Fn = std::less<Key>,
             typename Allocator = std::allocator<char>
@@ -132,7 +132,7 @@ namespace pb_ds
 #undef PB_DS_BASE_C_DEC
 
   } // namespace test
-} // namespace pb_ds
+} // namespace __gnu_pbds
 
 #endif 
 
index a525ef20759df27bbd2a4ca2c1832f11b2079c8d..d787bc9bb7abeaae653eff0835dcc2260a3f9b93 100644 (file)
@@ -54,7 +54,7 @@
 #include <native_type/assoc/native_hash_tag.hpp>
 #include <io/xml.hpp>
 
-namespace pb_ds
+namespace __gnu_pbds
 {
   namespace test
   {
@@ -64,7 +64,7 @@ namespace pb_ds
     template<typename Key,
             typename Data,
             size_t Init_Size = 8,
-            class Hash_Fn = typename pb_ds::detail::default_hash_fn<Key>::type,
+            class Hash_Fn = typename __gnu_pbds::detail::default_hash_fn<Key>::type,
             class Eq_Fn = std::equal_to<Key>,
             class Less_Fn = std::less<Key>,
             class Allocator = std::allocator<char> >
@@ -156,6 +156,6 @@ namespace pb_ds
 #undef PB_DS_BASE_C_DEC
 
   } // namespace test
-} // namespace pb_ds
+} // namespace __gnu_pbds
 
 #endif 
index c78553b73fec0f5cb5a6bdfb88248b0a57a20469..52d1aa13787d66f15dd1d2c3918d53351df04082 100644 (file)
@@ -62,7 +62,7 @@
 #include <ext/hash_set>
 #endif
 
-namespace pb_ds
+namespace __gnu_pbds
 {
   namespace test
   {
@@ -78,7 +78,7 @@ namespace pb_ds
 
     template<typename Key,
             size_t Init_Size = 8,
-         typename Hash_Fn = typename pb_ds::detail::default_hash_fn<Key>::type,
+         typename Hash_Fn = typename __gnu_pbds::detail::default_hash_fn<Key>::type,
             typename Eq_Fn = std::equal_to<Key>,
             typename Less_Fn = std::less<Key>,
             typename Allocator = std::allocator<char>
@@ -155,6 +155,6 @@ namespace pb_ds
 
 #undef PB_DS_BASE_C_DEC
   } // namespace test
-} // namespace pb_ds
+} // namespace __gnu_pbds
 
 #endif
index d4a19c2bda165e9957fd6aa7b017ebb73e77f430..ad8fec10f2c1b0adc127638ad9db98e6618c7c6f 100644 (file)
 #ifndef PB_DS_NATIVE_HASH_DS_TAG_HPP
 #define PB_DS_NATIVE_HASH_DS_TAG_HPP
 
-namespace pb_ds
+namespace __gnu_pbds
 {
   namespace test
   {
     struct native_hash_tag { };
   } // namespace test
-} // namespace pb_ds
+} // namespace __gnu_pbds
 
 #endif 
index d32730c230bafa156d0ad3deb91cdf2cf0a4e66e..babe038d2809eec4a6c42c40ffaf9d62693220d0 100644 (file)
@@ -54,7 +54,7 @@
 #include <native_type/assoc/native_tree_tag.hpp>
 #include <io/xml.hpp>
 
-namespace pb_ds
+namespace __gnu_pbds
 {
   namespace test
   {
@@ -92,6 +92,6 @@ typename Allocator::template rebind<std::pair<const Key, Data > >::other >
 
   } // namespace test
 
-} // namespace pb_ds
+} // namespace __gnu_pbds
 
 #endif // #ifndef PB_DS_NATIVE_MAP_HPP
index e2e1bafb3fb3f6f384fef5af39b006a9667fa8af..2bec37473df7b8e459dbf8b343a32a1d0058de68 100644 (file)
@@ -52,7 +52,7 @@
 #include <ext/pb_ds/detail/type_utils.hpp>
 #include <native_type/assoc/native_tree_tag.hpp>
 
-namespace pb_ds
+namespace __gnu_pbds
 {
   namespace test
   {
@@ -147,6 +147,6 @@ namespace pb_ds
 #undef PB_DS_BASE_C_DEC
 } // namespace test
 
-} // namespace pb_ds
+} // namespace __gnu_pbds
 
 #endif // #ifndef PB_DS_NATIVE_MULTIMAP_HPP
index 9d03adce3fc0707d4ef305bff4d7954aad9b1440..c605ac6b18df3246d1586060b91080464949702b 100644 (file)
@@ -53,7 +53,7 @@
 #include <native_type/assoc/native_tree_tag.hpp>
 #include <io/xml.hpp>
 
-namespace pb_ds
+namespace __gnu_pbds
 {
   namespace test
   {
@@ -92,6 +92,6 @@ namespace pb_ds
 
 #undef PB_DS_BASE_C_DEC
   } // namespace test
-} // namespace pb_ds
+} // namespace __gnu_pbds
 
 #endif // #ifndef PB_DS_NATIVE_SET_HPP
index e8f8e705fb6beb78b5ffba4b7898bcf7c9c1bf7e..de2a019b273a9e623580a34d3742bc0deccbc9b4 100644 (file)
 #ifndef PB_DS_NATIVE_TREE_DS_TAG_HPP
 #define PB_DS_NATIVE_TREE_DS_TAG_HPP
 
-namespace pb_ds
+namespace __gnu_pbds
 {
   namespace test
   {
     struct native_tree_tag
     { };
   } // namespace test
-} // namespace pb_ds
+} // namespace __gnu_pbds
 
 #endif 
index 88b2697c4bd19b9d77f704f9b9b22ae6438de017..81525c0bfc99fdb448253ee080ea807884305011 100644 (file)
@@ -55,7 +55,7 @@
 #include <ext/pb_ds/detail/type_utils.hpp>
 #include <io/xml.hpp>
 
-namespace pb_ds
+namespace __gnu_pbds
 {
   namespace test
   {
@@ -229,6 +229,6 @@ namespace pb_ds
 #undef PB_DS_CLASS_C_DEC
 
   } // namespace test
-} // namespace pb_ds
+} // namespace __gnu_pbds
 
 #endif 
index 3d2804e81f5ac0e8060d37d736bd44b2a98c094f..722811aac512cc6bcc725552a85200185a39bdf5 100644 (file)
@@ -53,7 +53,7 @@
 #include <performance/io/xml_formatter.hpp>
 #include <common_type/assoc/string_form.hpp>
 
-namespace pb_ds
+namespace __gnu_pbds
 {
   namespace test
   {
@@ -113,7 +113,7 @@ namespace pb_ds
        }
     }
   } // namespace test
-} // namespace pb_ds
+} // namespace __gnu_pbds
 
 #endif
 
index 1fb4eef90032222de518b103e4c28d0702d0641b..22300bb5b86bb12978e32634cda3b5024a92b42d 100644 (file)
@@ -53,7 +53,7 @@
 #include <performance/io/xml_formatter.hpp>
 #include <common_type/assoc/string_form.hpp>
 
-namespace pb_ds
+namespace __gnu_pbds
 {
   namespace test
   {
@@ -74,11 +74,11 @@ namespace pb_ds
 
       template<typename Cntnr>
       size_t
-      insert(Cntnr, It ins_it_b, It ins_it_e, pb_ds::detail::true_type);
+      insert(Cntnr, It ins_it_b, It ins_it_e, __gnu_pbds::detail::true_type);
 
       template<typename Cntnr>
       size_t
-      insert(Cntnr, It ins_it_b, It ins_it_e, pb_ds::detail::false_type);
+      insert(Cntnr, It ins_it_b, It ins_it_e, __gnu_pbds::detail::false_type);
 
       const It m_ins_b;
       const size_t m_ins_vn;
@@ -104,7 +104,7 @@ namespace pb_ds
          std::advance(ins_it_e, ins_size);
 
          const size_t delta_mem = insert(Cntnr(), ins_it_b, ins_it_e,
-                                         pb_ds::detail::integral_constant<int,Native>());
+                                         __gnu_pbds::detail::integral_constant<int,Native>());
 
          res_set_fmt.add_res(ins_size, static_cast<double>(delta_mem));
        }
@@ -114,7 +114,7 @@ namespace pb_ds
     template<typename Cntnr>
     size_t
     multimap_insert_test<It, Native>::
-    insert(Cntnr, It ins_it_b, It ins_it_e, pb_ds::detail::true_type)
+    insert(Cntnr, It ins_it_b, It ins_it_e, __gnu_pbds::detail::true_type)
     {
       typedef __gnu_test::tracker_allocator_counter counter_type;
       __gnu_test::tracker_allocator<char> alloc;
@@ -133,7 +133,7 @@ namespace pb_ds
     template<typename Cntnr>
     size_t
     multimap_insert_test<It, Native>::
-    insert(Cntnr, It ins_it_b, It ins_it_e, pb_ds::detail::false_type)
+    insert(Cntnr, It ins_it_b, It ins_it_e, __gnu_pbds::detail::false_type)
     {
       typedef __gnu_test::tracker_allocator_counter counter_type;
       __gnu_test::tracker_allocator<char> alloc;
@@ -148,7 +148,7 @@ namespace pb_ds
       return (final_mem - init_mem);
     }
   } // namespace test
-} // namespace pb_ds
+} // namespace __gnu_pbds
 
 #endif 
 
index e0bb1e95d739e8673b8a7b8f85bff308595a7306..2d386ff2645573ea5c8b6899f6e45778b10d6600 100644 (file)
@@ -50,7 +50,7 @@
 #include <hash_fn/string_hash_fn.hpp>
 #include <common_type/assoc/common_type.hpp>
 
-namespace pb_ds
+namespace __gnu_pbds
 {
   namespace test
   {
@@ -67,9 +67,9 @@ namespace pb_ds
       struct hash_set_tl_t
       {
        typedef
-        typename pb_ds::test::hash_common_types<
+        typename __gnu_pbds::test::hash_common_types<
          Key,
-         pb_ds::null_mapped_type,
+         __gnu_pbds::null_mapped_type,
          int_hash,
          std::equal_to<Key>,
          Allocator>::performance_min_tl
@@ -80,9 +80,9 @@ namespace pb_ds
       struct lu_set_tl_t
       {
        typedef
-        typename pb_ds::test::lu_common_types<
+        typename __gnu_pbds::test::lu_common_types<
          Key,
-         pb_ds::null_mapped_type,
+         __gnu_pbds::null_mapped_type,
          std::equal_to<
          Key>,
          Allocator>::performance_min_tl
@@ -96,8 +96,8 @@ namespace pb_ds
       {
       private:
        typedef
-        typename pb_ds::detail::__conditional_type<
-       pb_ds::detail::is_same<
+        typename __gnu_pbds::detail::__conditional_type<
+       __gnu_pbds::detail::is_same<
        int,
        Key>::value,
        int_hash,
@@ -108,7 +108,7 @@ namespace pb_ds
        struct hash_mmap_transform
        {
          typedef
-         typename pb_ds::test::hash_common_types<
+         typename __gnu_pbds::test::hash_common_types<
            Key,
            Cntnr_T,
            hash_fn_t,
@@ -137,12 +137,12 @@ namespace pb_ds
        struct tree_mmap_transform
        {
          typedef
-         typename pb_ds::test::tree_common_types<
+         typename __gnu_pbds::test::tree_common_types<
            Key,
            Cntnr_T,
            std::less<
            Key>,
-           pb_ds::null_tree_node_update,
+           __gnu_pbds::null_tree_node_update,
            Allocator>::performance_min_tl
          type;
        };
@@ -227,7 +227,7 @@ namespace pb_ds
     };
 
   } // namespace test
-} // namespace pb_ds
+} // namespace __gnu_pbds
 
 #endif
 
index be4a31b3bdc18125c601ca3f62a5f9275e30fa4e..72cdf115cbc2274a04082467936ca5ab33dec814 100644 (file)
 
 #include <common_type/assoc/common_type.hpp>
 
-namespace pb_ds
+namespace __gnu_pbds
 {
 
   namespace test
   {
 
     typedef
-    pb_ds::test::hash_common_types<
+    __gnu_pbds::test::hash_common_types<
       int,
-      pb_ds::null_mapped_type>::tl
+      __gnu_pbds::null_mapped_type>::tl
     hash_set_tl_t;
 
     template<typename Cntnr_T>
     struct hash_mmap_transform
     {
       typedef
-      typename pb_ds::test::hash_common_types<
+      typename __gnu_pbds::test::hash_common_types<
        int,
-       pb_ds::compound_data_type<
+       __gnu_pbds::compound_data_type<
        Cntnr_T> >::tl
       type;
     };
@@ -80,18 +80,18 @@ namespace pb_ds
     hash_mmap_tl_t;
 
     typedef
-    pb_ds::test::tree_common_types<
+    __gnu_pbds::test::tree_common_types<
       int,
-      pb_ds::null_mapped_type>::tl
+      __gnu_pbds::null_mapped_type>::tl
     tree_set_tl_t;
 
     template<typename Cntnr_T>
     struct tree_mmap_transform
     {
       typedef
-      typename pb_ds::test::tree_common_types<
+      typename __gnu_pbds::test::tree_common_types<
        int,
-       pb_ds::compound_data_type<
+       __gnu_pbds::compound_data_type<
        Cntnr_T> >::tl
       type;
     };
@@ -107,7 +107,7 @@ namespace pb_ds
 
   } // namespace test
 
-} // namespace pb_ds
+} // namespace __gnu_pbds
 
 #endif // #ifndef PB_DS_MULTIMAP_RANDOM_INT_INSERT_TEST_COMMON_TYPE_HPP
 
index bffac262247a0774c5c79a01f4efe6962ecc36a0..d9ec7fb15727e17cd80d682267ec69c27ef2ff9a 100644 (file)
@@ -52,7 +52,7 @@
 #include <common_type/assoc/string_form.hpp>
 #include <iterator>
 
-namespace pb_ds
+namespace __gnu_pbds
 {
   namespace test
   {
@@ -111,7 +111,7 @@ namespace pb_ds
     } // namespace detail
 
     template<typename It, bool LOR = false>
-    class find_test : private pb_ds::test::detail::timing_test_base
+    class find_test : private __gnu_pbds::test::detail::timing_test_base
     {
     public:
       find_test(It ins_b, It fnd_it_b, size_t ins_vn, size_t ins_vs, 
@@ -161,16 +161,16 @@ namespace pb_ds
          It fnd_it_e = m_fnd_it_b;
          std::advance(fnd_it_e, fnd_size);
 
-         pb_ds::test::detail::find_find_functor<It, Cntnr, LOR>
+         __gnu_pbds::test::detail::find_find_functor<It, Cntnr, LOR>
             fn(test_container, fnd_it_b, fnd_it_e);
 
          const double res =
-            pb_ds::test::detail::timing_test_base::operator()(fn);
+            __gnu_pbds::test::detail::timing_test_base::operator()(fn);
          res_set_fmt.add_res(v, res / fnd_size);
        }
     }
   } // namespace test
-} // namespace pb_ds
+} // namespace __gnu_pbds
 
 #endif 
 
index c1ff8eb064a22b6707edbd1ab80769fb31a578b2..b4dfa29b8cfceb54e0a20c5a31b9bc6aa2ceaa66 100644 (file)
@@ -53,7 +53,7 @@
 #include <common_type/assoc/string_form.hpp>
 #include <iterator>
 
-namespace pb_ds
+namespace __gnu_pbds
 {
   namespace test
   {
@@ -85,7 +85,7 @@ namespace pb_ds
     } // namespace detail
 
     template<typename It>
-    class insert_test : private pb_ds::test::detail::timing_test_base
+    class insert_test : private __gnu_pbds::test::detail::timing_test_base
     {
     public:
       insert_test(It ins_b, size_t ins_vn, size_t ins_vs, size_t ins_vm)
@@ -126,11 +126,11 @@ namespace pb_ds
          It ins_it_e = m_ins_b;
          std::advance(ins_it_e, v);
 
-         pb_ds::test::detail::insert_insert_functor<It, Cntnr>
+         __gnu_pbds::test::detail::insert_insert_functor<It, Cntnr>
             fn(ins_it_b, ins_it_e);
 
          const double res =
-            pb_ds::test::detail::timing_test_base::operator()(fn);
+            __gnu_pbds::test::detail::timing_test_base::operator()(fn);
 
          res_set_fmt.add_res(v, res / v);
        }
@@ -147,7 +147,7 @@ namespace pb_ds
         cntnr.insert((typename Cntnr::const_reference)(*ins_it));
     }
   } // namespace test
-} // namespace pb_ds
+} // namespace __gnu_pbds
 
 #endif
 
index 019a32d2a236ac604058196f8dfb1cfec54d7401..efd5997bf54d8c35dd3c40c69702cf3390823dfc 100644 (file)
@@ -52,7 +52,7 @@
 #include <common_type/assoc/string_form.hpp>
 #include <iterator>
 
-namespace pb_ds
+namespace __gnu_pbds
 {
   namespace test
   {
@@ -128,7 +128,7 @@ namespace pb_ds
 
 
     template<typename It, bool Native>
-    class multimap_find_test : private pb_ds::test::detail::timing_test_base
+    class multimap_find_test : private __gnu_pbds::test::detail::timing_test_base
     {
     public:
       multimap_find_test(It ins_b, size_t ins_vn, size_t vs, size_t ins_vm)
@@ -144,12 +144,12 @@ namespace pb_ds
 
       template<typename Cntnr>
       Cntnr
-      init(It ins_b, It ins_e, Cntnr, pb_ds::detail::true_type)
+      init(It ins_b, It ins_e, Cntnr, __gnu_pbds::detail::true_type)
       { return Cntnr(ins_b, ins_e); }
 
       template<typename Cntnr>
       Cntnr
-      init(It ins_b, It ins_e, Cntnr, pb_ds::detail::false_type)
+      init(It ins_b, It ins_e, Cntnr, __gnu_pbds::detail::false_type)
       {
        Cntnr ret;
        for (It it = ins_b; it != ins_e; ++it)
@@ -182,19 +182,19 @@ namespace pb_ds
          std::advance(ins_it_e, v);
 
          Cntnr c = init(ins_it_b, ins_it_e, Cntnr(),
-                        pb_ds::detail::integral_constant<int,Native>());
+                        __gnu_pbds::detail::integral_constant<int,Native>());
 
-         pb_ds::test::detail::multimap_find_functor<It, Cntnr, Native>
+         __gnu_pbds::test::detail::multimap_find_functor<It, Cntnr, Native>
             fn(c, ins_it_b, ins_it_e);
 
          const double res =
-            pb_ds::test::detail::timing_test_base::operator()(fn);
+            __gnu_pbds::test::detail::timing_test_base::operator()(fn);
 
          res_set_fmt.add_res(v, res / v);
        }
     }
   } // namespace test
-} // namespace pb_ds
+} // namespace __gnu_pbds
 
 #endif 
 
index e911f85948366eb0492a9dd08e69dd2bdefd3b4b..bbdc2455c94f3a7195bbd0c7141dac9fd6c042d2 100644 (file)
@@ -52,7 +52,7 @@
 #include <common_type/assoc/string_form.hpp>
 #include <iterator>
 
-namespace pb_ds
+namespace __gnu_pbds
 {
   namespace test
   {
@@ -108,7 +108,7 @@ namespace pb_ds
     } // namespace detail
 
     template<typename It, bool Native>
-    class multimap_insert_test : private pb_ds::test::detail::timing_test_base
+    class multimap_insert_test : private __gnu_pbds::test::detail::timing_test_base
     {
     public:
       multimap_insert_test(It b, size_t ins_vn, size_t ins_vs, size_t ins_vm) 
@@ -146,16 +146,16 @@ namespace pb_ds
          It ins_it_e = m_ins_b;
          std::advance(ins_it_e, v);
 
-         pb_ds::test::detail::multimap_insert_functor<It, Cntnr, Native>
+         __gnu_pbds::test::detail::multimap_insert_functor<It, Cntnr, Native>
             fn(ins_it_b, ins_it_e);
 
          const double res =
-            pb_ds::test::detail::timing_test_base::operator()(fn);
+            __gnu_pbds::test::detail::timing_test_base::operator()(fn);
          res_set_fmt.add_res(v, res / v);
        }
     }
   } // namespace test
-} // namespace pb_ds
+} // namespace __gnu_pbds
 
 #endif
 
index 6415cd8ece0457c64d6d38c5c44256abc1c14329..af84e9c94365ac4729093480157a80ade810688a 100644 (file)
@@ -51,7 +51,7 @@
 #include <common_type/assoc/string_form.hpp>
 #include <iterator>
 
-namespace pb_ds
+namespace __gnu_pbds
 {
   namespace test
   {
@@ -86,7 +86,7 @@ namespace pb_ds
     } // namespace detail
 
     template<typename It>
-    class subscript_find_test : private pb_ds::test::detail::timing_test_base
+    class subscript_find_test : private __gnu_pbds::test::detail::timing_test_base
     {
     public:
       subscript_find_test(It ins_b, It b, size_t ins_vn, size_t ins_vs, 
@@ -138,17 +138,17 @@ namespace pb_ds
          It fnd_it_e = m_fnd_b;
          std::advance(fnd_it_e, fnd_size);
 
-         pb_ds::test::detail::subscript_find_functor<It, Cntnr>
+         __gnu_pbds::test::detail::subscript_find_functor<It, Cntnr>
             fn(test_container, fnd_it_b, fnd_it_e);
 
          const double res =
-            pb_ds::test::detail::timing_test_base::operator()(fn);
+            __gnu_pbds::test::detail::timing_test_base::operator()(fn);
 
          res_set_fmt.add_res(v, res / fnd_size);
        }
     }
   } // namespace test
-} // namespace pb_ds
+} // namespace __gnu_pbds
 
 #endif 
 
index 3b9efb02978a5a07df7f8b8f46c168ce154e701c..c9a9b9fdecc98b3a315bfd2ca4be7ad99065f601 100644 (file)
@@ -52,7 +52,7 @@
 #include <common_type/assoc/string_form.hpp>
 #include <iterator>
 
-namespace pb_ds
+namespace __gnu_pbds
 {
   namespace test
   {
@@ -85,7 +85,7 @@ namespace pb_ds
     } // namespace detail
 
     template<typename It>
-    class subscript_insert_test : private pb_ds::test::detail::timing_test_base
+    class subscript_insert_test : private __gnu_pbds::test::detail::timing_test_base
     {
     public:
       subscript_insert_test(It ins_b, It b, size_t ins_vn, size_t ins_vs, 
@@ -128,17 +128,17 @@ namespace pb_ds
          It ins_it_b = m_ins_b;
          It ins_it_e = m_ins_b;
          std::advance(ins_it_e, v);
-         pb_ds::test::detail::subscript_insert_functor<It, Cntnr>
+         __gnu_pbds::test::detail::subscript_insert_functor<It, Cntnr>
             fn(ins_it_b, ins_it_e);
 
          const double res =
-            pb_ds::test::detail::timing_test_base::operator()(fn);
+            __gnu_pbds::test::detail::timing_test_base::operator()(fn);
 
          res_set_fmt.add_res(v, res / v);
        }
     }
   } // namespace test
-} // namespace pb_ds
+} // namespace __gnu_pbds
 
 #endif 
 
index fb9b2c043dbcddcab36528bbe3376f9055dee354..8ccbfb95207b94f82ad995819aeadfa471b0a796 100644 (file)
@@ -54,7 +54,7 @@
 #include <iterator>
 #include <cstdlib>
 
-namespace pb_ds
+namespace __gnu_pbds
 {
   namespace test
   {
@@ -73,7 +73,7 @@ namespace pb_ds
          enum
            {
              support_detected =
-             pb_ds::test::detail::tree_supports_order_statistics<Cntnr>::value
+             __gnu_pbds::test::detail::tree_supports_order_statistics<Cntnr>::value
            };
 
          PB_DS_STATIC_ASSERT(correct_type, support_detected);
@@ -126,7 +126,7 @@ namespace pb_ds
 
     template<bool Support_Order_Statistics>
     class tree_order_statistics_test 
-    : private pb_ds::test::detail::timing_test_base
+    : private __gnu_pbds::test::detail::timing_test_base
     {
     public:
       tree_order_statistics_test(size_t vn, size_t vs, size_t vm)
@@ -142,11 +142,11 @@ namespace pb_ds
 
       template<typename Cntnr>
       void
-      order_statistics(Cntnr& r_container, pb_ds::detail::true_type);
+      order_statistics(Cntnr& r_container, __gnu_pbds::detail::true_type);
 
       template<typename Cntnr>
       void
-      order_statistics(Cntnr& r_container, pb_ds::detail::false_type);
+      order_statistics(Cntnr& r_container, __gnu_pbds::detail::false_type);
 
     private:
       const size_t m_vn;
@@ -170,17 +170,17 @@ namespace pb_ds
          for (size_t ins = 0; ins < v; ++ ins)
             cntnr.insert((typename Cntnr::value_type)ins);
 
-         pb_ds::test::detail::order_statistics_functor<Cntnr, Support_Order_Statistics>
+         __gnu_pbds::test::detail::order_statistics_functor<Cntnr, Support_Order_Statistics>
             fn(cntnr);
 
          const double res =
-            pb_ds::test::detail::timing_test_base::operator()(fn);
+            __gnu_pbds::test::detail::timing_test_base::operator()(fn);
 
          res_set_fmt.add_res(v, res / v);
        }
     }
   } // namespace test
-} // namespace pb_ds
+} // namespace __gnu_pbds
 
 #endif 
 
index 6c906522e371b91723f6d6f74bea3573ea0c38fb..7595dc2cb0d9b0f304b9687e3f518710cb13ce20 100644 (file)
@@ -52,7 +52,7 @@
 #include <common_type/assoc/string_form.hpp>
 #include <iterator>
 
-namespace pb_ds
+namespace __gnu_pbds
 {
   namespace test
   {
@@ -111,7 +111,7 @@ namespace pb_ds
     } // namespace detail
 
     template<bool Support_Split_Join>
-    class tree_split_join_test : private pb_ds::test::detail::timing_test_base
+    class tree_split_join_test : private __gnu_pbds::test::detail::timing_test_base
     {
     public:
       tree_split_join_test(size_t vn, size_t vs, size_t vm);
@@ -153,16 +153,16 @@ namespace pb_ds
          for (size_t ins = 0; ins < v; ++ ins)
             cntnr.insert((typename Cntnr::value_type)ins);
 
-         pb_ds::test::detail::split_join_functor<Cntnr, Support_Split_Join>
+         __gnu_pbds::test::detail::split_join_functor<Cntnr, Support_Split_Join>
             fn(cntnr);
 
          const double res =
-            pb_ds::test::detail::timing_test_base::operator()(fn);
+            __gnu_pbds::test::detail::timing_test_base::operator()(fn);
          res_set_fmt.add_res(v, res);
        }
     }
   } // namespace test
-} // namespace pb_ds
+} // namespace __gnu_pbds
 
 #endif 
 
index e7d48d7dc48f9c4b892bd278bd998b906e41dbce..fdaa65e73c0e503f5902a3ef21f2c9bcc7c75eda 100644 (file)
@@ -51,7 +51,7 @@
 #include <iostream>
 #include <io/xml_test_formatter.hpp>
 
-namespace pb_ds
+namespace __gnu_pbds
 {
   namespace test
   {
@@ -83,6 +83,6 @@ namespace pb_ds
       }
     };
   } // namespace test
-} // namespace pb_ds
+} // namespace __gnu_pbds
 
 #endif // #ifndef PB_DS_XML_TEST_PERFORMANCE_FORMATTER_HPP
index a3b8486f191c6081038750314dff7122b56b98ec..4f84fa64b9ce1eca3adc4158649d3713973a96d2 100644 (file)
@@ -53,7 +53,7 @@
 #include <performance/io/xml_formatter.hpp>
 #include <common_type/priority_queue/string_form.hpp>
 
-namespace pb_ds
+namespace __gnu_pbds
 {
   namespace test
   {
@@ -115,7 +115,7 @@ namespace pb_ds
        }
     }
   } // namespace test
-} // namespace pb_ds
+} // namespace __gnu_pbds
 
 #endif 
 
index d04f9041b3c110e15c732241c2d304879fe31a94..e419e4f173a5554ac12930f7b4557bf8ee90f887 100644 (file)
@@ -53,7 +53,7 @@
 #include <common_type/priority_queue/string_form.hpp>
 #include <iterator>
 
-namespace pb_ds
+namespace __gnu_pbds
 {
   namespace test
   {
@@ -114,7 +114,7 @@ namespace pb_ds
     } // namespace detail
 
     template<typename It>
-    class join_test : private pb_ds::test::detail::timing_test_base
+    class join_test : private __gnu_pbds::test::detail::timing_test_base
     {
     public:
       join_test(It ins_b, size_t ins_vn, size_t ins_vs, size_t ins_vm)
@@ -125,9 +125,9 @@ namespace pb_ds
       void
       operator()(Cntnr)
       {
-       using pb_ds::test::detail::double_push_functor;
-       using pb_ds::test::detail::double_push_join_functor;
-       typedef pb_ds::test::detail::timing_test_base base_type;
+       using __gnu_pbds::test::detail::double_push_functor;
+       using __gnu_pbds::test::detail::double_push_join_functor;
+       typedef __gnu_pbds::test::detail::timing_test_base base_type;
        typedef double_push_functor<It, Cntnr> psh_fnct;
        typedef double_push_join_functor<It, Cntnr> psh_jn_fnct;
 
@@ -171,7 +171,7 @@ namespace pb_ds
       const size_t     m_ins_vm;
     };
   } // namespace test
-} // namespace pb_ds
+} // namespace __gnu_pbds
 
 #endif 
 
index 33c7e58bdd16c7dd8ddf0f3a00e2696c19a429ba..1ce1804f297f8bdb018133e94086f0dfddced524 100644 (file)
@@ -53,7 +53,7 @@
 #include <common_type/priority_queue/string_form.hpp>
 #include <iterator>
 
-namespace pb_ds
+namespace __gnu_pbds
 {
   namespace test
   {
@@ -126,7 +126,7 @@ namespace pb_ds
 
       // Specializations.
       template<typename It, class Cntnr>
-      class push_functor<It, Cntnr, pb_ds::binary_heap_tag>
+      class push_functor<It, Cntnr, __gnu_pbds::binary_heap_tag>
       {
       public:
         push_functor(It ins_it_b,  It ins_it_e) 
@@ -151,7 +151,7 @@ namespace pb_ds
       };
 
       template<typename It, class Cntnr>
-      class push_functor<It, Cntnr, pb_ds::test::native_pq_tag>
+      class push_functor<It, Cntnr, __gnu_pbds::test::native_pq_tag>
       {
       public:
         push_functor(It ins_it_b,  It ins_it_e) 
@@ -178,7 +178,7 @@ namespace pb_ds
 
 
       template<typename It, class Cntnr>
-      class push_modify_functor<It, Cntnr, pb_ds::binary_heap_tag>
+      class push_modify_functor<It, Cntnr, __gnu_pbds::binary_heap_tag>
       {
       private:
        typedef typename Cntnr::iterator iterator;
@@ -220,7 +220,7 @@ namespace pb_ds
       };
 
       template<typename It, class Cntnr>
-      class push_modify_functor<It, Cntnr, pb_ds::test::native_pq_tag>
+      class push_modify_functor<It, Cntnr, __gnu_pbds::test::native_pq_tag>
       {
       private:
        typedef typename Cntnr::value_type value_type;
@@ -253,7 +253,7 @@ namespace pb_ds
     } // namespace detail
 
     template<typename It>
-    class modify_test : private pb_ds::test::detail::timing_test_base
+    class modify_test : private __gnu_pbds::test::detail::timing_test_base
     {
     public:
       modify_test(It b, size_t vn, size_t vs, size_t vm, bool modify_up)
@@ -333,7 +333,7 @@ namespace pb_ds
        }
     }
   } // namespace test
-} // namespace pb_ds
+} // namespace __gnu_pbds
 
 #endif
 
index ef04c3258cc1c7f5528eec8671c9d6ec402b2d7c..a2303f9b1b376318a99457fbb0805b87a567af2f 100644 (file)
@@ -53,7 +53,7 @@
 #include <common_type/priority_queue/string_form.hpp>
 #include <iterator>
 
-namespace pb_ds
+namespace __gnu_pbds
 {
   namespace test
   {
@@ -88,7 +88,7 @@ namespace pb_ds
     } // namespace detail
 
     template<typename It>
-    class push_pop_test : private pb_ds::test::detail::timing_test_base
+    class push_pop_test : private __gnu_pbds::test::detail::timing_test_base
     {
     public:
       push_pop_test(It ins_b, size_t ins_vn, size_t ins_vs, size_t ins_vm)
@@ -135,17 +135,17 @@ namespace pb_ds
          It ins_it_e = m_ins_b;
          std::advance(ins_it_e, v);
 
-         pb_ds::test::detail::push_pop_push_pop_functor<It, Cntnr>
+         __gnu_pbds::test::detail::push_pop_push_pop_functor<It, Cntnr>
             fn(ins_it_b, ins_it_e);
 
          const double res =
-            pb_ds::test::detail::timing_test_base::operator()(fn);
+            __gnu_pbds::test::detail::timing_test_base::operator()(fn);
 
          res_set_fmt.add_res(v, res / v);
        }
     }
   } // namespace test
-} // namespace pb_ds
+} // namespace __gnu_pbds
 
 #endif 
 
index d6f280501dd49c009706b76206299d32a6d7404a..961c00ec6385d1bf20d7bca76894e267f1576b03 100644 (file)
@@ -53,7 +53,7 @@
 #include <common_type/priority_queue/string_form.hpp>
 #include <iterator>
 
-namespace pb_ds
+namespace __gnu_pbds
 {
   namespace test
   {
@@ -85,7 +85,7 @@ namespace pb_ds
     } // namespace detail
 
     template<typename It>
-    class push_test : private pb_ds::test::detail::timing_test_base
+    class push_test : private __gnu_pbds::test::detail::timing_test_base
     {
     public:
       push_test(It ins_b, size_t ins_vn, size_t ins_vs, size_t ins_vm)
@@ -127,11 +127,11 @@ namespace pb_ds
          It ins_it_e = m_ins_b;
          std::advance(ins_it_e, v);
 
-         pb_ds::test::detail::push_push_functor<It, Cntnr>
+         __gnu_pbds::test::detail::push_push_functor<It, Cntnr>
             fn(ins_it_b, ins_it_e);
 
          const double res =
-            pb_ds::test::detail::timing_test_base::operator()(fn);
+            __gnu_pbds::test::detail::timing_test_base::operator()(fn);
 
          res_set_fmt.add_res(v, res / v);
        }
@@ -148,7 +148,7 @@ namespace pb_ds
         cntnr.push((typename Cntnr::const_reference)(*ins_it));
     }
   } // namespace test
-} // namespace pb_ds
+} // namespace __gnu_pbds
 
 #endif 
 
index 39748bf2d8da72a93495c5622b3905b2f71bf145..e21d14dc61e2054e773d3e85578a66e53f600941 100644 (file)
@@ -46,7 +46,7 @@
 
 #include <util/performance/time/elapsed_timer.hpp>
 
-namespace pb_ds
+namespace __gnu_pbds
 {
 
   namespace test
@@ -75,4 +75,4 @@ namespace pb_ds
 
   } // namespace test
 
-} // namespace pb_ds
+} // namespace __gnu_pbds
index 06d9b307984e81512c4a951384e9d41e80a2b730..2ab7ac0e3102df56c1ddcbc7f9e30385611d8217 100644 (file)
@@ -50,7 +50,7 @@
 #include <time.h>
 #include <iosfwd>
 
-namespace pb_ds
+namespace __gnu_pbds
 {
 
   namespace test
@@ -72,6 +72,6 @@ namespace pb_ds
 
   } // namespace test
 
-} // namespace pb_ds
+} // namespace __gnu_pbds
 
 #endif // #ifndef PB_DS_TEST_TIME_HPP
index a56d2c2131394342d1511327ee49e2ca4e9bcd93..8e4cd99dc0e918424b521e9ad2ba61df9cd95fc0 100644 (file)
@@ -50,7 +50,7 @@
 #include <performance/time/elapsed_timer.hpp>
 #include <statistic/result_recorder.hpp>
 
-namespace pb_ds
+namespace __gnu_pbds
 {
   namespace test
   {
@@ -81,7 +81,7 @@ namespace pb_ds
       timing_test_base::operator()(Functor& fn)
       {
        const std::size_t resolution = get_min_resolution(fn);
-       pb_ds::test::detail::result_recorder<double> rec;
+       __gnu_pbds::test::detail::result_recorder<double> rec;
        double res;
        do
          res = run_at_resolution(fn, resolution);
@@ -121,7 +121,7 @@ namespace pb_ds
 
     } // namespace detail
   } // namespace test
-} // namespace pb_ds
+} // namespace __gnu_pbds
 
 #endif 
 
index 0f86f38da3da8dd9c28538549869698428aeac9d..61f04a8336d681322d7ef3e839c1705473200409 100644 (file)
@@ -50,7 +50,7 @@
 #include <regression/basic_type.hpp>
 #include <common_type/assoc/common_type.hpp>
 
-namespace pb_ds
+namespace __gnu_pbds
 {
 namespace test
 {
@@ -72,15 +72,15 @@ namespace test
     }
   };
 
-  typedef pb_ds::string_trie_e_access_traits<basic_type, 'a', 'a' + basic_type::distinct_chars - 1, false, alloc_type> e_access_traits_t;
+  typedef __gnu_pbds::string_trie_e_access_traits<basic_type, 'a', 'a' + basic_type::distinct_chars - 1, false, alloc_type> e_access_traits_t;
 
   template<typename Data_Type>
   struct tree_types
   {
   private:
-    typedef typename tree_common_types<basic_type, Data_Type, std::less<basic_type>, pb_ds::null_tree_node_update, alloc_type>::regression_tl no_order_statistics_tl_t;
+    typedef typename tree_common_types<basic_type, Data_Type, std::less<basic_type>, __gnu_pbds::null_tree_node_update, alloc_type>::regression_tl no_order_statistics_tl_t;
 
-    typedef typename tree_common_types<basic_type, Data_Type, std::less<basic_type>, pb_ds::tree_order_statistics_node_update, alloc_type>::regression_tl order_statistics_tl_t;
+    typedef typename tree_common_types<basic_type, Data_Type, std::less<basic_type>, __gnu_pbds::tree_order_statistics_node_update, alloc_type>::regression_tl order_statistics_tl_t;
 
   public:
     typedef typename __gnu_cxx::typelist::append<no_order_statistics_tl_t, order_statistics_tl_t>::type tl_t;
@@ -92,11 +92,11 @@ namespace test
   struct trie_types
   {
   private:
-    typedef typename trie_common_types<basic_type, Data_Type, e_access_traits_t, pb_ds::pat_trie_tag, pb_ds::null_trie_node_update, alloc_type>::regression_tl no_updates_tl_t;
+    typedef typename trie_common_types<basic_type, Data_Type, e_access_traits_t, __gnu_pbds::pat_trie_tag, __gnu_pbds::null_trie_node_update, alloc_type>::regression_tl no_updates_tl_t;
 
-    typedef typename trie_common_types<basic_type, Data_Type, e_access_traits_t, pb_ds::pat_trie_tag, pb_ds::trie_order_statistics_node_update, alloc_type>::regression_tl order_statistics_tl_t;
+    typedef typename trie_common_types<basic_type, Data_Type, e_access_traits_t, __gnu_pbds::pat_trie_tag, __gnu_pbds::trie_order_statistics_node_update, alloc_type>::regression_tl order_statistics_tl_t;
 
-    typedef typename trie_common_types<basic_type, Data_Type, e_access_traits_t, pb_ds::pat_trie_tag, pb_ds::trie_prefix_search_node_update, alloc_type>::regression_tl prefix_search_tl_t;
+    typedef typename trie_common_types<basic_type, Data_Type, e_access_traits_t, __gnu_pbds::pat_trie_tag, __gnu_pbds::trie_prefix_search_node_update, alloc_type>::regression_tl prefix_search_tl_t;
 
   public:
     typedef typename __gnu_cxx::typelist::append<no_updates_tl_t, typename __gnu_cxx::typelist::append<prefix_search_tl_t, order_statistics_tl_t>::type>::type tl_t;
@@ -140,6 +140,6 @@ namespace test
   typedef trie_types<basic_type>::tl_t                         trie_map_tl_t;
   typedef trie_types<basic_type>::min_tl_t             min_trie_map_tl_t;
 } // namespace test
-} // namespace pb_ds
+} // namespace __gnu_pbds
 
 #endif 
index ad93bf47142a6aa3baa1660f203b9e12694266a3..93a12922ffa9431a030d71945ffe393927cf56aa 100644 (file)
@@ -50,7 +50,7 @@
 #include <string>
 #include <ext/throw_allocator.h>
 
-namespace pb_ds
+namespace __gnu_pbds
 {
 namespace test
 {
@@ -99,6 +99,6 @@ namespace test
 #undef PB_DS_BASE_C_DEC
 
 } // namespace test
-} // namespace pb_ds
+} // namespace __gnu_pbds
 
 #endif 
index ce5a9e81a01e3d3418fc31547ab057ac0eed2965..7740a913852bdd5dca452f5c0b01f20e215dc2c5 100644 (file)
@@ -50,7 +50,7 @@
 #include <regression/basic_type.hpp>
 #include <common_type/priority_queue/common_type.hpp>
 
-namespace pb_ds
+namespace __gnu_pbds
 {
 namespace test
 {
@@ -60,6 +60,6 @@ namespace test
 
   typedef pq_tl_t min_pq_tl_t;
 } // namespace test
-} // namespace pb_ds
+} // namespace __gnu_pbds
 
 #endif
index 3f77c219e00d71611ca35d8529ad906831c74417..7eaa3968f9a09ec20a4fae21054017952ed52378 100644 (file)
@@ -58,7 +58,7 @@
 #include <common_type/assoc/string_form.hpp>
 #include <regression/rand/io/assoc/xml_formatter.hpp>
 
-namespace pb_ds
+namespace __gnu_pbds
 {
 namespace test
 {
@@ -137,7 +137,7 @@ namespace detail
     typedef typename test_traits::value_type           value_type;
     typedef typename test_traits::native_type          native_type;
     typedef twister_rand_gen                           gen;
-    typedef pb_ds::container_traits<Cntnr>             container_traits;
+    typedef __gnu_pbds::container_traits<Cntnr>                container_traits;
     typedef __gnu_cxx::throw_allocator<char>           alloc_t;
 
     enum op
@@ -173,52 +173,52 @@ namespace detail
     iterator_defs();
 
     static void
-    node_iterator_defs(pb_ds::detail::false_type);
+    node_iterator_defs(__gnu_pbds::detail::false_type);
 
     static void
-    node_iterator_defs(pb_ds::detail::true_type);
+    node_iterator_defs(__gnu_pbds::detail::true_type);
 
     static void
     policy_defs();
 
     static void
-    policy_defs(pb_ds::basic_hash_tag);
+    policy_defs(__gnu_pbds::basic_hash_tag);
 
     static void
-    policy_defs(pb_ds::cc_hash_tag);
+    policy_defs(__gnu_pbds::cc_hash_tag);
 
     static void
-    policy_defs(pb_ds::gp_hash_tag);
+    policy_defs(__gnu_pbds::gp_hash_tag);
 
     static void
-    policy_defs(pb_ds::tree_tag);
+    policy_defs(__gnu_pbds::tree_tag);
 
     static void
-    policy_defs(pb_ds::list_update_tag);
+    policy_defs(__gnu_pbds::list_update_tag);
 
     static void
-    policy_defs(pb_ds::pat_trie_tag);
+    policy_defs(__gnu_pbds::pat_trie_tag);
 
     void
     policy_access();
 
     void
-    policy_access(pb_ds::basic_hash_tag);
+    policy_access(__gnu_pbds::basic_hash_tag);
 
     void
-    policy_access(pb_ds::cc_hash_tag);
+    policy_access(__gnu_pbds::cc_hash_tag);
 
     void
-    policy_access(pb_ds::gp_hash_tag);
+    policy_access(__gnu_pbds::gp_hash_tag);
 
     void
-    policy_access(pb_ds::tree_tag);
+    policy_access(__gnu_pbds::tree_tag);
 
     void
-    policy_access(pb_ds::list_update_tag);
+    policy_access(__gnu_pbds::list_update_tag);
 
     void
-    policy_access(pb_ds::pat_trie_tag);
+    policy_access(__gnu_pbds::pat_trie_tag);
 
     void
     it_copy();
@@ -233,16 +233,16 @@ namespace detail
     rev_it_assign();
 
     void
-    rev_it_copy_imp(pb_ds::detail::false_type);
+    rev_it_copy_imp(__gnu_pbds::detail::false_type);
 
     void
-    rev_it_copy_imp(pb_ds::detail::true_type);
+    rev_it_copy_imp(__gnu_pbds::detail::true_type);
 
     void
-    rev_it_assign_imp(pb_ds::detail::false_type);
+    rev_it_assign_imp(__gnu_pbds::detail::false_type);
 
     void
-    rev_it_assign_imp(pb_ds::detail::true_type);
+    rev_it_assign_imp(__gnu_pbds::detail::true_type);
 
     bool
     default_constructor();
@@ -260,19 +260,19 @@ namespace detail
     it_constructor();
 
     bool
-    it_constructor_imp(pb_ds::cc_hash_tag);
+    it_constructor_imp(__gnu_pbds::cc_hash_tag);
 
     bool
-    it_constructor_imp(pb_ds::gp_hash_tag);
+    it_constructor_imp(__gnu_pbds::gp_hash_tag);
 
     bool
-    it_constructor_imp(pb_ds::tree_tag);
+    it_constructor_imp(__gnu_pbds::tree_tag);
 
     bool
-    it_constructor_imp(pb_ds::list_update_tag);
+    it_constructor_imp(__gnu_pbds::list_update_tag);
 
     bool
-    it_constructor_imp(pb_ds::pat_trie_tag);
+    it_constructor_imp(__gnu_pbds::pat_trie_tag);
 
     bool
     insert();
@@ -284,19 +284,19 @@ namespace detail
     erase_it();
 
     bool
-    erase_it_imp(pb_ds::detail::false_type);
+    erase_it_imp(__gnu_pbds::detail::false_type);
 
     bool
-    erase_it_imp(pb_ds::detail::true_type);
+    erase_it_imp(__gnu_pbds::detail::true_type);
 
     bool
     erase_rev_it();
 
     bool
-    erase_rev_it_imp(pb_ds::detail::false_type);
+    erase_rev_it_imp(__gnu_pbds::detail::false_type);
 
     bool
-    erase_rev_it_imp(pb_ds::detail::true_type);
+    erase_rev_it_imp(__gnu_pbds::detail::true_type);
 
     bool
     erase_if();
@@ -308,46 +308,46 @@ namespace detail
     resize();
 
     bool
-    resize_imp(pb_ds::detail::true_type);
+    resize_imp(__gnu_pbds::detail::true_type);
 
     bool
-    resize_imp(pb_ds::detail::false_type);
+    resize_imp(__gnu_pbds::detail::false_type);
 
     bool
     get_set_loads();
 
     bool
-    get_set_loads_imp(pb_ds::detail::true_type);
+    get_set_loads_imp(__gnu_pbds::detail::true_type);
 
     bool
-    get_set_loads_imp(pb_ds::detail::false_type);
+    get_set_loads_imp(__gnu_pbds::detail::false_type);
 
     void
     get_set_load();
 
     void
-    get_set_load_imp(pb_ds::detail::true_type);
+    get_set_load_imp(__gnu_pbds::detail::true_type);
 
     void
-    get_set_load_imp(pb_ds::detail::false_type);
+    get_set_load_imp(__gnu_pbds::detail::false_type);
 
     bool
     subscript();
 
     bool
-    subscript_imp(pb_ds::detail::false_type);
+    subscript_imp(__gnu_pbds::detail::false_type);
 
     bool
-    subscript_imp(pb_ds::detail::true_type);
+    subscript_imp(__gnu_pbds::detail::true_type);
 
     bool
     split_join();
 
     bool
-    split_join_imp(pb_ds::detail::false_type);
+    split_join_imp(__gnu_pbds::detail::false_type);
 
     bool
-    split_join_imp(pb_ds::detail::true_type);
+    split_join_imp(__gnu_pbds::detail::true_type);
 
     void
     cmp(const Cntnr&, const native_type&, const std::string&);
@@ -360,43 +360,43 @@ namespace detail
 
     void
     order_preserving_cmp_imp(const Cntnr&, const native_type&, 
-                            pb_ds::detail::false_type);
+                            __gnu_pbds::detail::false_type);
 
     void
     order_preserving_cmp_imp(const Cntnr&, const native_type&, 
-                            pb_ds::detail::true_type);
+                            __gnu_pbds::detail::true_type);
 
     void
     back_order_preserving_cmp_imp(const Cntnr&, const native_type&, 
-                                 pb_ds::detail::false_type);
+                                 __gnu_pbds::detail::false_type);
 
     void
     back_order_preserving_cmp_imp(const Cntnr&, const native_type&, 
-                                 pb_ds::detail::true_type);
+                                 __gnu_pbds::detail::true_type);
 
     void
     reverse_iteration_cmp_imp(const Cntnr&, const native_type&, 
-                             pb_ds::detail::false_type);
+                             __gnu_pbds::detail::false_type);
 
     void
     reverse_iteration_cmp_imp(const Cntnr&, const native_type&, 
-                             pb_ds::detail::true_type);
+                             __gnu_pbds::detail::true_type);
 
     void
     order_statistics_cmp_imp(const Cntnr&, const native_type&, 
-                            pb_ds::detail::false_type);
+                            __gnu_pbds::detail::false_type);
 
     void
     order_statistics_cmp_imp(const Cntnr&, const native_type&, 
-                            pb_ds::detail::true_type);
+                            __gnu_pbds::detail::true_type);
 
     void
     prefix_search_cmp_imp(const Cntnr&, const native_type&, 
-                         pb_ds::detail::false_type);
+                         __gnu_pbds::detail::false_type);
 
     void
     prefix_search_cmp_imp(const Cntnr&, const native_type&, 
-                         pb_ds::detail::true_type);
+                         __gnu_pbds::detail::true_type);
 
     template<typename Const_It, class Const_Native_It>
     void
@@ -408,19 +408,19 @@ namespace detail
 
     void
     lower_bound_cmp_imp(const Cntnr&, const native_type&, 
-                       pb_ds::detail::false_type);
+                       __gnu_pbds::detail::false_type);
 
     void
     lower_bound_cmp_imp(const Cntnr&, const native_type&, 
-                       pb_ds::detail::true_type);
+                       __gnu_pbds::detail::true_type);
 
     void
     upper_bound_cmp_imp(const Cntnr&, const native_type&, 
-                       pb_ds::detail::false_type);
+                       __gnu_pbds::detail::false_type);
 
     void
     upper_bound_cmp_imp(const Cntnr&, const native_type&, 
-                       pb_ds::detail::true_type);
+                       __gnu_pbds::detail::true_type);
 
     void
     print_container(const native_type&, std::ostream& r_os = std::cerr) const;
@@ -495,6 +495,6 @@ namespace detail
 
 } // namespace detail
 } // namespace test
-} // namespace pb_ds
+} // namespace __gnu_pbds
 
 #endif
index 2b1325f8e516017dc88a8599506f50d3c1540dec..3b19a75269675ae9bb43bc6703bec3e4501eb50e 100644 (file)
@@ -140,50 +140,50 @@ cmp_(const Cntnr& r_c, const native_type& r_native_c)
       container_traits::order_preserving,
       back_order_preserving =
       container_traits::order_preserving&& 
-      !pb_ds::detail::is_same<
+      !__gnu_pbds::detail::is_same<
       typename std::iterator_traits<
       typename cntnr::const_iterator>::iterator_category,
       std::forward_iterator_tag>::value,
       reverse_iteration = container_traits::reverse_iteration,
       order_statistics = test_traits::order_statistics,
       prefix_search = test_traits::prefix_search,
-      has_mapped = !pb_ds::detail::is_same<
+      has_mapped = !__gnu_pbds::detail::is_same<
       typename Cntnr::mapped_type,
-      pb_ds::null_mapped_type>::value
+      __gnu_pbds::null_mapped_type>::value
     };
 
   order_preserving_cmp_imp(r_c, r_native_c,
-                          pb_ds::detail::integral_constant<int,order_preserving>());
+                          __gnu_pbds::detail::integral_constant<int,order_preserving>());
 
   back_order_preserving_cmp_imp(r_c, r_native_c,
-                               pb_ds::detail::integral_constant<int,back_order_preserving>());
+                               __gnu_pbds::detail::integral_constant<int,back_order_preserving>());
 
   order_statistics_cmp_imp(r_c, r_native_c,
-                          pb_ds::detail::integral_constant<int,order_statistics>());
+                          __gnu_pbds::detail::integral_constant<int,order_statistics>());
 
   prefix_search_cmp_imp(r_c, r_native_c,
-                       pb_ds::detail::integral_constant<int,prefix_search>());
+                       __gnu_pbds::detail::integral_constant<int,prefix_search>());
 
   reverse_iteration_cmp_imp(r_c, r_native_c,
-                           pb_ds::detail::integral_constant<int,reverse_iteration>());
+                           __gnu_pbds::detail::integral_constant<int,reverse_iteration>());
 
   lower_bound_cmp_imp(r_c, r_native_c,
-                     pb_ds::detail::integral_constant<int,order_preserving>());
+                     __gnu_pbds::detail::integral_constant<int,order_preserving>());
 
   upper_bound_cmp_imp(r_c, r_native_c,
-                     pb_ds::detail::integral_constant<int,order_preserving>());
+                     __gnu_pbds::detail::integral_constant<int,order_preserving>());
 }
 
 PB_DS_CLASS_T_DEC
 void
 PB_DS_CLASS_C_DEC::
-order_preserving_cmp_imp(const Cntnr& /*r_c*/, const native_type& /*r_native_c*/, pb_ds::detail::false_type)
+order_preserving_cmp_imp(const Cntnr& /*r_c*/, const native_type& /*r_native_c*/, __gnu_pbds::detail::false_type)
 { }
 
 PB_DS_CLASS_T_DEC
 void
 PB_DS_CLASS_C_DEC::
-order_preserving_cmp_imp(const Cntnr& r_c, const native_type& r_native_c, pb_ds::detail::true_type)
+order_preserving_cmp_imp(const Cntnr& r_c, const native_type& r_native_c, __gnu_pbds::detail::true_type)
 {
   PB_DS_SET_DESTRUCT_PRINT
 
@@ -217,13 +217,13 @@ order_preserving_cmp_imp(const Cntnr& r_c, const native_type& r_native_c, pb_ds:
 PB_DS_CLASS_T_DEC
 void
 PB_DS_CLASS_C_DEC::
-back_order_preserving_cmp_imp(const Cntnr& /*r_c*/, const native_type& /*r_native_c*/, pb_ds::detail::false_type)
+back_order_preserving_cmp_imp(const Cntnr& /*r_c*/, const native_type& /*r_native_c*/, __gnu_pbds::detail::false_type)
 { }
 
 PB_DS_CLASS_T_DEC
 void
 PB_DS_CLASS_C_DEC::
-back_order_preserving_cmp_imp(const Cntnr& r_c, const native_type& r_native_c, pb_ds::detail::true_type)
+back_order_preserving_cmp_imp(const Cntnr& r_c, const native_type& r_native_c, __gnu_pbds::detail::true_type)
 {
   PB_DS_SET_DESTRUCT_PRINT
 
@@ -241,13 +241,13 @@ back_order_preserving_cmp_imp(const Cntnr& r_c, const native_type& r_native_c, p
 PB_DS_CLASS_T_DEC
 void
 PB_DS_CLASS_C_DEC::
-reverse_iteration_cmp_imp(const Cntnr& /*r_c*/, const native_type& /*r_native_c*/, pb_ds::detail::false_type)
+reverse_iteration_cmp_imp(const Cntnr& /*r_c*/, const native_type& /*r_native_c*/, __gnu_pbds::detail::false_type)
 { }
 
 PB_DS_CLASS_T_DEC
 void
 PB_DS_CLASS_C_DEC::
-reverse_iteration_cmp_imp(const Cntnr& r_c, const native_type& r_native_c, pb_ds::detail::true_type)
+reverse_iteration_cmp_imp(const Cntnr& r_c, const native_type& r_native_c, __gnu_pbds::detail::true_type)
 {
   PB_DS_SET_DESTRUCT_PRINT
 
@@ -281,13 +281,13 @@ reverse_iteration_cmp_imp(const Cntnr& r_c, const native_type& r_native_c, pb_ds
 PB_DS_CLASS_T_DEC
 void
 PB_DS_CLASS_C_DEC::
-order_statistics_cmp_imp(const Cntnr& /*r_c*/, const native_type& /*r_native_c*/, pb_ds::detail::false_type)
+order_statistics_cmp_imp(const Cntnr& /*r_c*/, const native_type& /*r_native_c*/, __gnu_pbds::detail::false_type)
 { }
 
 PB_DS_CLASS_T_DEC
 void
 PB_DS_CLASS_C_DEC::
-order_statistics_cmp_imp(const Cntnr& r_c, const native_type& r_native_c, pb_ds::detail::true_type)
+order_statistics_cmp_imp(const Cntnr& r_c, const native_type& r_native_c, __gnu_pbds::detail::true_type)
 {
   {
     m_alloc.set_throw_prob(0);
@@ -350,13 +350,13 @@ order_statistics_cmp_imp(const Cntnr& r_c, const native_type& r_native_c, pb_ds:
 PB_DS_CLASS_T_DEC
 void
 PB_DS_CLASS_C_DEC::
-prefix_search_cmp_imp(const Cntnr& /*r_c*/, const native_type& /*r_native_c*/, pb_ds::detail::false_type)
+prefix_search_cmp_imp(const Cntnr& /*r_c*/, const native_type& /*r_native_c*/, __gnu_pbds::detail::false_type)
 { }
 
 PB_DS_CLASS_T_DEC
 void
 PB_DS_CLASS_C_DEC::
-prefix_search_cmp_imp(const Cntnr& r_c, const native_type& r_native_c, pb_ds::detail::true_type)
+prefix_search_cmp_imp(const Cntnr& r_c, const native_type& r_native_c, __gnu_pbds::detail::true_type)
 {
   PB_DS_SET_DESTRUCT_PRINT
 
@@ -495,13 +495,13 @@ back_it_cmp_imp(Const_It b, Const_It e, Const_Native_It native_b, Const_Native_I
 PB_DS_CLASS_T_DEC
 void
 PB_DS_CLASS_C_DEC::
-lower_bound_cmp_imp(const Cntnr& /*r_c*/, const native_type& /*r_native_c*/, pb_ds::detail::false_type)
+lower_bound_cmp_imp(const Cntnr& /*r_c*/, const native_type& /*r_native_c*/, __gnu_pbds::detail::false_type)
 { }
 
 PB_DS_CLASS_T_DEC
 void
 PB_DS_CLASS_C_DEC::
-lower_bound_cmp_imp(const Cntnr& r_c, const native_type& r_native_c, pb_ds::detail::true_type)
+lower_bound_cmp_imp(const Cntnr& r_c, const native_type& r_native_c, __gnu_pbds::detail::true_type)
 {
   PB_DS_SET_DESTRUCT_PRINT
 
@@ -548,13 +548,13 @@ lower_bound_cmp_imp(const Cntnr& r_c, const native_type& r_native_c, pb_ds::deta
 PB_DS_CLASS_T_DEC
 void
 PB_DS_CLASS_C_DEC::
-upper_bound_cmp_imp(const Cntnr& /*r_c*/, const native_type& /*r_native_c*/, pb_ds::detail::false_type)
+upper_bound_cmp_imp(const Cntnr& /*r_c*/, const native_type& /*r_native_c*/, __gnu_pbds::detail::false_type)
 { }
 
 PB_DS_CLASS_T_DEC
 void
 PB_DS_CLASS_C_DEC::
-upper_bound_cmp_imp(const Cntnr& r_c, const native_type& r_native_c, pb_ds::detail::true_type)
+upper_bound_cmp_imp(const Cntnr& r_c, const native_type& r_native_c, __gnu_pbds::detail::true_type)
 {
   PB_DS_SET_DESTRUCT_PRINT
 
index 66a7077470fe590e599d6d7ad9b915d4fb3c2c9f..c6b02b61a170cbed7556f487ad5734241b05852b 100644 (file)
@@ -162,7 +162,7 @@ it_constructor()
 PB_DS_CLASS_T_DEC
 bool
 PB_DS_CLASS_C_DEC::
-it_constructor_imp(pb_ds::cc_hash_tag)
+it_constructor_imp(__gnu_pbds::cc_hash_tag)
 {
   bool done = true;
   Cntnr* p_c = NULL;
@@ -229,7 +229,7 @@ it_constructor_imp(pb_ds::cc_hash_tag)
 PB_DS_CLASS_T_DEC
 bool
 PB_DS_CLASS_C_DEC::
-it_constructor_imp(pb_ds::gp_hash_tag)
+it_constructor_imp(__gnu_pbds::gp_hash_tag)
 {
   bool done = true;
   Cntnr* p_c = NULL;
@@ -312,7 +312,7 @@ it_constructor_imp(pb_ds::gp_hash_tag)
 PB_DS_CLASS_T_DEC
 bool
 PB_DS_CLASS_C_DEC::
-it_constructor_imp(pb_ds::tree_tag)
+it_constructor_imp(__gnu_pbds::tree_tag)
 {
   bool done = true;
   Cntnr* p_c = NULL;
@@ -348,7 +348,7 @@ it_constructor_imp(pb_ds::tree_tag)
 PB_DS_CLASS_T_DEC
 bool
 PB_DS_CLASS_C_DEC::
-it_constructor_imp(pb_ds::list_update_tag)
+it_constructor_imp(__gnu_pbds::list_update_tag)
 {
   bool done = true;
   Cntnr* p_c = NULL;
@@ -373,7 +373,7 @@ it_constructor_imp(pb_ds::list_update_tag)
 PB_DS_CLASS_T_DEC
 bool
 PB_DS_CLASS_C_DEC::
-it_constructor_imp(pb_ds::pat_trie_tag)
+it_constructor_imp(__gnu_pbds::pat_trie_tag)
 {
   bool done = true;
   Cntnr* p_c = NULL;
index 68829d3e1871fb208e42f1599c9e2659acce74df..0acb20cd62e01138aca66990082af8de4ff190fb 100644 (file)
@@ -63,7 +63,7 @@ defs()
 
   iterator_defs();
 
-  node_iterator_defs(pb_ds::detail::integral_constant<int,
+  node_iterator_defs(__gnu_pbds::detail::integral_constant<int,
                     container_traits::order_preserving>());
 
   policy_defs();
@@ -124,7 +124,7 @@ void
 PB_DS_CLASS_C_DEC::
 ds_defs()
 {
-  typedef pb_ds::container_traits< Cntnr> test_container_traits;
+  typedef __gnu_pbds::container_traits< Cntnr> test_container_traits;
 
   typedef typename test_container_traits::container_category test_container_category;
 
@@ -162,13 +162,13 @@ iterator_defs()
 PB_DS_CLASS_T_DEC
 void
 PB_DS_CLASS_C_DEC::
-node_iterator_defs(pb_ds::detail::false_type)
+node_iterator_defs(__gnu_pbds::detail::false_type)
 { }
 
 PB_DS_CLASS_T_DEC
 void
 PB_DS_CLASS_C_DEC::
-node_iterator_defs(pb_ds::detail::true_type)
+node_iterator_defs(__gnu_pbds::detail::true_type)
 {
   typedef typename Cntnr::node_iterator test_node_iterator;
 
@@ -188,7 +188,7 @@ policy_defs()
 PB_DS_CLASS_T_DEC
 void
 PB_DS_CLASS_C_DEC::
-policy_defs(pb_ds::basic_hash_tag)
+policy_defs(__gnu_pbds::basic_hash_tag)
 {
   typedef typename Cntnr::hash_fn test_hash_fn;
 
@@ -200,9 +200,9 @@ policy_defs(pb_ds::basic_hash_tag)
 PB_DS_CLASS_T_DEC
 void
 PB_DS_CLASS_C_DEC::
-policy_defs(pb_ds::cc_hash_tag)
+policy_defs(__gnu_pbds::cc_hash_tag)
 {
-  policy_defs(pb_ds::basic_hash_tag());
+  policy_defs(__gnu_pbds::basic_hash_tag());
 
   typedef typename Cntnr::comb_hash_fn test_comb_hash_fn;
 }
@@ -210,9 +210,9 @@ policy_defs(pb_ds::cc_hash_tag)
 PB_DS_CLASS_T_DEC
 void
 PB_DS_CLASS_C_DEC::
-policy_defs(pb_ds::gp_hash_tag)
+policy_defs(__gnu_pbds::gp_hash_tag)
 {
-  policy_defs(pb_ds::basic_hash_tag());
+  policy_defs(__gnu_pbds::basic_hash_tag());
 
   typedef typename Cntnr::comb_probe_fn test_comb_probe_fn;
 
@@ -222,7 +222,7 @@ policy_defs(pb_ds::gp_hash_tag)
 PB_DS_CLASS_T_DEC
 void
 PB_DS_CLASS_C_DEC::
-policy_defs(pb_ds::tree_tag)
+policy_defs(__gnu_pbds::tree_tag)
 {
   typedef typename Cntnr::cmp_fn test_cmp_fn;
 
@@ -232,7 +232,7 @@ policy_defs(pb_ds::tree_tag)
 PB_DS_CLASS_T_DEC
 void
 PB_DS_CLASS_C_DEC::
-policy_defs(pb_ds::list_update_tag)
+policy_defs(__gnu_pbds::list_update_tag)
 {
   typedef typename Cntnr::eq_fn test_eq_fn;
 
@@ -242,7 +242,7 @@ policy_defs(pb_ds::list_update_tag)
 PB_DS_CLASS_T_DEC
 void
 PB_DS_CLASS_C_DEC::
-policy_defs(pb_ds::pat_trie_tag)
+policy_defs(__gnu_pbds::pat_trie_tag)
 {
   typedef typename Cntnr::e_access_traits e_access_traits;
 }
index 0622d9eeef9e95e11b74caea5832f3d49b88dae8..0bd39f33bb3d531535e4cbebc7b226e291bde60a 100644 (file)
@@ -166,13 +166,13 @@ erase_it()
       container_traits::order_preserving
     };
 
-  return (erase_it_imp(pb_ds::detail::integral_constant<int,erase_iterators>()));
+  return (erase_it_imp(__gnu_pbds::detail::integral_constant<int,erase_iterators>()));
 }
 
 PB_DS_CLASS_T_DEC
 bool
 PB_DS_CLASS_C_DEC::
-erase_it_imp(pb_ds::detail::false_type)
+erase_it_imp(__gnu_pbds::detail::false_type)
 {
   return (true);
 }
@@ -180,7 +180,7 @@ erase_it_imp(pb_ds::detail::false_type)
 PB_DS_CLASS_T_DEC
 bool
 PB_DS_CLASS_C_DEC::
-erase_it_imp(pb_ds::detail::true_type)
+erase_it_imp(__gnu_pbds::detail::true_type)
 {
   PB_DS_TRACE("erase_it");
 
@@ -222,9 +222,9 @@ erase_it_imp(pb_ds::detail::true_type)
          m_native_c.erase(native_it);
 
         bool range_guarantee =
-         pb_ds::detail::is_same<
+         __gnu_pbds::detail::is_same<
          typename container_traits::invalidation_guarantee,
-         pb_ds::range_invalidation_guarantee>::value ;
+         __gnu_pbds::range_invalidation_guarantee>::value ;
 
         if (range_guarantee)
          PB_DS_THROW_IF_FAILED(                next_ers_it == next_it,  "",  m_p_c, & m_native_c);
@@ -255,13 +255,13 @@ erase_rev_it()
       container_traits::reverse_iteration
     };
 
-  return (erase_rev_it_imp(pb_ds::detail::integral_constant<int,erase_iterators>()));
+  return (erase_rev_it_imp(__gnu_pbds::detail::integral_constant<int,erase_iterators>()));
 }
 
 PB_DS_CLASS_T_DEC
 bool
 PB_DS_CLASS_C_DEC::
-erase_rev_it_imp(pb_ds::detail::false_type)
+erase_rev_it_imp(__gnu_pbds::detail::false_type)
 {
   return (true);
 }
@@ -269,7 +269,7 @@ erase_rev_it_imp(pb_ds::detail::false_type)
 PB_DS_CLASS_T_DEC
 bool
 PB_DS_CLASS_C_DEC::
-erase_rev_it_imp(pb_ds::detail::true_type)
+erase_rev_it_imp(__gnu_pbds::detail::true_type)
 {
   PB_DS_TRACE("erase_rev_it");
 
index 8f58f3e2c46bdf44a762bf9be943656bf1e23e97..adc87271c251807615952ad2f04e68d529335f8c 100644 (file)
@@ -50,7 +50,7 @@ PB_DS_CLASS_C_DEC::
 get_set_load()
 {
   typedef
-    pb_ds::detail::integral_constant<int,
+    __gnu_pbds::detail::integral_constant<int,
     test_traits::get_set_load>
     get_set_load_ind;
 
@@ -60,13 +60,13 @@ get_set_load()
 PB_DS_CLASS_T_DEC
 void
 PB_DS_CLASS_C_DEC::
-get_set_load_imp(pb_ds::detail::false_type)
+get_set_load_imp(__gnu_pbds::detail::false_type)
 { }
 
 PB_DS_CLASS_T_DEC
 void
 PB_DS_CLASS_C_DEC::
-get_set_load_imp(pb_ds::detail::true_type)
+get_set_load_imp(__gnu_pbds::detail::true_type)
 {
   PB_DS_TRACE("get_set_load");
 
index cbcac81c6317029f9b4fb27481812228a2ccf408..10ea2aed9417aebac41e922d2aa0a21f7c815838 100644 (file)
@@ -50,7 +50,7 @@ PB_DS_CLASS_C_DEC::
 get_set_loads()
 {
   typedef
-    pb_ds::detail::integral_constant<int,
+    __gnu_pbds::detail::integral_constant<int,
     test_traits::get_set_loads>
     get_set_loads_ind;
 
@@ -60,7 +60,7 @@ get_set_loads()
 PB_DS_CLASS_T_DEC
 bool
 PB_DS_CLASS_C_DEC::
-get_set_loads_imp(pb_ds::detail::false_type)
+get_set_loads_imp(__gnu_pbds::detail::false_type)
 {
   return (true);
 }
@@ -68,7 +68,7 @@ get_set_loads_imp(pb_ds::detail::false_type)
 PB_DS_CLASS_T_DEC
 bool
 PB_DS_CLASS_C_DEC::
-get_set_loads_imp(pb_ds::detail::true_type)
+get_set_loads_imp(__gnu_pbds::detail::true_type)
 {
   PB_DS_TRACE("get_set_loads");
 
index 78fc38907b6288df1befdcea96d9ff7bd9fe6926..e5bf3be35b05842dad367d06cc6a480de1f570ef 100644 (file)
@@ -77,7 +77,7 @@ insert()
       {
         done = false;
       }
-    catch(pb_ds::insert_error&)
+    catch(__gnu_pbds::insert_error&)
       {
         PB_DS_THROW_IF_FAILED(false, "", m_p_c, &m_native_c);
       }
index 14d89e1ebf935c82237e27b9c10d84a2cc17be0f..2a3c6396e8a42eec18c59cce237af3aa36d957b7 100644 (file)
@@ -195,7 +195,7 @@ rev_it_copy()
       reverse_iteration = container_traits::reverse_iteration
     };
 
-  rev_it_copy_imp(pb_ds::detail::integral_constant<int,reverse_iteration>());
+  rev_it_copy_imp(__gnu_pbds::detail::integral_constant<int,reverse_iteration>());
 }
 
 PB_DS_CLASS_T_DEC
@@ -208,19 +208,19 @@ rev_it_assign()
       reverse_iteration = container_traits::reverse_iteration
     };
 
-  rev_it_assign_imp(pb_ds::detail::integral_constant<int,reverse_iteration>());
+  rev_it_assign_imp(__gnu_pbds::detail::integral_constant<int,reverse_iteration>());
 }
 
 PB_DS_CLASS_T_DEC
 void
 PB_DS_CLASS_C_DEC::
-rev_it_copy_imp(pb_ds::detail::false_type)
+rev_it_copy_imp(__gnu_pbds::detail::false_type)
 { }
 
 PB_DS_CLASS_T_DEC
 void
 PB_DS_CLASS_C_DEC::
-rev_it_copy_imp(pb_ds::detail::true_type)
+rev_it_copy_imp(__gnu_pbds::detail::true_type)
 {
   {
     typename cntnr::iterator it = m_p_c->end();
@@ -260,13 +260,13 @@ rev_it_copy_imp(pb_ds::detail::true_type)
 PB_DS_CLASS_T_DEC
 void
 PB_DS_CLASS_C_DEC::
-rev_it_assign_imp(pb_ds::detail::false_type)
+rev_it_assign_imp(__gnu_pbds::detail::false_type)
 { }
 
 PB_DS_CLASS_T_DEC
 void
 PB_DS_CLASS_C_DEC::
-rev_it_assign_imp(pb_ds::detail::true_type)
+rev_it_assign_imp(__gnu_pbds::detail::true_type)
 {
   {
     typename cntnr::iterator it = m_p_c->end();
index 7ffd18a77dc4d1c631f7bd1f9955b0cd57d5f8b3..9b4f0927f6f0049bd22be3323befdef3a2624655 100644 (file)
@@ -55,7 +55,7 @@ policy_access()
 PB_DS_CLASS_T_DEC
 void
 PB_DS_CLASS_C_DEC::
-policy_access(pb_ds::basic_hash_tag)
+policy_access(__gnu_pbds::basic_hash_tag)
 {
   {
     typename Cntnr::hash_fn& r_t =
@@ -97,9 +97,9 @@ policy_access(pb_ds::basic_hash_tag)
 PB_DS_CLASS_T_DEC
 void
 PB_DS_CLASS_C_DEC::
-policy_access(pb_ds::cc_hash_tag)
+policy_access(__gnu_pbds::cc_hash_tag)
 {
-  policy_access(pb_ds::basic_hash_tag());
+  policy_access(__gnu_pbds::basic_hash_tag());
 
   {
     typename Cntnr::comb_hash_fn& r_t =
@@ -117,9 +117,9 @@ policy_access(pb_ds::cc_hash_tag)
 PB_DS_CLASS_T_DEC
 void
 PB_DS_CLASS_C_DEC::
-policy_access(pb_ds::gp_hash_tag)
+policy_access(__gnu_pbds::gp_hash_tag)
 {
-  policy_access(pb_ds::basic_hash_tag());
+  policy_access(__gnu_pbds::basic_hash_tag());
 
   {
     typename Cntnr::comb_probe_fn& r_t =
@@ -149,7 +149,7 @@ policy_access(pb_ds::gp_hash_tag)
 PB_DS_CLASS_T_DEC
 void
 PB_DS_CLASS_C_DEC::
-policy_access(pb_ds::tree_tag)
+policy_access(__gnu_pbds::tree_tag)
 {
   {
     typename Cntnr::cmp_fn& r_t =
@@ -168,13 +168,13 @@ policy_access(pb_ds::tree_tag)
 PB_DS_CLASS_T_DEC
 void
 PB_DS_CLASS_C_DEC::
-policy_access(pb_ds::list_update_tag)
+policy_access(__gnu_pbds::list_update_tag)
 { }
 
 PB_DS_CLASS_T_DEC
 void
 PB_DS_CLASS_C_DEC::
-policy_access(pb_ds::pat_trie_tag)
+policy_access(__gnu_pbds::pat_trie_tag)
 {
   typename Cntnr::e_access_traits& r_t =
     m_p_c->get_e_access_traits();
index 6f5ee79fdd4c66f57e6bf1360b8ae2cd40247780..77bfcb84c39cbccebed88e747cec1611eede46b0 100644 (file)
@@ -49,7 +49,7 @@ bool
 PB_DS_CLASS_C_DEC::
 resize()
 {
-  typedef pb_ds::detail::integral_constant<int, test_traits::resize> resize_ind;
+  typedef __gnu_pbds::detail::integral_constant<int, test_traits::resize> resize_ind;
 
   return (resize_imp(resize_ind()));
 }
@@ -57,7 +57,7 @@ resize()
 PB_DS_CLASS_T_DEC
 bool
 PB_DS_CLASS_C_DEC::
-resize_imp(pb_ds::detail::false_type)
+resize_imp(__gnu_pbds::detail::false_type)
 {
   return (true);
 }
@@ -65,7 +65,7 @@ resize_imp(pb_ds::detail::false_type)
 PB_DS_CLASS_T_DEC
 bool
 PB_DS_CLASS_C_DEC::
-resize_imp(pb_ds::detail::true_type)
+resize_imp(__gnu_pbds::detail::true_type)
 {
   PB_DS_TRACE("resize");
 
index 073fda5666bcbe448e3dc06d3473e9d5d019218b..8026d7cc2003310f9a2fb18bcb319b51ae6f815c 100644 (file)
@@ -54,13 +54,13 @@ split_join()
       split_join = container_traits::order_preserving
     };
 
-  return (split_join_imp(pb_ds::detail::integral_constant<int,split_join>()));
+  return (split_join_imp(__gnu_pbds::detail::integral_constant<int,split_join>()));
 }
 
 PB_DS_CLASS_T_DEC
 bool
 PB_DS_CLASS_C_DEC::
-split_join_imp(pb_ds::detail::false_type)
+split_join_imp(__gnu_pbds::detail::false_type)
 {
   return (true);
 }
@@ -68,7 +68,7 @@ split_join_imp(pb_ds::detail::false_type)
 PB_DS_CLASS_T_DEC
 bool
 PB_DS_CLASS_C_DEC::
-split_join_imp(pb_ds::detail::true_type)
+split_join_imp(__gnu_pbds::detail::true_type)
 {
   PB_DS_TRACE("split_join");
 
index a2c59e125921fc92ab1fb5f7f292c894a752d59e..e627595d728f6db5cbcba42453c2583852d4f1aa 100644 (file)
@@ -53,18 +53,18 @@ subscript()
 
   enum
     {
-      no_data = pb_ds::detail::is_same<
+      no_data = __gnu_pbds::detail::is_same<
       typename Cntnr::const_key_reference,
       typename Cntnr::const_reference>::value
     };
 
-  return (subscript_imp(pb_ds::detail::integral_constant<int,no_data>()));
+  return (subscript_imp(__gnu_pbds::detail::integral_constant<int,no_data>()));
 }
 
 PB_DS_CLASS_T_DEC
 bool
 PB_DS_CLASS_C_DEC::
-subscript_imp(pb_ds::detail::false_type)
+subscript_imp(__gnu_pbds::detail::false_type)
 {
   bool done = true;
 
@@ -97,7 +97,7 @@ subscript_imp(pb_ds::detail::false_type)
 PB_DS_CLASS_T_DEC
 bool
 PB_DS_CLASS_C_DEC::
-subscript_imp(pb_ds::detail::true_type)
+subscript_imp(__gnu_pbds::detail::true_type)
 {
   bool done = true;
 
@@ -110,7 +110,7 @@ subscript_imp(pb_ds::detail::true_type)
         value_type v = test_traits::generate_value(m_g, m_m);
 
         m_alloc.set_throw_prob(m_tp);
-       (*m_p_c)[v] = pb_ds::null_mapped_type();
+       (*m_p_c)[v] = __gnu_pbds::null_mapped_type();
 
         m_native_c.insert(test_traits::native_value(v));
       }
index 2081c7c8b2d83316f69d6e7b2f8d55108bfe885a..2f79df56dcebef808c7ae7c325785b26fbbe2e1a 100644 (file)
@@ -55,7 +55,7 @@
 #include <regression/basic_type.hpp>
 #include <regression/assoc/common_type.hpp>
 
-namespace pb_ds
+namespace __gnu_pbds
 {
 namespace test
 {
@@ -123,7 +123,7 @@ namespace detail
       {
        detail::verify_params(sd, n, m, tp, ip, ep, cp, mp, disp);
       }
-    catch (pb_ds::test::illegal_input_error&)
+    catch (__gnu_pbds::test::illegal_input_error&)
       {
        detail::usage(name);
        return -1;
@@ -205,6 +205,6 @@ namespace detail
   }
 } // namespace detail
 } // namespace test
-} // namespace pb_ds
+} // namespace __gnu_pbds
 
 #endif
index d5e1f5ba3a44988ba9dc7244b0313aff0fc29927..db9ed28efb8bafea736193eec6a2c3a584c37eb7 100644 (file)
@@ -49,7 +49,7 @@
 
 #include <regression/rand/io/xml_formatter.hpp>
 
-namespace pb_ds
+namespace __gnu_pbds
 {
 
   namespace test
@@ -76,6 +76,6 @@ namespace pb_ds
 
   } // namespace test
 
-} // namespace pb_ds
+} // namespace __gnu_pbds
 
 #endif // #ifndef PB_DS_XML_TEST_REGRESSION_FORMATTER_HPP
index a8ceab4d2eede7634c3dee3c15c1f5fbdc8ed3ae..af6f5d242b9d5dba2c187b0b5879e5c6ec3ac662 100644 (file)
@@ -49,7 +49,7 @@
 
 #include <regression/rand/io/xml_formatter.hpp>
 
-namespace pb_ds
+namespace __gnu_pbds
 {
 
   namespace test
@@ -77,6 +77,6 @@ namespace pb_ds
 
   } // namespace test
 
-} // namespace pb_ds
+} // namespace __gnu_pbds
 
 #endif // #ifndef PB_DS_XML_TEST_REGRESSION_FORMATTER_HPP
index 6bc89976c58fb4d27003d56f72a9c1826978dd5d..7006618bd477757fb41eec7c4bac628bb55438c9 100644 (file)
@@ -51,7 +51,7 @@
 #include <iostream>
 #include <io/xml_test_formatter.hpp>
 
-namespace pb_ds
+namespace __gnu_pbds
 {
 
   namespace test
@@ -82,6 +82,6 @@ namespace pb_ds
 
   } // namespace test
 
-} // namespace pb_ds
+} // namespace __gnu_pbds
 
 #endif // #ifndef PB_DS_COMMON_XML_TEST_REGRESSION_FORMATTER_HPP
index 15ff02bba115630b109f2c708be62e6fd5eb363a..eeedc27bdcacced9708119dcb8a955a7d657ab1f 100644 (file)
@@ -60,7 +60,7 @@
 #include <regression/rand/io/priority_queue/xml_formatter.hpp>
 #include <regression/trait/priority_queue/trait.hpp>
 
-namespace pb_ds
+namespace __gnu_pbds
 {
 
   namespace test
@@ -329,6 +329,6 @@ namespace pb_ds
 
   } // namespace test
 
-} // namespace pb_ds
+} // namespace __gnu_pbds
 
 #endif // #ifndef PB_DS_CONTAINER_RAND_REGRESSION_TEST_HPP
index 41c302718fec2ccc9eb7c83abbf43d5b4d1b654d..b25394fa34d4733ed480ce86e1f43a6232ef6cfc 100644 (file)
@@ -109,7 +109,7 @@ split_join()
       {
         done = false;
 
-        PB_DS_THROW_IF_FAILED(            pb_ds::container_traits<cntnr>::split_join_can_throw, pb_ds::container_traits<cntnr>::split_join_can_throw, m_p_c, & m_native_c);
+        PB_DS_THROW_IF_FAILED(            __gnu_pbds::container_traits<cntnr>::split_join_can_throw, __gnu_pbds::container_traits<cntnr>::split_join_can_throw, m_p_c, & m_native_c);
       }
 
   PB_DS_COND_COMPARE(*m_p_c, m_native_c);
index 0d4c960fb856e014848b17d7f0db4d43c804ef21..80f941a6db9f9a7589f85ac8db91bd7780337f6a 100644 (file)
@@ -55,7 +55,7 @@
 #include <regression/basic_type.hpp>
 #include <regression/priority_queue/common_type.hpp>
 
-namespace pb_ds
+namespace __gnu_pbds
 {
 namespace test
 {
@@ -125,7 +125,7 @@ namespace detail
       {
        detail::verify_params(sd, n, m, tp, ip, dp, ep, cp, mp, disp);
       }
-    catch(pb_ds::test::illegal_input_error&)
+    catch(__gnu_pbds::test::illegal_input_error&)
       {
        detail::usage(name);
        return -1;
@@ -209,6 +209,6 @@ namespace detail
   }
 } // namespace detail
 } // namespace test
-} // namespace pb_ds
+} // namespace __gnu_pbds
 
 #endif
index dac0c7f4719a4a880bc25fc44744cdbd6b3420a1..a796b81b732a45f7e23b622932ed49463a2dcab1 100644 (file)
@@ -50,7 +50,7 @@
 
 #include <ext/pb_ds/assoc_container.hpp>
 
-namespace pb_ds
+namespace __gnu_pbds
 {
 
   namespace test
@@ -80,14 +80,14 @@ namespace pb_ds
       template<typename Cntnr>
       struct regression_test_get_set_load_traits<
         Cntnr,
-        pb_ds::cc_hash_tag> : public regression_test_hash_get_set_load_traits<
+        __gnu_pbds::cc_hash_tag> : public regression_test_hash_get_set_load_traits<
         Cntnr>
       { };
 
       template<typename Cntnr>
       struct regression_test_get_set_load_traits<
         Cntnr,
-        pb_ds::gp_hash_tag> : public regression_test_hash_get_set_load_traits<
+        __gnu_pbds::gp_hash_tag> : public regression_test_hash_get_set_load_traits<
         Cntnr>
       { };
 
@@ -95,6 +95,6 @@ namespace pb_ds
 
   } // namespace test
 
-} // namespace pb_ds
+} // namespace __gnu_pbds
 
 #endif // #ifndef PB_DS_REGRESSION_TEST_SET_LOAD_TRAIT_HPP
index 17c872ee83e26b77dc3dc20072855bde1b9b1b96..389ad6467fe09f53709e7c886ef289cf61fc508a 100644 (file)
@@ -50,7 +50,7 @@
 
 #include <ext/pb_ds/assoc_container.hpp>
 
-namespace pb_ds
+namespace __gnu_pbds
 {
 
   namespace test
@@ -80,14 +80,14 @@ namespace pb_ds
       template<typename Cntnr>
       struct regression_test_get_set_loacontainer_traits<
         Cntnr,
-        pb_ds::cc_hash_tag> : public regression_test_hash_get_set_loacontainer_traits<
+        __gnu_pbds::cc_hash_tag> : public regression_test_hash_get_set_loacontainer_traits<
         Cntnr>
       { };
 
       template<typename Cntnr>
       struct regression_test_get_set_loacontainer_traits<
         Cntnr,
-        pb_ds::gp_hash_tag> : public regression_test_hash_get_set_loacontainer_traits<
+        __gnu_pbds::gp_hash_tag> : public regression_test_hash_get_set_loacontainer_traits<
         Cntnr>
       { };
 
@@ -95,6 +95,6 @@ namespace pb_ds
 
   } // namespace test
 
-} // namespace pb_ds
+} // namespace __gnu_pbds
 
 #endif // #ifndef PB_DS_REGRESSION_TEST_SET_LOADS_TRAIT_HPP
index 1c65c6c81f86fe46e5dc7ab74f1218f5dc8b0194..d70c88339ddeb9e919820aabffb1a156529e764d 100644 (file)
@@ -48,7 +48,7 @@
 #ifndef PB_DS_REGRESSION_TEST_NATIVE_TYPE_TRAIT_HPP
 #define PB_DS_REGRESSION_TEST_NATIVE_TYPE_TRAIT_HPP
 
-namespace pb_ds
+namespace __gnu_pbds
 {
 
   namespace test
@@ -133,7 +133,7 @@ namespace pb_ds
       struct native_type_traits_base<
        Native_Key_Type,
        Key_Type,
-       pb_ds::null_mapped_type,
+       __gnu_pbds::null_mapped_type,
        Allocator>
       {
       public:
@@ -190,6 +190,6 @@ namespace pb_ds
 
   } // namespace test
 
-} // namespace pb_ds
+} // namespace __gnu_pbds
 
 #endif // #ifndef PB_DS_REGRESSION_TEST_NATIVE_TYPE_TRAIT_HPP
index 9f235116ecb4023f2ec39152208a96a1992da008..ff3004279f4340753968f9d2287cffaef25fc9e8 100644 (file)
@@ -53,7 +53,7 @@
 #include <common_type/assoc/detail/trie_supports_order_statistics.hpp>
 #include <common_type/assoc/detail/trie_supports_prefix_search.hpp>
 
-namespace pb_ds
+namespace __gnu_pbds
 {
 
   namespace test
@@ -75,7 +75,7 @@ namespace pb_ds
       template<typename Cntnr>
       struct regression_test_node_update_traits<
        Cntnr,
-       pb_ds::pat_trie_tag>
+       __gnu_pbds::pat_trie_tag>
       {
        enum
          {
@@ -89,7 +89,7 @@ namespace pb_ds
       template<typename Cntnr>
       struct regression_test_node_update_traits<
        Cntnr,
-       pb_ds::rb_tree_tag>
+       __gnu_pbds::rb_tree_tag>
       {
        enum
          {
@@ -102,7 +102,7 @@ namespace pb_ds
       template<typename Cntnr>
       struct regression_test_node_update_traits<
        Cntnr,
-       pb_ds::splay_tree_tag>
+       __gnu_pbds::splay_tree_tag>
       {
        enum
          {
@@ -115,7 +115,7 @@ namespace pb_ds
       template<typename Cntnr>
       struct regression_test_node_update_traits<
        Cntnr,
-       pb_ds::ov_tree_tag>
+       __gnu_pbds::ov_tree_tag>
       {
        enum
          {
@@ -129,6 +129,6 @@ namespace pb_ds
 
   } // namespace test
 
-} // namespace pb_ds
+} // namespace __gnu_pbds
 
 #endif // #ifndef PB_DS_REGRESSION_TEST_NODE_UPDATOR_TRAIT_HPP
index 24ee05b15c541fa67ce05da0371fefd403fdca95..932a0ccbc1ac9fdcd9a6b67703c59fee178675b0 100644 (file)
@@ -50,7 +50,7 @@
 
 #include <ext/pb_ds/assoc_container.hpp>
 
-namespace pb_ds
+namespace __gnu_pbds
 {
 
   namespace test
@@ -80,14 +80,14 @@ namespace pb_ds
       template<typename Cntnr>
       struct regression_test_resize_traits<
         Cntnr,
-        pb_ds::cc_hash_tag> : public regression_test_hash_resize_traits<
+        __gnu_pbds::cc_hash_tag> : public regression_test_hash_resize_traits<
         Cntnr>
       { };
 
       template<typename Cntnr>
       struct regression_test_resize_traits<
         Cntnr,
-        pb_ds::gp_hash_tag> : public regression_test_hash_resize_traits<
+        __gnu_pbds::gp_hash_tag> : public regression_test_hash_resize_traits<
         Cntnr>
       { };
 
@@ -95,6 +95,6 @@ namespace pb_ds
 
   } // namespace test
 
-} // namespace pb_ds
+} // namespace __gnu_pbds
 
 #endif // #ifndef PB_DS_REGRESSION_TEST_RESIZE_TRAIT_HPP
index d07b330cadbc281da3b598c31e6b2896d93f50a7..a0ba69388a299b7503849a82c1cb926f1a803010 100644 (file)
@@ -50,7 +50,7 @@
 #include <regression/basic_type.hpp>
 #include <string>
 
-namespace pb_ds
+namespace __gnu_pbds
 {
 
   namespace test
@@ -86,6 +86,6 @@ namespace pb_ds
 
   } // namespace test
 
-} // namespace pb_ds
+} // namespace __gnu_pbds
 
 #endif // #ifndef PB_DS_REGRESSION_TEST_TO_STRING_HPP
index 9f571107df038f883be8db5fca6290ae4d48129c..e8791a4472ad4fa67fc7833dde157e865094141e 100644 (file)
@@ -57,7 +57,7 @@
 #include <regression/trait/assoc/node_update_trait.hpp>
 #include <regression/trait/erase_if_fn.hpp>
 
-namespace pb_ds
+namespace __gnu_pbds
 {
 namespace test
 {
@@ -214,6 +214,6 @@ namespace detail
 
 } // namespace detail
 } // namespace test
-} // namespace pb_ds
+} // namespace __gnu_pbds
 
 #endif
index df8b66fcbc8e6c6c7505be785a741aa1fa42ab76..5c0682de38f55495812c8b9acb02d3f7fdb41fc0 100644 (file)
@@ -50,7 +50,7 @@
 
 #include <regression/basic_type.hpp>
 
-namespace pb_ds
+namespace __gnu_pbds
 {
   namespace test
   {
@@ -92,7 +92,7 @@ namespace pb_ds
 
        template<typename Gen>
        static value_type
-        generate_value(Gen& r_gen, size_t max, pb_ds::null_mapped_type)
+        generate_value(Gen& r_gen, size_t max, __gnu_pbds::null_mapped_type)
        { return basic_type(r_gen, max); }
 
        template<typename Gen>
@@ -116,6 +116,6 @@ namespace pb_ds
       };
     } // namespace detail
   } // namespace test
-} // namespace pb_ds
+} // namespace __gnu_pbds
 
 #endif 
index c583848c630b3dec299a5f3536f975f5ab955837..41618a6843e7876c5c954371c90c2812ca839936 100644 (file)
@@ -50,7 +50,7 @@
 
 #include <functional>
 
-namespace pb_ds
+namespace __gnu_pbds
 {
   namespace test
   {
@@ -90,6 +90,6 @@ namespace pb_ds
       };
     } // namespace detail
   } // namespace test
-} // namespace pb_ds
+} // namespace __gnu_pbds
 
 #endif 
index 641d9295cfb495fa53a8102e2394fb93d363a02e..f2875105649cdb220e7c2856ddc41bde32b085d4 100644 (file)
@@ -50,7 +50,7 @@
 
 #include <regression/trait/erase_if_fn.hpp>
 
-namespace pb_ds
+namespace __gnu_pbds
 {
   namespace test
   {
@@ -61,7 +61,7 @@ namespace pb_ds
       {
        typedef typename Cntnr::value_type value_type;
        typedef typename Cntnr::const_reference const_reference;
-       typedef pb_ds::test::native_priority_queue<std::string, true> native_type;
+       typedef __gnu_pbds::test::native_priority_queue<std::string, true> native_type;
        typedef typename native_type::value_type native_value_type;
 
        template<typename T>
@@ -87,6 +87,6 @@ namespace pb_ds
       };
     } // namespace detail
   } // namespace test
-} // namespace pb_ds
+} // namespace __gnu_pbds
 
 #endif 
index fbe7e8add955412d82fc1999e5dbe6ae37467ab8..a0c74586a4165f6ae0f49f87e048a194986e3d28 100644 (file)
@@ -47,7 +47,7 @@
 #include <debug/debug.h>
 #include <util/rng/twister_rand_gen.hpp>
 
-namespace pb_ds
+namespace __gnu_pbds
 {
   namespace test
   {
@@ -92,4 +92,4 @@ namespace pb_ds
       return ret;
     }
   } // namespace test
-} // namespace pb_ds
+} // namespace __gnu_pbds
index cbc8d1473b7234370a336f1ac09836ade98777a6..0088dac76f744a3f80b290cc6bcf0c1ee3ad658f 100644 (file)
@@ -50,7 +50,7 @@
 #include <limits.h>
 #include <tr1/random>
 
-namespace pb_ds
+namespace __gnu_pbds
 {
   namespace test
   {
@@ -81,6 +81,6 @@ namespace pb_ds
       base_generator_t m_base_generator;
     };
   } // namespace test
-} // namespace pb_ds
+} // namespace __gnu_pbds
 
 #endif // #ifndef PB_DS_TWISTER_RAND_GEN_HPP
index 2f8eaa5ccd24cfe2914e64635160366a811a5042..438fd845311084c5cdc5d3ca06fdc263ef5f00c8 100644 (file)
@@ -51,7 +51,7 @@
 #include <statistic/sample_variance.hpp>
 #include <statistic/sample_mean_confidence_checker.hpp>
 
-namespace pb_ds
+namespace __gnu_pbds
 {
   namespace test
   {
@@ -102,7 +102,7 @@ namespace pb_ds
       }
     } // namespace detail
   } // namespace test
-} // namespace pb_ds
+} // namespace __gnu_pbds
 
 #endif 
 
index 4c6c5613540a989b66a634417b0678c5a7fcfb43..98a7784cefff026be57509d4d173e0d3bdf87eb1 100644 (file)
@@ -52,7 +52,7 @@
 #include <math.h>
 #include <iterator>
 
-namespace pb_ds
+namespace __gnu_pbds
 {
   namespace test
   {
@@ -73,7 +73,7 @@ namespace pb_ds
 
     } // namespace detail
   } // namespace test
-} // namespace pb_ds
+} // namespace __gnu_pbds
 
 #endif 
 
index 074adc961e5fe041dd581437e1a43e4d678fac5f..837fd665f0d0fdd7f157547237814e1a0a359abf 100644 (file)
@@ -51,7 +51,7 @@
 #include <numeric>
 #include <math.h>
 
-namespace pb_ds
+namespace __gnu_pbds
 {
   namespace test
   {
@@ -88,7 +88,7 @@ namespace pb_ds
       }
     } // namespace detail
   } // namespace test
-} // namespace pb_ds
+} // namespace __gnu_pbds
 
 #endif 
 
index c2f87407c3891121d71893286c068860dbf65529..3d7d422c835b0cfe37eb3f181e46df108ee30b49 100644 (file)
@@ -52,7 +52,7 @@
 #include <math.h>
 #include <iterator>
 
-namespace pb_ds
+namespace __gnu_pbds
 {
   namespace test
   {
@@ -85,7 +85,7 @@ namespace pb_ds
 
     } // namespace detail
   } // namespace test
-} // namespace pb_ds
+} // namespace __gnu_pbds
 
 #endif