├── .gitignore ├── README.md ├── include └── c++ │ └── 4.2.1 │ ├── algorithm │ ├── backward │ ├── algo.h │ ├── algobase.h │ ├── alloc.h │ ├── backward_warning.h │ ├── bvector.h │ ├── complex.h │ ├── defalloc.h │ ├── deque.h │ ├── fstream.h │ ├── function.h │ ├── hash_map.h │ ├── hash_set.h │ ├── hashtable.h │ ├── heap.h │ ├── iomanip.h │ ├── iostream.h │ ├── istream.h │ ├── iterator.h │ ├── list.h │ ├── map.h │ ├── multimap.h │ ├── multiset.h │ ├── new.h │ ├── ostream.h │ ├── pair.h │ ├── queue.h │ ├── rope.h │ ├── set.h │ ├── slist.h │ ├── stack.h │ ├── stream.h │ ├── streambuf.h │ ├── strstream │ ├── tempbuf.h │ ├── tree.h │ └── vector.h │ ├── bits │ ├── allocator.h │ ├── atomic_word.h │ ├── basic_file.h │ ├── basic_ios.h │ ├── basic_ios.tcc │ ├── basic_string.h │ ├── basic_string.tcc │ ├── boost_concept_check.h │ ├── c++allocator.h │ ├── c++config.h │ ├── c++io.h │ ├── c++locale.h │ ├── char_traits.h │ ├── cmath.tcc │ ├── codecvt.h │ ├── concept_check.h │ ├── cpp_type_traits.h │ ├── cpu_defines.h │ ├── ctype_base.h │ ├── ctype_inline.h │ ├── ctype_noninline.h │ ├── deque.tcc │ ├── fstream.tcc │ ├── functexcept.h │ ├── gslice.h │ ├── gslice_array.h │ ├── gthr-default.h │ ├── gthr-posix.h │ ├── gthr-single.h │ ├── gthr-tpf.h │ ├── gthr.h │ ├── indirect_array.h │ ├── ios_base.h │ ├── istream.tcc │ ├── list.tcc │ ├── locale_classes.h │ ├── locale_facets.h │ ├── locale_facets.tcc │ ├── localefwd.h │ ├── mask_array.h │ ├── messages_members.h │ ├── os_defines.h │ ├── ostream.tcc │ ├── ostream_insert.h │ ├── postypes.h │ ├── slice_array.h │ ├── sstream.tcc │ ├── stl_algo.h │ ├── stl_algobase.h │ ├── stl_bvector.h │ ├── stl_construct.h │ ├── stl_deque.h │ ├── stl_function.h │ ├── stl_heap.h │ ├── stl_iterator.h │ ├── stl_iterator_base_funcs.h │ ├── stl_iterator_base_types.h │ ├── stl_list.h │ ├── stl_map.h │ ├── stl_multimap.h │ ├── stl_multiset.h │ ├── stl_numeric.h │ ├── stl_pair.h │ ├── stl_queue.h │ ├── stl_raw_storage_iter.h │ ├── stl_relops.h │ ├── stl_set.h │ ├── stl_stack.h │ ├── stl_tempbuf.h │ ├── stl_tree.h │ ├── stl_uninitialized.h │ ├── stl_vector.h │ ├── stream_iterator.h │ ├── streambuf.tcc │ ├── streambuf_iterator.h │ ├── stringfwd.h │ ├── time_members.h │ ├── valarray_after.h │ ├── valarray_array.h │ ├── valarray_array.tcc │ ├── valarray_before.h │ └── vector.tcc │ ├── bitset │ ├── cassert │ ├── cctype │ ├── cerrno │ ├── cfloat │ ├── ciso646 │ ├── climits │ ├── clocale │ ├── cmath │ ├── complex │ ├── csetjmp │ ├── csignal │ ├── cstdarg │ ├── cstddef │ ├── cstdio │ ├── cstdlib │ ├── cstring │ ├── ctime │ ├── cwchar │ ├── cwctype │ ├── debug │ ├── bitset │ ├── debug.h │ ├── deque │ ├── formatter.h │ ├── functions.h │ ├── hash_map │ ├── hash_map.h │ ├── hash_multimap.h │ ├── hash_multiset.h │ ├── hash_set │ ├── hash_set.h │ ├── list │ ├── macros.h │ ├── map │ ├── map.h │ ├── multimap.h │ ├── multiset.h │ ├── safe_base.h │ ├── safe_iterator.h │ ├── safe_iterator.tcc │ ├── safe_sequence.h │ ├── set │ ├── set.h │ ├── string │ └── vector │ ├── deque │ ├── exception │ ├── exception_defines.h │ ├── ext │ ├── algorithm │ ├── array_allocator.h │ ├── atomicity.h │ ├── bitmap_allocator.h │ ├── codecvt_specializations.h │ ├── concurrence.h │ ├── debug_allocator.h │ ├── functional │ ├── hash_fun.h │ ├── hash_map │ ├── hash_set │ ├── hashtable.h │ ├── iterator │ ├── malloc_allocator.h │ ├── memory │ ├── mt_allocator.h │ ├── new_allocator.h │ ├── numeric │ ├── numeric_traits.h │ ├── pb_ds │ │ ├── assoc_container.hpp │ │ ├── detail │ │ │ ├── basic_tree_policy │ │ │ │ ├── basic_tree_policy_base.hpp │ │ │ │ ├── null_node_metadata.hpp │ │ │ │ └── traits.hpp │ │ │ ├── basic_types.hpp │ │ │ ├── bin_search_tree_ │ │ │ │ ├── bin_search_tree_.hpp │ │ │ │ ├── cond_dtor_entry_dealtor.hpp │ │ │ │ ├── cond_key_dtor_entry_dealtor.hpp │ │ │ │ ├── constructors_destructor_fn_imps.hpp │ │ │ │ ├── debug_fn_imps.hpp │ │ │ │ ├── erase_fn_imps.hpp │ │ │ │ ├── find_fn_imps.hpp │ │ │ │ ├── info_fn_imps.hpp │ │ │ │ ├── insert_fn_imps.hpp │ │ │ │ ├── iterators_fn_imps.hpp │ │ │ │ ├── node_iterators.hpp │ │ │ │ ├── point_iterators.hpp │ │ │ │ ├── policy_access_fn_imps.hpp │ │ │ │ ├── r_erase_fn_imps.hpp │ │ │ │ ├── rotate_fn_imps.hpp │ │ │ │ ├── split_join_fn_imps.hpp │ │ │ │ └── traits.hpp │ │ │ ├── binary_heap_ │ │ │ │ ├── binary_heap_.hpp │ │ │ │ ├── const_iterator.hpp │ │ │ │ ├── const_point_iterator.hpp │ │ │ │ ├── constructors_destructor_fn_imps.hpp │ │ │ │ ├── debug_fn_imps.hpp │ │ │ │ ├── entry_cmp.hpp │ │ │ │ ├── entry_pred.hpp │ │ │ │ ├── erase_fn_imps.hpp │ │ │ │ ├── find_fn_imps.hpp │ │ │ │ ├── info_fn_imps.hpp │ │ │ │ ├── insert_fn_imps.hpp │ │ │ │ ├── iterators_fn_imps.hpp │ │ │ │ ├── policy_access_fn_imps.hpp │ │ │ │ ├── resize_policy.hpp │ │ │ │ ├── split_join_fn_imps.hpp │ │ │ │ └── trace_fn_imps.hpp │ │ │ ├── binomial_heap_ │ │ │ │ ├── binomial_heap_.hpp │ │ │ │ ├── constructors_destructor_fn_imps.hpp │ │ │ │ └── debug_fn_imps.hpp │ │ │ ├── binomial_heap_base_ │ │ │ │ ├── binomial_heap_base_.hpp │ │ │ │ ├── constructors_destructor_fn_imps.hpp │ │ │ │ ├── debug_fn_imps.hpp │ │ │ │ ├── erase_fn_imps.hpp │ │ │ │ ├── find_fn_imps.hpp │ │ │ │ ├── insert_fn_imps.hpp │ │ │ │ └── split_join_fn_imps.hpp │ │ │ ├── cc_hash_table_map_ │ │ │ │ ├── cc_ht_map_.hpp │ │ │ │ ├── cmp_fn_imps.hpp │ │ │ │ ├── cond_key_dtor_entry_dealtor.hpp │ │ │ │ ├── constructor_destructor_fn_imps.hpp │ │ │ │ ├── constructor_destructor_no_store_hash_fn_imps.hpp │ │ │ │ ├── constructor_destructor_store_hash_fn_imps.hpp │ │ │ │ ├── debug_fn_imps.hpp │ │ │ │ ├── debug_no_store_hash_fn_imps.hpp │ │ │ │ ├── debug_store_hash_fn_imps.hpp │ │ │ │ ├── entry_list_fn_imps.hpp │ │ │ │ ├── erase_fn_imps.hpp │ │ │ │ ├── erase_no_store_hash_fn_imps.hpp │ │ │ │ ├── erase_store_hash_fn_imps.hpp │ │ │ │ ├── find_fn_imps.hpp │ │ │ │ ├── find_store_hash_fn_imps.hpp │ │ │ │ ├── info_fn_imps.hpp │ │ │ │ ├── insert_fn_imps.hpp │ │ │ │ ├── insert_no_store_hash_fn_imps.hpp │ │ │ │ ├── insert_store_hash_fn_imps.hpp │ │ │ │ ├── iterators_fn_imps.hpp │ │ │ │ ├── policy_access_fn_imps.hpp │ │ │ │ ├── resize_fn_imps.hpp │ │ │ │ ├── resize_no_store_hash_fn_imps.hpp │ │ │ │ ├── resize_store_hash_fn_imps.hpp │ │ │ │ ├── size_fn_imps.hpp │ │ │ │ ├── standard_policies.hpp │ │ │ │ └── trace_fn_imps.hpp │ │ │ ├── cond_dealtor.hpp │ │ │ ├── constructors_destructor_fn_imps.hpp │ │ │ ├── container_base_dispatch.hpp │ │ │ ├── eq_fn │ │ │ │ ├── eq_by_less.hpp │ │ │ │ └── hash_eq_fn.hpp │ │ │ ├── gp_hash_table_map_ │ │ │ │ ├── constructor_destructor_fn_imps.hpp │ │ │ │ ├── constructor_destructor_no_store_hash_fn_imps.hpp │ │ │ │ ├── constructor_destructor_store_hash_fn_imps.hpp │ │ │ │ ├── debug_fn_imps.hpp │ │ │ │ ├── debug_no_store_hash_fn_imps.hpp │ │ │ │ ├── debug_store_hash_fn_imps.hpp │ │ │ │ ├── erase_fn_imps.hpp │ │ │ │ ├── erase_no_store_hash_fn_imps.hpp │ │ │ │ ├── erase_store_hash_fn_imps.hpp │ │ │ │ ├── find_fn_imps.hpp │ │ │ │ ├── find_no_store_hash_fn_imps.hpp │ │ │ │ ├── find_store_hash_fn_imps.hpp │ │ │ │ ├── gp_ht_map_.hpp │ │ │ │ ├── info_fn_imps.hpp │ │ │ │ ├── insert_fn_imps.hpp │ │ │ │ ├── insert_no_store_hash_fn_imps.hpp │ │ │ │ ├── insert_store_hash_fn_imps.hpp │ │ │ │ ├── iterator_fn_imps.hpp │ │ │ │ ├── policy_access_fn_imps.hpp │ │ │ │ ├── resize_fn_imps.hpp │ │ │ │ ├── resize_no_store_hash_fn_imps.hpp │ │ │ │ ├── resize_store_hash_fn_imps.hpp │ │ │ │ ├── standard_policies.hpp │ │ │ │ └── trace_fn_imps.hpp │ │ │ ├── hash_fn │ │ │ │ ├── direct_mask_range_hashing_imp.hpp │ │ │ │ ├── direct_mod_range_hashing_imp.hpp │ │ │ │ ├── linear_probe_fn_imp.hpp │ │ │ │ ├── mask_based_range_hashing.hpp │ │ │ │ ├── mod_based_range_hashing.hpp │ │ │ │ ├── probe_fn_base.hpp │ │ │ │ ├── quadratic_probe_fn_imp.hpp │ │ │ │ ├── ranged_hash_fn.hpp │ │ │ │ ├── ranged_probe_fn.hpp │ │ │ │ ├── sample_probe_fn.hpp │ │ │ │ ├── sample_range_hashing.hpp │ │ │ │ ├── sample_ranged_hash_fn.hpp │ │ │ │ └── sample_ranged_probe_fn.hpp │ │ │ ├── left_child_next_sibling_heap_ │ │ │ │ ├── const_iterator.hpp │ │ │ │ ├── const_point_iterator.hpp │ │ │ │ ├── constructors_destructor_fn_imps.hpp │ │ │ │ ├── debug_fn_imps.hpp │ │ │ │ ├── erase_fn_imps.hpp │ │ │ │ ├── info_fn_imps.hpp │ │ │ │ ├── insert_fn_imps.hpp │ │ │ │ ├── iterators_fn_imps.hpp │ │ │ │ ├── left_child_next_sibling_heap_.hpp │ │ │ │ ├── node.hpp │ │ │ │ ├── null_metadata.hpp │ │ │ │ ├── policy_access_fn_imps.hpp │ │ │ │ └── trace_fn_imps.hpp │ │ │ ├── list_update_map_ │ │ │ │ ├── constructor_destructor_fn_imps.hpp │ │ │ │ ├── debug_fn_imps.hpp │ │ │ │ ├── entry_metadata_base.hpp │ │ │ │ ├── erase_fn_imps.hpp │ │ │ │ ├── find_fn_imps.hpp │ │ │ │ ├── info_fn_imps.hpp │ │ │ │ ├── insert_fn_imps.hpp │ │ │ │ ├── iterators_fn_imps.hpp │ │ │ │ ├── lu_map_.hpp │ │ │ │ └── trace_fn_imps.hpp │ │ │ ├── list_update_policy │ │ │ │ ├── counter_lu_metadata.hpp │ │ │ │ ├── counter_lu_policy_imp.hpp │ │ │ │ ├── mtf_lu_policy_imp.hpp │ │ │ │ └── sample_update_policy.hpp │ │ │ ├── map_debug_base.hpp │ │ │ ├── ov_tree_map_ │ │ │ │ ├── cond_dtor.hpp │ │ │ │ ├── constructors_destructor_fn_imps.hpp │ │ │ │ ├── debug_fn_imps.hpp │ │ │ │ ├── erase_fn_imps.hpp │ │ │ │ ├── info_fn_imps.hpp │ │ │ │ ├── insert_fn_imps.hpp │ │ │ │ ├── iterators_fn_imps.hpp │ │ │ │ ├── node_iterators.hpp │ │ │ │ ├── ov_tree_map_.hpp │ │ │ │ ├── policy_access_fn_imps.hpp │ │ │ │ ├── split_join_fn_imps.hpp │ │ │ │ └── traits.hpp │ │ │ ├── pairing_heap_ │ │ │ │ ├── constructors_destructor_fn_imps.hpp │ │ │ │ ├── debug_fn_imps.hpp │ │ │ │ ├── erase_fn_imps.hpp │ │ │ │ ├── find_fn_imps.hpp │ │ │ │ ├── insert_fn_imps.hpp │ │ │ │ ├── pairing_heap_.hpp │ │ │ │ └── split_join_fn_imps.hpp │ │ │ ├── pat_trie_ │ │ │ │ ├── child_iterator.hpp │ │ │ │ ├── cond_dtor_entry_dealtor.hpp │ │ │ │ ├── const_child_iterator.hpp │ │ │ │ ├── constructors_destructor_fn_imps.hpp │ │ │ │ ├── debug_fn_imps.hpp │ │ │ │ ├── erase_fn_imps.hpp │ │ │ │ ├── find_fn_imps.hpp │ │ │ │ ├── head.hpp │ │ │ │ ├── info_fn_imps.hpp │ │ │ │ ├── insert_join_fn_imps.hpp │ │ │ │ ├── internal_node.hpp │ │ │ │ ├── iterators_fn_imps.hpp │ │ │ │ ├── leaf.hpp │ │ │ │ ├── node_base.hpp │ │ │ │ ├── node_iterators.hpp │ │ │ │ ├── node_metadata_base.hpp │ │ │ │ ├── pat_trie_.hpp │ │ │ │ ├── point_iterators.hpp │ │ │ │ ├── policy_access_fn_imps.hpp │ │ │ │ ├── r_erase_fn_imps.hpp │ │ │ │ ├── rotate_fn_imps.hpp │ │ │ │ ├── split_fn_imps.hpp │ │ │ │ ├── split_join_branch_bag.hpp │ │ │ │ ├── synth_e_access_traits.hpp │ │ │ │ ├── trace_fn_imps.hpp │ │ │ │ ├── traits.hpp │ │ │ │ └── update_fn_imps.hpp │ │ │ ├── priority_queue_base_dispatch.hpp │ │ │ ├── rb_tree_map_ │ │ │ │ ├── constructors_destructor_fn_imps.hpp │ │ │ │ ├── debug_fn_imps.hpp │ │ │ │ ├── erase_fn_imps.hpp │ │ │ │ ├── find_fn_imps.hpp │ │ │ │ ├── info_fn_imps.hpp │ │ │ │ ├── insert_fn_imps.hpp │ │ │ │ ├── node.hpp │ │ │ │ ├── rb_tree_.hpp │ │ │ │ ├── split_join_fn_imps.hpp │ │ │ │ └── traits.hpp │ │ │ ├── rc_binomial_heap_ │ │ │ │ ├── constructors_destructor_fn_imps.hpp │ │ │ │ ├── debug_fn_imps.hpp │ │ │ │ ├── erase_fn_imps.hpp │ │ │ │ ├── insert_fn_imps.hpp │ │ │ │ ├── rc.hpp │ │ │ │ ├── rc_binomial_heap_.hpp │ │ │ │ ├── split_join_fn_imps.hpp │ │ │ │ └── trace_fn_imps.hpp │ │ │ ├── resize_policy │ │ │ │ ├── cc_hash_max_collision_check_resize_trigger_imp.hpp │ │ │ │ ├── hash_exponential_size_policy_imp.hpp │ │ │ │ ├── hash_load_check_resize_trigger_imp.hpp │ │ │ │ ├── hash_load_check_resize_trigger_size_base.hpp │ │ │ │ ├── hash_prime_size_policy_imp.hpp │ │ │ │ ├── hash_standard_resize_policy_imp.hpp │ │ │ │ ├── sample_resize_policy.hpp │ │ │ │ ├── sample_resize_trigger.hpp │ │ │ │ └── sample_size_policy.hpp │ │ │ ├── splay_tree_ │ │ │ │ ├── constructors_destructor_fn_imps.hpp │ │ │ │ ├── debug_fn_imps.hpp │ │ │ │ ├── erase_fn_imps.hpp │ │ │ │ ├── find_fn_imps.hpp │ │ │ │ ├── info_fn_imps.hpp │ │ │ │ ├── insert_fn_imps.hpp │ │ │ │ ├── node.hpp │ │ │ │ ├── splay_fn_imps.hpp │ │ │ │ ├── splay_tree_.hpp │ │ │ │ ├── split_join_fn_imps.hpp │ │ │ │ └── traits.hpp │ │ │ ├── standard_policies.hpp │ │ │ ├── thin_heap_ │ │ │ │ ├── constructors_destructor_fn_imps.hpp │ │ │ │ ├── debug_fn_imps.hpp │ │ │ │ ├── erase_fn_imps.hpp │ │ │ │ ├── find_fn_imps.hpp │ │ │ │ ├── insert_fn_imps.hpp │ │ │ │ ├── split_join_fn_imps.hpp │ │ │ │ ├── thin_heap_.hpp │ │ │ │ └── trace_fn_imps.hpp │ │ │ ├── tree_policy │ │ │ │ ├── node_metadata_selector.hpp │ │ │ │ ├── null_node_update_imp.hpp │ │ │ │ ├── order_statistics_imp.hpp │ │ │ │ └── sample_tree_node_update.hpp │ │ │ ├── tree_trace_base.hpp │ │ │ ├── trie_policy │ │ │ │ ├── node_metadata_selector.hpp │ │ │ │ ├── null_node_update_imp.hpp │ │ │ │ ├── order_statistics_imp.hpp │ │ │ │ ├── prefix_search_node_update_imp.hpp │ │ │ │ ├── sample_trie_e_access_traits.hpp │ │ │ │ ├── sample_trie_node_update.hpp │ │ │ │ ├── string_trie_e_access_traits_imp.hpp │ │ │ │ └── trie_policy_base.hpp │ │ │ ├── type_utils.hpp │ │ │ ├── types_traits.hpp │ │ │ └── unordered_iterator │ │ │ │ ├── const_iterator.hpp │ │ │ │ ├── const_point_iterator.hpp │ │ │ │ ├── iterator.hpp │ │ │ │ └── point_iterator.hpp │ │ ├── exception.hpp │ │ ├── hash_policy.hpp │ │ ├── list_update_policy.hpp │ │ ├── priority_queue.hpp │ │ ├── tag_and_trait.hpp │ │ ├── tree_policy.hpp │ │ └── trie_policy.hpp │ ├── pod_char_traits.h │ ├── pool_allocator.h │ ├── rb_tree │ ├── rc_string_base.h │ ├── rope │ ├── ropeimpl.h │ ├── slist │ ├── sso_string_base.h │ ├── stdio_filebuf.h │ ├── stdio_sync_filebuf.h │ ├── throw_allocator.h │ ├── type_traits.h │ ├── typelist.h │ ├── vstring.h │ ├── vstring.tcc │ ├── vstring_fwd.h │ └── vstring_util.h │ ├── fstream │ ├── functional │ ├── iomanip │ ├── ios │ ├── iosfwd │ ├── iostream │ ├── istream │ ├── iterator │ ├── limits │ ├── list │ ├── locale │ ├── map │ ├── memory │ ├── new │ ├── numeric │ ├── ostream │ ├── queue │ ├── set │ ├── sstream │ ├── stack │ ├── stdexcept │ ├── streambuf │ ├── string │ ├── tr1 │ ├── array │ ├── bind_iterate.h │ ├── bind_repeat.h │ ├── boost_shared_ptr.h │ ├── cctype │ ├── cfenv │ ├── cfloat │ ├── cinttypes │ ├── climits │ ├── cmath │ ├── common.h │ ├── complex │ ├── cstdarg │ ├── cstdbool │ ├── cstdint │ ├── cstdio │ ├── cstdlib │ ├── ctgmath │ ├── ctime │ ├── ctype.h │ ├── cwchar │ ├── cwctype │ ├── fenv.h │ ├── float.h │ ├── functional │ ├── functional_hash.h │ ├── functional_iterate.h │ ├── hashtable │ ├── hashtable_policy.h │ ├── inttypes.h │ ├── limits.h │ ├── math.h │ ├── memory │ ├── mu_iterate.h │ ├── random │ ├── random.tcc │ ├── ref_fwd.h │ ├── ref_wrap_iterate.h │ ├── repeat.h │ ├── stdarg.h │ ├── stdbool.h │ ├── stdint.h │ ├── stdio.h │ ├── stdlib.h │ ├── tgmath.h │ ├── tuple │ ├── tuple_defs.h │ ├── tuple_iterate.h │ ├── type_traits │ ├── type_traits_fwd.h │ ├── unordered_map │ ├── unordered_set │ ├── utility │ ├── wchar.h │ └── wctype.h │ ├── typeinfo │ ├── utility │ ├── valarray │ └── vector ├── install.sh └── lib ├── libstdc++.6.0.9.tbd ├── libstdc++.6.tbd └── libstdc++.tbd /.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | 3 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | Xcode libstdc++ 2 | =============== 3 | 4 | The missing libstdc++ headers and libraries for Xcode 10 or above. 5 | 6 | -------------------------------------------------------------------------------- /include/c++/4.2.1/backward/alloc.h: -------------------------------------------------------------------------------- 1 | // Backward-compat support -*- C++ -*- 2 | 3 | // Copyright (C) 2001, 2003, 2004 Free Software Foundation, Inc. 4 | // 5 | // This file is part of the GNU ISO C++ Library. This library is free 6 | // software; you can redistribute it and/or modify it under the 7 | // terms of the GNU General Public License as published by the 8 | // Free Software Foundation; either version 2, or (at your option) 9 | // any later version. 10 | 11 | // This library is distributed in the hope that it will be useful, 12 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | // GNU General Public License for more details. 15 | 16 | // You should have received a copy of the GNU General Public License along 17 | // with this library; see the file COPYING. If not, write to the Free 18 | // Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, 19 | // USA. 20 | 21 | // As a special exception, you may use this file as part of a free software 22 | // library without restriction. Specifically, if other files instantiate 23 | // templates or use macros or inline functions from this file, or you compile 24 | // this file and link it with other files to produce an executable, this 25 | // file does not by itself cause the resulting executable to be covered by 26 | // the GNU General Public License. This exception does not however 27 | // invalidate any other reasons why the executable file might be covered by 28 | // the GNU General Public License. 29 | 30 | /* 31 | * Copyright (c) 1996-1997 32 | * Silicon Graphics Computer Systems, Inc. 33 | * 34 | * Permission to use, copy, modify, distribute and sell this software 35 | * and its documentation for any purpose is hereby granted without fee, 36 | * provided that the above copyright notice appear in all copies and 37 | * that both that copyright notice and this permission notice appear 38 | * in supporting documentation. Silicon Graphics makes no 39 | * representations about the suitability of this software for any 40 | * purpose. It is provided "as is" without express or implied warranty. 41 | */ 42 | 43 | #ifndef _BACKWARD_ALLOC_H 44 | #define _BACKWARD_ALLOC_H 1 45 | 46 | #include "backward_warning.h" 47 | #include 48 | #include 49 | 50 | using std::allocator; 51 | 52 | #endif 53 | -------------------------------------------------------------------------------- /include/c++/4.2.1/backward/backward_warning.h: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2001 Free Software Foundation, Inc. 2 | // 3 | // This file is part of the GNU ISO C++ Library. This library is free 4 | // software; you can redistribute it and/or modify it under the 5 | // terms of the GNU General Public License as published by the 6 | // Free Software Foundation; either version 2, or (at your option) 7 | // any later version. 8 | 9 | // This library is distributed in the hope that it will be useful, 10 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 | // GNU General Public License for more details. 13 | 14 | // You should have received a copy of the GNU General Public License along 15 | // with this library; see the file COPYING. If not, write to the Free 16 | // Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, 17 | // USA. 18 | 19 | // As a special exception, you may use this file as part of a free software 20 | // library without restriction. Specifically, if other files instantiate 21 | // templates or use macros or inline functions from this file, or you compile 22 | // this file and link it with other files to produce an executable, this 23 | // file does not by itself cause the resulting executable to be covered by 24 | // the GNU General Public License. This exception does not however 25 | // invalidate any other reasons why the executable file might be covered by 26 | // the GNU General Public License. 27 | 28 | #ifndef _BACKWARD_BACKWARD_WARNING_H 29 | #define _BACKWARD_BACKWARD_WARNING_H 1 30 | 31 | #ifdef __DEPRECATED 32 | #warning This file includes at least one deprecated or antiquated header. \ 33 | Please consider using one of the 32 headers found in section 17.4.1.2 of the \ 34 | C++ standard. Examples include substituting the header for the \ 35 | header for C++ includes, or instead of the deprecated header \ 36 | . To disable this warning use -Wno-deprecated. 37 | #endif 38 | 39 | #endif 40 | -------------------------------------------------------------------------------- /include/c++/4.2.1/backward/complex.h: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2000 Free Software Foundation, Inc. 2 | // 3 | // This file is part of the GNU ISO C++ Library. This library is free 4 | // software; you can redistribute it and/or modify it under the 5 | // terms of the GNU General Public License as published by the 6 | // Free Software Foundation; either version 2, or (at your option) 7 | // any later version. 8 | 9 | // This library is distributed in the hope that it will be useful, 10 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 | // GNU General Public License for more details. 13 | 14 | // You should have received a copy of the GNU General Public License along 15 | // with this library; see the file COPYING. If not, write to the Free 16 | // Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, 17 | // USA. 18 | 19 | // As a special exception, you may use this file as part of a free software 20 | // library without restriction. Specifically, if other files instantiate 21 | // templates or use macros or inline functions from this file, or you compile 22 | // this file and link it with other files to produce an executable, this 23 | // file does not by itself cause the resulting executable to be covered by 24 | // the GNU General Public License. This exception does not however 25 | // invalidate any other reasons why the executable file might be covered by 26 | // the GNU General Public License. 27 | 28 | #ifndef _BACKWARD_COMPLEX_H 29 | #define _BACKWARD_COMPLEX_H 1 30 | 31 | #include "backward_warning.h" 32 | #include 33 | 34 | using std::complex; 35 | typedef complex float_complex; 36 | typedef complex double_complex; 37 | typedef complex long_double_complex; 38 | 39 | #endif 40 | -------------------------------------------------------------------------------- /include/c++/4.2.1/backward/fstream.h: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2000, 2001 Free Software Foundation, Inc. 2 | // 3 | // This file is part of the GNU ISO C++ Library. This library is free 4 | // software; you can redistribute it and/or modify it under the 5 | // terms of the GNU General Public License as published by the 6 | // Free Software Foundation; either version 2, or (at your option) 7 | // any later version. 8 | 9 | // This library is distributed in the hope that it will be useful, 10 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 | // GNU General Public License for more details. 13 | 14 | // You should have received a copy of the GNU General Public License along 15 | // with this library; see the file COPYING. If not, write to the Free 16 | // Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, 17 | // USA. 18 | 19 | // As a special exception, you may use this file as part of a free software 20 | // library without restriction. Specifically, if other files instantiate 21 | // templates or use macros or inline functions from this file, or you compile 22 | // this file and link it with other files to produce an executable, this 23 | // file does not by itself cause the resulting executable to be covered by 24 | // the GNU General Public License. This exception does not however 25 | // invalidate any other reasons why the executable file might be covered by 26 | // the GNU General Public License. 27 | 28 | #ifndef _BACKWARD_FSTREAM_H 29 | #define _BACKWARD_FSTREAM_H 1 30 | 31 | #include "backward_warning.h" 32 | #include 33 | 34 | using std::filebuf; 35 | using std::ifstream; 36 | using std::ofstream; 37 | using std::fstream; 38 | using std::streampos; 39 | 40 | #ifdef _GLIBCXX_USE_WCHAR_T 41 | using std::wfilebuf; 42 | using std::wifstream; 43 | using std::wofstream; 44 | using std::wfstream; 45 | using std::wstreampos; 46 | #endif 47 | 48 | #endif 49 | -------------------------------------------------------------------------------- /include/c++/4.2.1/backward/iomanip.h: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2000 Free Software Foundation, Inc. 2 | // 3 | // This file is part of the GNU ISO C++ Library. This library is free 4 | // software; you can redistribute it and/or modify it under the 5 | // terms of the GNU General Public License as published by the 6 | // Free Software Foundation; either version 2, or (at your option) 7 | // any later version. 8 | 9 | // This library is distributed in the hope that it will be useful, 10 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 | // GNU General Public License for more details. 13 | 14 | // You should have received a copy of the GNU General Public License along 15 | // with this library; see the file COPYING. If not, write to the Free 16 | // Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, 17 | // USA. 18 | 19 | // As a special exception, you may use this file as part of a free software 20 | // library without restriction. Specifically, if other files instantiate 21 | // templates or use macros or inline functions from this file, or you compile 22 | // this file and link it with other files to produce an executable, this 23 | // file does not by itself cause the resulting executable to be covered by 24 | // the GNU General Public License. This exception does not however 25 | // invalidate any other reasons why the executable file might be covered by 26 | // the GNU General Public License. 27 | 28 | #ifndef _BACKWARD_IOMANIP_H 29 | #define _BACKWARD_IOMANIP_H 1 30 | 31 | #include "backward_warning.h" 32 | #include "iostream.h" 33 | #include 34 | 35 | // These are from as per [27.4]. 36 | using std::boolalpha; 37 | using std::noboolalpha; 38 | using std::showbase; 39 | using std::noshowbase; 40 | using std::showpoint; 41 | using std::noshowpoint; 42 | using std::showpos; 43 | using std::noshowpos; 44 | using std::skipws; 45 | using std::noskipws; 46 | using std::uppercase; 47 | using std::nouppercase; 48 | using std::internal; 49 | using std::left; 50 | using std::right; 51 | using std::dec; 52 | using std::hex; 53 | using std::oct; 54 | using std::fixed; 55 | using std::scientific; 56 | 57 | // These are from as per [27.6]. Manipulators from 58 | // and (e.g., endl) are made available via . 59 | using std::resetiosflags; 60 | using std::setiosflags; 61 | using std::setbase; 62 | using std::setfill; 63 | using std::setprecision; 64 | using std::setw; 65 | 66 | #endif 67 | -------------------------------------------------------------------------------- /include/c++/4.2.1/backward/iostream.h: -------------------------------------------------------------------------------- 1 | // Copyright (C) 1997-1999, 2000 Free Software Foundation, Inc. 2 | // 3 | // This file is part of the GNU ISO C++ Library. This library is free 4 | // software; you can redistribute it and/or modify it under the 5 | // terms of the GNU General Public License as published by the 6 | // Free Software Foundation; either version 2, or (at your option) 7 | // any later version. 8 | 9 | // This library is distributed in the hope that it will be useful, 10 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 | // GNU General Public License for more details. 13 | 14 | // You should have received a copy of the GNU General Public License along 15 | // with this library; see the file COPYING. If not, write to the Free 16 | // Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, 17 | // USA. 18 | 19 | // As a special exception, you may use this file as part of a free software 20 | // library without restriction. Specifically, if other files instantiate 21 | // templates or use macros or inline functions from this file, or you compile 22 | // this file and link it with other files to produce an executable, this 23 | // file does not by itself cause the resulting executable to be covered by 24 | // the GNU General Public License. This exception does not however 25 | // invalidate any other reasons why the executable file might be covered by 26 | // the GNU General Public License. 27 | 28 | #ifndef _BACKWARD_IOSTREAM_H 29 | #define _BACKWARD_IOSTREAM_H 1 30 | 31 | #include "backward_warning.h" 32 | #include 33 | 34 | using std::iostream; 35 | using std::ostream; 36 | using std::istream; 37 | using std::ios; 38 | using std::streambuf; 39 | 40 | using std::cout; 41 | using std::cin; 42 | using std::cerr; 43 | using std::clog; 44 | #ifdef _GLIBCXX_USE_WCHAR_T 45 | using std::wcout; 46 | using std::wcin; 47 | using std::wcerr; 48 | using std::wclog; 49 | #endif 50 | 51 | using std::ws; 52 | using std::endl; 53 | using std::ends; 54 | using std::flush; 55 | 56 | #endif 57 | -------------------------------------------------------------------------------- /include/c++/4.2.1/backward/istream.h: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2000 Free Software Foundation, Inc. 2 | // 3 | // This file is part of the GNU ISO C++ Library. This library is free 4 | // software; you can redistribute it and/or modify it under the 5 | // terms of the GNU General Public License as published by the 6 | // Free Software Foundation; either version 2, or (at your option) 7 | // any later version. 8 | 9 | // This library is distributed in the hope that it will be useful, 10 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 | // GNU General Public License for more details. 13 | 14 | // You should have received a copy of the GNU General Public License along 15 | // with this library; see the file COPYING. If not, write to the Free 16 | // Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, 17 | // USA. 18 | 19 | // As a special exception, you may use this file as part of a free software 20 | // library without restriction. Specifically, if other files instantiate 21 | // templates or use macros or inline functions from this file, or you compile 22 | // this file and link it with other files to produce an executable, this 23 | // file does not by itself cause the resulting executable to be covered by 24 | // the GNU General Public License. This exception does not however 25 | // invalidate any other reasons why the executable file might be covered by 26 | // the GNU General Public License. 27 | 28 | #ifndef _BACKWARD_ISTREAM_H 29 | #define _BACKWARD_ISTREAM_H 1 30 | 31 | #include "backward_warning.h" 32 | #include "iostream.h" 33 | 34 | #endif 35 | -------------------------------------------------------------------------------- /include/c++/4.2.1/backward/new.h: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- forwarding header. 2 | // Copyright (C) 2000 Free Software Foundation 3 | 4 | // This file is part of GCC. 5 | // 6 | // GCC is free software; you can redistribute it and/or modify 7 | // it under the terms of the GNU General Public License as published by 8 | // the Free Software Foundation; either version 2, or (at your option) 9 | // any later version. 10 | // 11 | // GCC is distributed in the hope that it will be useful, 12 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | // GNU General Public License for more details. 15 | // 16 | // You should have received a copy of the GNU General Public License 17 | // along with GCC; see the file COPYING. If not, write to 18 | // the Free Software Foundation, 51 Franklin Street, Fifth Floor, 19 | // Boston, MA 02110-1301, USA. 20 | 21 | // As a special exception, you may use this file as part of a free software 22 | // library without restriction. Specifically, if other files instantiate 23 | // templates or use macros or inline functions from this file, or you compile 24 | // this file and link it with other files to produce an executable, this 25 | // file does not by itself cause the resulting executable to be covered by 26 | // the GNU General Public License. This exception does not however 27 | // invalidate any other reasons why the executable file might be covered by 28 | // the GNU General Public License. 29 | 30 | #ifndef _BACKWARD_NEW_H 31 | #define _BACKWARD_NEW_H 1 32 | 33 | #include "backward_warning.h" 34 | #include 35 | 36 | using std::bad_alloc; 37 | using std::nothrow_t; 38 | using std::nothrow; 39 | using std::new_handler; 40 | using std::set_new_handler; 41 | 42 | #endif 43 | -------------------------------------------------------------------------------- /include/c++/4.2.1/backward/ostream.h: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2000 Free Software Foundation, Inc. 2 | // 3 | // This file is part of the GNU ISO C++ Library. This library is free 4 | // software; you can redistribute it and/or modify it under the 5 | // terms of the GNU General Public License as published by the 6 | // Free Software Foundation; either version 2, or (at your option) 7 | // any later version. 8 | 9 | // This library is distributed in the hope that it will be useful, 10 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 | // GNU General Public License for more details. 13 | 14 | // You should have received a copy of the GNU General Public License along 15 | // with this library; see the file COPYING. If not, write to the Free 16 | // Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, 17 | // USA. 18 | 19 | // As a special exception, you may use this file as part of a free software 20 | // library without restriction. Specifically, if other files instantiate 21 | // templates or use macros or inline functions from this file, or you compile 22 | // this file and link it with other files to produce an executable, this 23 | // file does not by itself cause the resulting executable to be covered by 24 | // the GNU General Public License. This exception does not however 25 | // invalidate any other reasons why the executable file might be covered by 26 | // the GNU General Public License. 27 | 28 | #ifndef _BACKWARD_OSTREAM_H 29 | #define _BACKWARD_OSTREAM_H 1 30 | 31 | #include "backward_warning.h" 32 | #include "iostream.h" 33 | 34 | #endif 35 | -------------------------------------------------------------------------------- /include/c++/4.2.1/backward/queue.h: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2001 Free Software Foundation, Inc. 2 | // 3 | // This file is part of the GNU ISO C++ Library. This library is free 4 | // software; you can redistribute it and/or modify it under the 5 | // terms of the GNU General Public License as published by the 6 | // Free Software Foundation; either version 2, or (at your option) 7 | // any later version. 8 | 9 | // This library is distributed in the hope that it will be useful, 10 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 | // GNU General Public License for more details. 13 | 14 | // You should have received a copy of the GNU General Public License along 15 | // with this library; see the file COPYING. If not, write to the Free 16 | // Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, 17 | // USA. 18 | 19 | // As a special exception, you may use this file as part of a free software 20 | // library without restriction. Specifically, if other files instantiate 21 | // templates or use macros or inline functions from this file, or you compile 22 | // this file and link it with other files to produce an executable, this 23 | // file does not by itself cause the resulting executable to be covered by 24 | // the GNU General Public License. This exception does not however 25 | // invalidate any other reasons why the executable file might be covered by 26 | // the GNU General Public License. 27 | 28 | #ifndef _BACKWARD_QUEUE_H 29 | #define _BACKWARD_QUEUE_H 1 30 | 31 | #include "backward_warning.h" 32 | #include 33 | 34 | using std::queue; 35 | using std::priority_queue; 36 | 37 | #endif 38 | -------------------------------------------------------------------------------- /include/c++/4.2.1/backward/rope.h: -------------------------------------------------------------------------------- 1 | // Backward-compat support -*- C++ -*- 2 | 3 | // Copyright (C) 2001 Free Software Foundation, Inc. 4 | // 5 | // This file is part of the GNU ISO C++ Library. This library is free 6 | // software; you can redistribute it and/or modify it under the 7 | // terms of the GNU General Public License as published by the 8 | // Free Software Foundation; either version 2, or (at your option) 9 | // any later version. 10 | 11 | // This library is distributed in the hope that it will be useful, 12 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | // GNU General Public License for more details. 15 | 16 | // You should have received a copy of the GNU General Public License along 17 | // with this library; see the file COPYING. If not, write to the Free 18 | // Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, 19 | // USA. 20 | 21 | // As a special exception, you may use this file as part of a free software 22 | // library without restriction. Specifically, if other files instantiate 23 | // templates or use macros or inline functions from this file, or you compile 24 | // this file and link it with other files to produce an executable, this 25 | // file does not by itself cause the resulting executable to be covered by 26 | // the GNU General Public License. This exception does not however 27 | // invalidate any other reasons why the executable file might be covered by 28 | // the GNU General Public License. 29 | 30 | /* 31 | * Copyright (c) 1997 32 | * Silicon Graphics Computer Systems, Inc. 33 | * 34 | * Permission to use, copy, modify, distribute and sell this software 35 | * and its documentation for any purpose is hereby granted without fee, 36 | * provided that the above copyright notice appear in all copies and 37 | * that both that copyright notice and this permission notice appear 38 | * in supporting documentation. Silicon Graphics makes no 39 | * representations about the suitability of this software for any 40 | * purpose. It is provided "as is" without express or implied warranty. 41 | */ 42 | 43 | #ifndef _BACKWARD_ROPE_H 44 | #define _BACKWARD_ROPE_H 1 45 | 46 | #include "backward_warning.h" 47 | #include "hashtable.h" 48 | #include 49 | 50 | using __gnu_cxx::char_producer; 51 | using __gnu_cxx::sequence_buffer; 52 | using __gnu_cxx::rope; 53 | using __gnu_cxx::crope; 54 | using __gnu_cxx::wrope; 55 | 56 | #endif /* _BACKWARD_ROPE_H */ 57 | -------------------------------------------------------------------------------- /include/c++/4.2.1/backward/slist.h: -------------------------------------------------------------------------------- 1 | // Backward-compat support -*- C++ -*- 2 | 3 | // Copyright (C) 2001 Free Software Foundation, Inc. 4 | // 5 | // This file is part of the GNU ISO C++ Library. This library is free 6 | // software; you can redistribute it and/or modify it under the 7 | // terms of the GNU General Public License as published by the 8 | // Free Software Foundation; either version 2, or (at your option) 9 | // any later version. 10 | 11 | // This library is distributed in the hope that it will be useful, 12 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | // GNU General Public License for more details. 15 | 16 | // You should have received a copy of the GNU General Public License along 17 | // with this library; see the file COPYING. If not, write to the Free 18 | // Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, 19 | // USA. 20 | 21 | // As a special exception, you may use this file as part of a free software 22 | // library without restriction. Specifically, if other files instantiate 23 | // templates or use macros or inline functions from this file, or you compile 24 | // this file and link it with other files to produce an executable, this 25 | // file does not by itself cause the resulting executable to be covered by 26 | // the GNU General Public License. This exception does not however 27 | // invalidate any other reasons why the executable file might be covered by 28 | // the GNU General Public License. 29 | 30 | /* 31 | * Copyright (c) 1997 32 | * Silicon Graphics Computer Systems, Inc. 33 | * 34 | * Permission to use, copy, modify, distribute and sell this software 35 | * and its documentation for any purpose is hereby granted without fee, 36 | * provided that the above copyright notice appear in all copies and 37 | * that both that copyright notice and this permission notice appear 38 | * in supporting documentation. Silicon Graphics makes no 39 | * representations about the suitability of this software for any 40 | * purpose. It is provided "as is" without express or implied warranty. 41 | * 42 | */ 43 | 44 | #ifndef _BACKWARD_SLIST_H 45 | #define _BACKWARD_SLIST_H 1 46 | 47 | #include "backward_warning.h" 48 | #include 49 | 50 | using __gnu_cxx::slist; 51 | 52 | #endif /* _BACKWARD_SLIST_H */ 53 | -------------------------------------------------------------------------------- /include/c++/4.2.1/backward/stream.h: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2000 Free Software Foundation, Inc. 2 | // 3 | // This file is part of the GNU ISO C++ Library. This library is free 4 | // software; you can redistribute it and/or modify it under the 5 | // terms of the GNU General Public License as published by the 6 | // Free Software Foundation; either version 2, or (at your option) 7 | // any later version. 8 | 9 | // This library is distributed in the hope that it will be useful, 10 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 | // GNU General Public License for more details. 13 | 14 | // You should have received a copy of the GNU General Public License along 15 | // with this library; see the file COPYING. If not, write to the Free 16 | // Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, 17 | // USA. 18 | 19 | // As a special exception, you may use this file as part of a free software 20 | // library without restriction. Specifically, if other files instantiate 21 | // templates or use macros or inline functions from this file, or you compile 22 | // this file and link it with other files to produce an executable, this 23 | // file does not by itself cause the resulting executable to be covered by 24 | // the GNU General Public License. This exception does not however 25 | // invalidate any other reasons why the executable file might be covered by 26 | // the GNU General Public License. 27 | 28 | #ifndef _BACKWARD_STREAM_H 29 | #define _BACKWARD_STREAM_H 1 30 | 31 | #include "backward_warning.h" 32 | #include "iostream.h" 33 | 34 | #endif 35 | -------------------------------------------------------------------------------- /include/c++/4.2.1/backward/streambuf.h: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2000 Free Software Foundation, Inc. 2 | // 3 | // This file is part of the GNU ISO C++ Library. This library is free 4 | // software; you can redistribute it and/or modify it under the 5 | // terms of the GNU General Public License as published by the 6 | // Free Software Foundation; either version 2, or (at your option) 7 | // any later version. 8 | 9 | // This library is distributed in the hope that it will be useful, 10 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 | // GNU General Public License for more details. 13 | 14 | // You should have received a copy of the GNU General Public License along 15 | // with this library; see the file COPYING. If not, write to the Free 16 | // Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, 17 | // USA. 18 | 19 | // As a special exception, you may use this file as part of a free software 20 | // library without restriction. Specifically, if other files instantiate 21 | // templates or use macros or inline functions from this file, or you compile 22 | // this file and link it with other files to produce an executable, this 23 | // file does not by itself cause the resulting executable to be covered by 24 | // the GNU General Public License. This exception does not however 25 | // invalidate any other reasons why the executable file might be covered by 26 | // the GNU General Public License. 27 | 28 | #ifndef _BACKWARD_STREAMBUF_H 29 | #define _BACKWARD_STREAMBUF_H 1 30 | 31 | #include "backward_warning.h" 32 | #include 33 | 34 | using std::streambuf; 35 | 36 | #endif 37 | -------------------------------------------------------------------------------- /include/c++/4.2.1/backward/tree.h: -------------------------------------------------------------------------------- 1 | // Backward-compat support -*- C++ -*- 2 | 3 | // Copyright (C) 2001 Free Software Foundation, Inc. 4 | // 5 | // This file is part of the GNU ISO C++ Library. This library is free 6 | // software; you can redistribute it and/or modify it under the 7 | // terms of the GNU General Public License as published by the 8 | // Free Software Foundation; either version 2, or (at your option) 9 | // any later version. 10 | 11 | // This library is distributed in the hope that it will be useful, 12 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | // GNU General Public License for more details. 15 | 16 | // You should have received a copy of the GNU General Public License along 17 | // with this library; see the file COPYING. If not, write to the Free 18 | // Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, 19 | // USA. 20 | 21 | // As a special exception, you may use this file as part of a free software 22 | // library without restriction. Specifically, if other files instantiate 23 | // templates or use macros or inline functions from this file, or you compile 24 | // this file and link it with other files to produce an executable, this 25 | // file does not by itself cause the resulting executable to be covered by 26 | // the GNU General Public License. This exception does not however 27 | // invalidate any other reasons why the executable file might be covered by 28 | // the GNU General Public License. 29 | 30 | /* 31 | * Copyright (c) 1997 32 | * Silicon Graphics Computer Systems, Inc. 33 | * 34 | * Permission to use, copy, modify, distribute and sell this software 35 | * and its documentation for any purpose is hereby granted without fee, 36 | * provided that the above copyright notice appear in all copies and 37 | * that both that copyright notice and this permission notice appear 38 | * in supporting documentation. Silicon Graphics makes no 39 | * representations about the suitability of this software for any 40 | * purpose. It is provided "as is" without express or implied warranty. 41 | * 42 | */ 43 | 44 | #ifndef _BACKWARD_TREE 45 | #define _BACKWARD_TREE 1 46 | 47 | #include "backward_warning.h" 48 | #include 49 | 50 | using __gnu_cxx::rb_tree; 51 | 52 | #endif 53 | -------------------------------------------------------------------------------- /include/c++/4.2.1/bits/c++allocator.h: -------------------------------------------------------------------------------- 1 | // Base to std::allocator -*- C++ -*- 2 | 3 | // Copyright (C) 2004, 2005 Free Software Foundation, Inc. 4 | // 5 | // This file is part of the GNU ISO C++ Library. This library is free 6 | // software; you can redistribute it and/or modify it under the 7 | // terms of the GNU General Public License as published by the 8 | // Free Software Foundation; either version 2, or (at your option) 9 | // any later version. 10 | 11 | // This library is distributed in the hope that it will be useful, 12 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | // GNU General Public License for more details. 15 | 16 | // You should have received a copy of the GNU General Public License along 17 | // with this library; see the file COPYING. If not, write to the Free 18 | // Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, 19 | // USA. 20 | 21 | // As a special exception, you may use this file as part of a free software 22 | // library without restriction. Specifically, if other files instantiate 23 | // templates or use macros or inline functions from this file, or you compile 24 | // this file and link it with other files to produce an executable, this 25 | // file does not by itself cause the resulting executable to be covered by 26 | // the GNU General Public License. This exception does not however 27 | // invalidate any other reasons why the executable file might be covered by 28 | // the GNU General Public License. 29 | 30 | /** @file c++allocator.h 31 | * This is an internal header file, included by other library headers. 32 | * You should not attempt to use it directly. 33 | */ 34 | 35 | #ifndef _CXX_ALLOCATOR_H 36 | #define _CXX_ALLOCATOR_H 1 37 | 38 | // Define new_allocator as the base class to std::allocator. 39 | #include 40 | #define __glibcxx_base_allocator __gnu_cxx::new_allocator 41 | 42 | #endif 43 | -------------------------------------------------------------------------------- /include/c++/4.2.1/bits/c++io.h: -------------------------------------------------------------------------------- 1 | // Underlying io library details -*- C++ -*- 2 | 3 | // Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2006 4 | // Free Software Foundation, Inc. 5 | // 6 | // This file is part of the GNU ISO C++ Library. This library is free 7 | // software; you can redistribute it and/or modify it under the 8 | // terms of the GNU General Public License as published by the 9 | // Free Software Foundation; either version 2, or (at your option) 10 | // any later version. 11 | 12 | // This library is distributed in the hope that it will be useful, 13 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 | // GNU General Public License for more details. 16 | 17 | // You should have received a copy of the GNU General Public License along 18 | // with this library; see the file COPYING. If not, write to the Free 19 | // Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, 20 | // USA. 21 | 22 | // As a special exception, you may use this file as part of a free software 23 | // library without restriction. Specifically, if other files instantiate 24 | // templates or use macros or inline functions from this file, or you compile 25 | // this file and link it with other files to produce an executable, this 26 | // file does not by itself cause the resulting executable to be covered by 27 | // the GNU General Public License. This exception does not however 28 | // invalidate any other reasons why the executable file might be covered by 29 | // the GNU General Public License. 30 | 31 | /** @file c++io.h 32 | * This is an internal header file, included by other library headers. 33 | * You should not attempt to use it directly. 34 | */ 35 | 36 | // c_io_stdio.h - Defines for using "C" stdio.h 37 | 38 | #ifndef _C_IO_STDIO_H 39 | #define _C_IO_STDIO_H 1 40 | 41 | #include 42 | #include 43 | #include 44 | 45 | _GLIBCXX_BEGIN_NAMESPACE(std) 46 | 47 | typedef __gthread_mutex_t __c_lock; 48 | 49 | // for basic_file.h 50 | typedef FILE __c_file; 51 | 52 | _GLIBCXX_END_NAMESPACE 53 | 54 | #endif 55 | -------------------------------------------------------------------------------- /include/c++/4.2.1/bits/cmath.tcc: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- C math library. 2 | 3 | // Copyright (C) 2000, 2003, 2004, 2006 Free Software Foundation, Inc. 4 | // 5 | // This file is part of the GNU ISO C++ Library. This library is free 6 | // software; you can redistribute it and/or modify it under the 7 | // terms of the GNU General Public License as published by the 8 | // Free Software Foundation; either version 2, or (at your option) 9 | // any later version. 10 | 11 | // This library is distributed in the hope that it will be useful, 12 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | // GNU General Public License for more details. 15 | 16 | // You should have received a copy of the GNU General Public License along 17 | // with this library; see the file COPYING. If not, write to the Free 18 | // Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, 19 | // USA. 20 | 21 | // As a special exception, you may use this file as part of a free software 22 | // library without restriction. Specifically, if other files instantiate 23 | // templates or use macros or inline functions from this file, or you compile 24 | // this file and link it with other files to produce an executable, this 25 | // file does not by itself cause the resulting executable to be covered by 26 | // the GNU General Public License. This exception does not however 27 | // invalidate any other reasons why the executable file might be covered by 28 | // the GNU General Public License. 29 | 30 | // This file was written by Gabriel Dos Reis 31 | 32 | /** @file cmath.tcc 33 | * This is a Standard C++ Library file. 34 | */ 35 | 36 | #ifndef _GLIBCXX_CMATH_TCC 37 | #define _GLIBCXX_CMATH_TCC 1 38 | 39 | _GLIBCXX_BEGIN_NAMESPACE(std) 40 | 41 | template 42 | inline _Tp 43 | __cmath_power(_Tp __x, unsigned int __n) 44 | { 45 | _Tp __y = __n % 2 ? __x : 1; 46 | 47 | while (__n >>= 1) 48 | { 49 | __x = __x * __x; 50 | if (__n % 2) 51 | __y = __y * __x; 52 | } 53 | 54 | return __y; 55 | } 56 | 57 | _GLIBCXX_END_NAMESPACE 58 | 59 | #endif 60 | -------------------------------------------------------------------------------- /include/c++/4.2.1/bits/cpu_defines.h: -------------------------------------------------------------------------------- 1 | // Specific definitions for generic platforms -*- C++ -*- 2 | 3 | // Copyright (C) 2005 Free Software Foundation, Inc. 4 | // 5 | // This file is part of the GNU ISO C++ Library. This library is free 6 | // software; you can redistribute it and/or modify it under the 7 | // terms of the GNU General Public License as published by the 8 | // Free Software Foundation; either version 2, or (at your option) 9 | // any later version. 10 | 11 | // This library is distributed in the hope that it will be useful, 12 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | // GNU General Public License for more details. 15 | 16 | // You should have received a copy of the GNU General Public License along 17 | // with this library; see the file COPYING. If not, write to the Free 18 | // Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, 19 | // USA. 20 | 21 | // As a special exception, you may use this file as part of a free software 22 | // library without restriction. Specifically, if other files instantiate 23 | // templates or use macros or inline functions from this file, or you compile 24 | // this file and link it with other files to produce an executable, this 25 | // file does not by itself cause the resulting executable to be covered by 26 | // the GNU General Public License. This exception does not however 27 | // invalidate any other reasons why the executable file might be covered by 28 | // the GNU General Public License. 29 | 30 | /** @file cpu_defines.h 31 | * This is an internal header file, included by other library headers. 32 | * You should not attempt to use it directly. 33 | */ 34 | 35 | #ifndef _GLIBCXX_CPU_DEFINES 36 | #define _GLIBCXX_CPU_DEFINES 1 37 | 38 | #if __ppc__ 39 | // Integer divide instructions don't trap on PowerPC. 40 | #define __glibcxx_integral_traps false 41 | #endif 42 | 43 | #endif 44 | -------------------------------------------------------------------------------- /include/c++/4.2.1/bits/stringfwd.h: -------------------------------------------------------------------------------- 1 | // String support -*- C++ -*- 2 | 3 | // Copyright (C) 2001, 2002, 2005 Free Software Foundation, Inc. 4 | // 5 | // This file is part of the GNU ISO C++ Library. This library is free 6 | // software; you can redistribute it and/or modify it under the 7 | // terms of the GNU General Public License as published by the 8 | // Free Software Foundation; either version 2, or (at your option) 9 | // any later version. 10 | 11 | // This library is distributed in the hope that it will be useful, 12 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | // GNU General Public License for more details. 15 | 16 | // You should have received a copy of the GNU General Public License along 17 | // with this library; see the file COPYING. If not, write to the Free 18 | // Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, 19 | // USA. 20 | 21 | // As a special exception, you may use this file as part of a free software 22 | // library without restriction. Specifically, if other files instantiate 23 | // templates or use macros or inline functions from this file, or you compile 24 | // this file and link it with other files to produce an executable, this 25 | // file does not by itself cause the resulting executable to be covered by 26 | // the GNU General Public License. This exception does not however 27 | // invalidate any other reasons why the executable file might be covered by 28 | // the GNU General Public License. 29 | 30 | /** @file stringfwd.h 31 | * This is an internal header file, included by other library headers. 32 | * You should not attempt to use it directly. 33 | */ 34 | 35 | // 36 | // ISO C++ 14882: 21 Strings library 37 | // 38 | 39 | #ifndef _STRINGFWD_H 40 | #define _STRINGFWD_H 1 41 | 42 | #pragma GCC system_header 43 | 44 | #include 45 | 46 | _GLIBCXX_BEGIN_NAMESPACE(std) 47 | 48 | template 49 | class allocator; 50 | 51 | template 52 | struct char_traits; 53 | 54 | template, 55 | typename _Alloc = allocator<_CharT> > 56 | class basic_string; 57 | 58 | template<> struct char_traits; 59 | 60 | typedef basic_string string; 61 | 62 | #ifdef _GLIBCXX_USE_WCHAR_T 63 | template<> struct char_traits; 64 | 65 | typedef basic_string wstring; 66 | #endif 67 | 68 | _GLIBCXX_END_NAMESPACE 69 | 70 | #endif // _STRINGFWD_H 71 | -------------------------------------------------------------------------------- /include/c++/4.2.1/cassert: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- forwarding header. 2 | 3 | // Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005 4 | // Free Software Foundation, Inc. 5 | // 6 | // This file is part of the GNU ISO C++ Library. This library is free 7 | // software; you can redistribute it and/or modify it under the 8 | // terms of the GNU General Public License as published by the 9 | // Free Software Foundation; either version 2, or (at your option) 10 | // any later version. 11 | 12 | // This library is distributed in the hope that it will be useful, 13 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 | // GNU General Public License for more details. 16 | 17 | // You should have received a copy of the GNU General Public License along 18 | // with this library; see the file COPYING. If not, write to the Free 19 | // Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, 20 | // USA. 21 | 22 | // As a special exception, you may use this file as part of a free software 23 | // library without restriction. Specifically, if other files instantiate 24 | // templates or use macros or inline functions from this file, or you compile 25 | // this file and link it with other files to produce an executable, this 26 | // file does not by itself cause the resulting executable to be covered by 27 | // the GNU General Public License. This exception does not however 28 | // invalidate any other reasons why the executable file might be covered by 29 | // the GNU General Public License. 30 | 31 | /** @file cassert 32 | * This is a Standard C++ Library file. You should @c #include this file 33 | * in your programs, rather than any of the "*.h" implementation files. 34 | * 35 | * This is the C++ version of the Standard C Library header @c assert.h, 36 | * and its contents are (mostly) the same as that header, but are all 37 | * contained in the namespace @c std (except for names which are defined 38 | * as macros in C). 39 | */ 40 | 41 | // 42 | // ISO C++ 14882: 19.2 Assertions 43 | // 44 | 45 | // No include guards on this header... 46 | 47 | #pragma GCC system_header 48 | 49 | #include 50 | -------------------------------------------------------------------------------- /include/c++/4.2.1/cerrno: -------------------------------------------------------------------------------- 1 | // The -*- C++ -*- forwarding header. 2 | 3 | // Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005 4 | // Free Software Foundation, Inc. 5 | // 6 | // This file is part of the GNU ISO C++ Library. This library is free 7 | // software; you can redistribute it and/or modify it under the 8 | // terms of the GNU General Public License as published by the 9 | // Free Software Foundation; either version 2, or (at your option) 10 | // any later version. 11 | 12 | // This library is distributed in the hope that it will be useful, 13 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 | // GNU General Public License for more details. 16 | 17 | // You should have received a copy of the GNU General Public License along 18 | // with this library; see the file COPYING. If not, write to the Free 19 | // Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, 20 | // USA. 21 | 22 | // As a special exception, you may use this file as part of a free software 23 | // library without restriction. Specifically, if other files instantiate 24 | // templates or use macros or inline functions from this file, or you compile 25 | // this file and link it with other files to produce an executable, this 26 | // file does not by itself cause the resulting executable to be covered by 27 | // the GNU General Public License. This exception does not however 28 | // invalidate any other reasons why the executable file might be covered by 29 | // the GNU General Public License. 30 | 31 | /** @file cerrno 32 | * This is a Standard C++ Library file. You should @c #include this file 33 | * in your programs, rather than any of the "*.h" implementation files. 34 | * 35 | * This is the C++ version of the Standard C Library header @c errno.h, 36 | * and its contents are (mostly) the same as that header, but are all 37 | * contained in the namespace @c std (except for names which are defined 38 | * as macros in C). 39 | */ 40 | 41 | // 42 | // ISO C++ 14882: 19.3 Error numbers 43 | // 44 | 45 | #ifndef _GLIBCXX_CERRNO 46 | #define _GLIBCXX_CERRNO 1 47 | 48 | #pragma GCC system_header 49 | 50 | #include 51 | 52 | // Adhere to section 17.4.1.2 clause 5 of ISO 14882:1998 53 | #ifndef errno 54 | #define errno errno 55 | #endif 56 | 57 | #endif 58 | -------------------------------------------------------------------------------- /include/c++/4.2.1/cfloat: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- forwarding header. 2 | 3 | // Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005 4 | // Free Software Foundation, Inc. 5 | // 6 | // This file is part of the GNU ISO C++ Library. This library is free 7 | // software; you can redistribute it and/or modify it under the 8 | // terms of the GNU General Public License as published by the 9 | // Free Software Foundation; either version 2, or (at your option) 10 | // any later version. 11 | 12 | // This library is distributed in the hope that it will be useful, 13 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 | // GNU General Public License for more details. 16 | 17 | // You should have received a copy of the GNU General Public License along 18 | // with this library; see the file COPYING. If not, write to the Free 19 | // Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, 20 | // USA. 21 | 22 | // As a special exception, you may use this file as part of a free software 23 | // library without restriction. Specifically, if other files instantiate 24 | // templates or use macros or inline functions from this file, or you compile 25 | // this file and link it with other files to produce an executable, this 26 | // file does not by itself cause the resulting executable to be covered by 27 | // the GNU General Public License. This exception does not however 28 | // invalidate any other reasons why the executable file might be covered by 29 | // the GNU General Public License. 30 | 31 | /** @file include/cfloat 32 | * This is a Standard C++ Library file. You should @c #include this file 33 | * in your programs, rather than any of the "*.h" implementation files. 34 | * 35 | * This is the C++ version of the Standard C Library header @c float.h, 36 | * and its contents are (mostly) the same as that header, but are all 37 | * contained in the namespace @c std (except for names which are defined 38 | * as macros in C). 39 | */ 40 | 41 | // 42 | // ISO C++ 14882: 18.2.2 Implementation properties: C library 43 | // 44 | 45 | #ifndef _GLIBCXX_CFLOAT 46 | #define _GLIBCXX_CFLOAT 1 47 | 48 | #pragma GCC system_header 49 | 50 | #include 51 | 52 | #endif 53 | -------------------------------------------------------------------------------- /include/c++/4.2.1/ciso646: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- forwarding header. 2 | 3 | // Copyright (C) 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 4 | // 5 | // This file is part of the GNU ISO C++ Library. This library is free 6 | // software; you can redistribute it and/or modify it under the 7 | // terms of the GNU General Public License as published by the 8 | // Free Software Foundation; either version 2, or (at your option) 9 | // any later version. 10 | 11 | // This library is distributed in the hope that it will be useful, 12 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | // GNU General Public License for more details. 15 | 16 | // You should have received a copy of the GNU General Public License along 17 | // with this library; see the file COPYING. If not, write to the Free 18 | // Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, 19 | // USA. 20 | 21 | // As a special exception, you may use this file as part of a free software 22 | // library without restriction. Specifically, if other files instantiate 23 | // templates or use macros or inline functions from this file, or you compile 24 | // this file and link it with other files to produce an executable, this 25 | // file does not by itself cause the resulting executable to be covered by 26 | // the GNU General Public License. This exception does not however 27 | // invalidate any other reasons why the executable file might be covered by 28 | // the GNU General Public License. 29 | 30 | /** @file ciso646 31 | * This is a Standard C++ Library file. You should @c #include this file 32 | * in your programs, rather than any of the "*.h" implementation files. 33 | * 34 | * This is the C++ version of the Standard C Library header @c iso646.h, 35 | * and its contents are (mostly) the same as that header, but are all 36 | * contained in the namespace @c std (except for names which are defined 37 | * as macros in C). 38 | */ 39 | -------------------------------------------------------------------------------- /include/c++/4.2.1/climits: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- forwarding header. 2 | 3 | // Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005 4 | // Free Software Foundation, Inc. 5 | // 6 | // This file is part of the GNU ISO C++ Library. This library is free 7 | // software; you can redistribute it and/or modify it under the 8 | // terms of the GNU General Public License as published by the 9 | // Free Software Foundation; either version 2, or (at your option) 10 | // any later version. 11 | 12 | // This library is distributed in the hope that it will be useful, 13 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 | // GNU General Public License for more details. 16 | 17 | // You should have received a copy of the GNU General Public License along 18 | // with this library; see the file COPYING. If not, write to the Free 19 | // Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, 20 | // USA. 21 | 22 | // As a special exception, you may use this file as part of a free software 23 | // library without restriction. Specifically, if other files instantiate 24 | // templates or use macros or inline functions from this file, or you compile 25 | // this file and link it with other files to produce an executable, this 26 | // file does not by itself cause the resulting executable to be covered by 27 | // the GNU General Public License. This exception does not however 28 | // invalidate any other reasons why the executable file might be covered by 29 | // the GNU General Public License. 30 | 31 | /** @file include/climits 32 | * This is a Standard C++ Library file. You should @c #include this file 33 | * in your programs, rather than any of the "*.h" implementation files. 34 | * 35 | * This is the C++ version of the Standard C Library header @c limits.h, 36 | * and its contents are (mostly) the same as that header, but are all 37 | * contained in the namespace @c std (except for names which are defined 38 | * as macros in C). 39 | */ 40 | 41 | // 42 | // ISO C++ 14882: 18.2.2 Implementation properties: C library 43 | // 44 | 45 | #ifndef _GLIBCXX_CLIMITS 46 | #define _GLIBCXX_CLIMITS 1 47 | 48 | #pragma GCC system_header 49 | 50 | #include 51 | 52 | #endif 53 | -------------------------------------------------------------------------------- /include/c++/4.2.1/clocale: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- forwarding header. 2 | 3 | // Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005 4 | // Free Software Foundation, Inc. 5 | // 6 | // This file is part of the GNU ISO C++ Library. This library is free 7 | // software; you can redistribute it and/or modify it under the 8 | // terms of the GNU General Public License as published by the 9 | // Free Software Foundation; either version 2, or (at your option) 10 | // any later version. 11 | 12 | // This library is distributed in the hope that it will be useful, 13 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 | // GNU General Public License for more details. 16 | 17 | // You should have received a copy of the GNU General Public License along 18 | // with this library; see the file COPYING. If not, write to the Free 19 | // Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, 20 | // USA. 21 | 22 | // As a special exception, you may use this file as part of a free software 23 | // library without restriction. Specifically, if other files instantiate 24 | // templates or use macros or inline functions from this file, or you compile 25 | // this file and link it with other files to produce an executable, this 26 | // file does not by itself cause the resulting executable to be covered by 27 | // the GNU General Public License. This exception does not however 28 | // invalidate any other reasons why the executable file might be covered by 29 | // the GNU General Public License. 30 | 31 | /** @file clocale 32 | * This is a Standard C++ Library file. You should @c #include this file 33 | * in your programs, rather than any of the "*.h" implementation files. 34 | * 35 | * This is the C++ version of the Standard C Library header @c locale.h, 36 | * and its contents are (mostly) the same as that header, but are all 37 | * contained in the namespace @c std (except for names which are defined 38 | * as macros in C). 39 | */ 40 | 41 | // 42 | // ISO C++ 14882: 18.2.2 Implementation properties: C library 43 | // 44 | 45 | #ifndef _GLIBCXX_CLOCALE 46 | #define _GLIBCXX_CLOCALE 1 47 | 48 | #pragma GCC system_header 49 | 50 | #include 51 | #include 52 | 53 | // Get rid of those macros defined in in lieu of real functions. 54 | #undef setlocale 55 | #undef localeconv 56 | 57 | _GLIBCXX_BEGIN_NAMESPACE(std) 58 | 59 | using ::lconv; 60 | using ::setlocale; 61 | using ::localeconv; 62 | 63 | _GLIBCXX_END_NAMESPACE 64 | 65 | #endif 66 | -------------------------------------------------------------------------------- /include/c++/4.2.1/csetjmp: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- forwarding header. 2 | 3 | // Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005 4 | // Free Software Foundation, Inc. 5 | // 6 | // This file is part of the GNU ISO C++ Library. This library is free 7 | // software; you can redistribute it and/or modify it under the 8 | // terms of the GNU General Public License as published by the 9 | // Free Software Foundation; either version 2, or (at your option) 10 | // any later version. 11 | 12 | // This library is distributed in the hope that it will be useful, 13 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 | // GNU General Public License for more details. 16 | 17 | // You should have received a copy of the GNU General Public License along 18 | // with this library; see the file COPYING. If not, write to the Free 19 | // Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, 20 | // USA. 21 | 22 | // As a special exception, you may use this file as part of a free software 23 | // library without restriction. Specifically, if other files instantiate 24 | // templates or use macros or inline functions from this file, or you compile 25 | // this file and link it with other files to produce an executable, this 26 | // file does not by itself cause the resulting executable to be covered by 27 | // the GNU General Public License. This exception does not however 28 | // invalidate any other reasons why the executable file might be covered by 29 | // the GNU General Public License. 30 | 31 | /** @file csetjmp 32 | * This is a Standard C++ Library file. You should @c #include this file 33 | * in your programs, rather than any of the "*.h" implementation files. 34 | * 35 | * This is the C++ version of the Standard C Library header @c setjmp.h, 36 | * and its contents are (mostly) the same as that header, but are all 37 | * contained in the namespace @c std (except for names which are defined 38 | * as macros in C). 39 | */ 40 | 41 | // 42 | // ISO C++ 14882: 20.4.6 C library 43 | // 44 | 45 | #ifndef _GLIBCXX_CSETJMP 46 | #define _GLIBCXX_CSETJMP 1 47 | 48 | #pragma GCC system_header 49 | 50 | #include 51 | #include 52 | 53 | // Get rid of those macros defined in in lieu of real functions. 54 | #undef longjmp 55 | 56 | // Adhere to section 17.4.1.2 clause 5 of ISO 14882:1998 57 | #ifndef setjmp 58 | #define setjmp(env) setjmp (env) 59 | #endif 60 | 61 | _GLIBCXX_BEGIN_NAMESPACE(std) 62 | 63 | using ::jmp_buf; 64 | using ::longjmp; 65 | 66 | _GLIBCXX_END_NAMESPACE 67 | 68 | #endif 69 | -------------------------------------------------------------------------------- /include/c++/4.2.1/csignal: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- forwarding header. 2 | 3 | // Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005 4 | // Free Software Foundation, Inc. 5 | // 6 | // This file is part of the GNU ISO C++ Library. This library is free 7 | // software; you can redistribute it and/or modify it under the 8 | // terms of the GNU General Public License as published by the 9 | // Free Software Foundation; either version 2, or (at your option) 10 | // any later version. 11 | 12 | // This library is distributed in the hope that it will be useful, 13 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 | // GNU General Public License for more details. 16 | 17 | // You should have received a copy of the GNU General Public License along 18 | // with this library; see the file COPYING. If not, write to the Free 19 | // Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, 20 | // USA. 21 | 22 | // As a special exception, you may use this file as part of a free software 23 | // library without restriction. Specifically, if other files instantiate 24 | // templates or use macros or inline functions from this file, or you compile 25 | // this file and link it with other files to produce an executable, this 26 | // file does not by itself cause the resulting executable to be covered by 27 | // the GNU General Public License. This exception does not however 28 | // invalidate any other reasons why the executable file might be covered by 29 | // the GNU General Public License. 30 | 31 | /** @file csignal 32 | * This is a Standard C++ Library file. You should @c #include this file 33 | * in your programs, rather than any of the "*.h" implementation files. 34 | * 35 | * This is the C++ version of the Standard C Library header @c signal.h, 36 | * and its contents are (mostly) the same as that header, but are all 37 | * contained in the namespace @c std (except for names which are defined 38 | * as macros in C). 39 | */ 40 | 41 | // 42 | // ISO C++ 14882: 20.4.6 C library 43 | // 44 | 45 | #ifndef _GLIBCXX_CSIGNAL 46 | #define _GLIBCXX_CSIGNAL 1 47 | 48 | #pragma GCC system_header 49 | 50 | #include 51 | #include 52 | 53 | // Get rid of those macros defined in in lieu of real functions. 54 | #undef raise 55 | 56 | _GLIBCXX_BEGIN_NAMESPACE(std) 57 | 58 | using ::sig_atomic_t; 59 | using ::signal; 60 | using ::raise; 61 | 62 | _GLIBCXX_END_NAMESPACE 63 | 64 | #endif 65 | -------------------------------------------------------------------------------- /include/c++/4.2.1/cstdarg: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- forwarding header. 2 | 3 | // Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005 4 | // Free Software Foundation, Inc. 5 | // 6 | // This file is part of the GNU ISO C++ Library. This library is free 7 | // software; you can redistribute it and/or modify it under the 8 | // terms of the GNU General Public License as published by the 9 | // Free Software Foundation; either version 2, or (at your option) 10 | // any later version. 11 | 12 | // This library is distributed in the hope that it will be useful, 13 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 | // GNU General Public License for more details. 16 | 17 | // You should have received a copy of the GNU General Public License along 18 | // with this library; see the file COPYING. If not, write to the Free 19 | // Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, 20 | // USA. 21 | 22 | // As a special exception, you may use this file as part of a free software 23 | // library without restriction. Specifically, if other files instantiate 24 | // templates or use macros or inline functions from this file, or you compile 25 | // this file and link it with other files to produce an executable, this 26 | // file does not by itself cause the resulting executable to be covered by 27 | // the GNU General Public License. This exception does not however 28 | // invalidate any other reasons why the executable file might be covered by 29 | // the GNU General Public License. 30 | 31 | /** @file include/cstdarg 32 | * This is a Standard C++ Library file. You should @c #include this file 33 | * in your programs, rather than any of the "*.h" implementation files. 34 | * 35 | * This is the C++ version of the Standard C Library header @c stdarg.h, 36 | * and its contents are (mostly) the same as that header, but are all 37 | * contained in the namespace @c std (except for names which are defined 38 | * as macros in C). 39 | */ 40 | 41 | // 42 | // ISO C++ 14882: 20.4.6 C library 43 | // 44 | 45 | #ifndef _GLIBCXX_CSTDARG 46 | #define _GLIBCXX_CSTDARG 1 47 | 48 | #pragma GCC system_header 49 | 50 | #include 51 | #include 52 | 53 | // Adhere to section 17.4.1.2 clause 5 of ISO 14882:1998 54 | #ifndef va_end 55 | #define va_end(ap) va_end (ap) 56 | #endif 57 | 58 | _GLIBCXX_BEGIN_NAMESPACE(std) 59 | 60 | using ::va_list; 61 | 62 | _GLIBCXX_END_NAMESPACE 63 | 64 | #endif 65 | -------------------------------------------------------------------------------- /include/c++/4.2.1/cstddef: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- forwarding header. 2 | 3 | // Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005 4 | // Free Software Foundation, Inc. 5 | // 6 | // This file is part of the GNU ISO C++ Library. This library is free 7 | // software; you can redistribute it and/or modify it under the 8 | // terms of the GNU General Public License as published by the 9 | // Free Software Foundation; either version 2, or (at your option) 10 | // any later version. 11 | 12 | // This library is distributed in the hope that it will be useful, 13 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 | // GNU General Public License for more details. 16 | 17 | // You should have received a copy of the GNU General Public License along 18 | // with this library; see the file COPYING. If not, write to the Free 19 | // Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, 20 | // USA. 21 | 22 | // As a special exception, you may use this file as part of a free software 23 | // library without restriction. Specifically, if other files instantiate 24 | // templates or use macros or inline functions from this file, or you compile 25 | // this file and link it with other files to produce an executable, this 26 | // file does not by itself cause the resulting executable to be covered by 27 | // the GNU General Public License. This exception does not however 28 | // invalidate any other reasons why the executable file might be covered by 29 | // the GNU General Public License. 30 | 31 | /** @file cstddef 32 | * This is a Standard C++ Library file. You should @c #include this file 33 | * in your programs, rather than any of the "*.h" implementation files. 34 | * 35 | * This is the C++ version of the Standard C Library header @c stddef.h, 36 | * and its contents are (mostly) the same as that header, but are all 37 | * contained in the namespace @c std (except for names which are defined 38 | * as macros in C). 39 | */ 40 | 41 | // 42 | // ISO C++ 14882: 18.1 Types 43 | // 44 | 45 | #ifndef _GLIBCXX_CSTDDEF 46 | #define _GLIBCXX_CSTDDEF 1 47 | 48 | #pragma GCC system_header 49 | 50 | #include 51 | #include 52 | 53 | _GLIBCXX_BEGIN_NAMESPACE(std) 54 | 55 | using ::ptrdiff_t; 56 | using ::size_t; 57 | 58 | _GLIBCXX_END_NAMESPACE 59 | 60 | #endif 61 | -------------------------------------------------------------------------------- /include/c++/4.2.1/debug/hash_map: -------------------------------------------------------------------------------- 1 | // Debugging hash_map/hash_multimap implementation -*- C++ -*- 2 | 3 | // Copyright (C) 2003, 2005 4 | // Free Software Foundation, Inc. 5 | // 6 | // This file is part of the GNU ISO C++ Library. This library is free 7 | // software; you can redistribute it and/or modify it under the 8 | // terms of the GNU General Public License as published by the 9 | // Free Software Foundation; either version 2, or (at your option) 10 | // any later version. 11 | 12 | // This library is distributed in the hope that it will be useful, 13 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 | // GNU General Public License for more details. 16 | 17 | // You should have received a copy of the GNU General Public License along 18 | // with this library; see the file COPYING. If not, write to the Free 19 | // Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, 20 | // USA. 21 | 22 | // As a special exception, you may use this file as part of a free software 23 | // library without restriction. Specifically, if other files instantiate 24 | // templates or use macros or inline functions from this file, or you compile 25 | // this file and link it with other files to produce an executable, this 26 | // file does not by itself cause the resulting executable to be covered by 27 | // the GNU General Public License. This exception does not however 28 | // invalidate any other reasons why the executable file might be covered by 29 | // the GNU General Public License. 30 | 31 | /** @file debug/hash_map 32 | * This file is a GNU debug extension to the Standard C++ Library. 33 | */ 34 | 35 | #ifndef _GLIBCXX_DEBUG_HASH_MAP 36 | #define _GLIBCXX_DEBUG_HASH_MAP 1 37 | 38 | #include 39 | #include 40 | #include 41 | 42 | #endif 43 | -------------------------------------------------------------------------------- /include/c++/4.2.1/debug/hash_set: -------------------------------------------------------------------------------- 1 | // Debugging hash_set/hash_multiset implementation -*- C++ -*- 2 | 3 | // Copyright (C) 2003, 2005 4 | // Free Software Foundation, Inc. 5 | // 6 | // This file is part of the GNU ISO C++ Library. This library is free 7 | // software; you can redistribute it and/or modify it under the 8 | // terms of the GNU General Public License as published by the 9 | // Free Software Foundation; either version 2, or (at your option) 10 | // any later version. 11 | 12 | // This library is distributed in the hope that it will be useful, 13 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 | // GNU General Public License for more details. 16 | 17 | // You should have received a copy of the GNU General Public License along 18 | // with this library; see the file COPYING. If not, write to the Free 19 | // Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, 20 | // USA. 21 | 22 | // As a special exception, you may use this file as part of a free software 23 | // library without restriction. Specifically, if other files instantiate 24 | // templates or use macros or inline functions from this file, or you compile 25 | // this file and link it with other files to produce an executable, this 26 | // file does not by itself cause the resulting executable to be covered by 27 | // the GNU General Public License. This exception does not however 28 | // invalidate any other reasons why the executable file might be covered by 29 | // the GNU General Public License. 30 | 31 | /** @file debug/hash_set 32 | * This file is a GNU debug extension to the Standard C++ Library. 33 | */ 34 | 35 | #ifndef _GLIBCXX_DEBUG_HASH_SET 36 | #define _GLIBCXX_DEBUG_HASH_SET 1 37 | 38 | #include 39 | #include 40 | #include 41 | 42 | #endif 43 | -------------------------------------------------------------------------------- /include/c++/4.2.1/debug/map: -------------------------------------------------------------------------------- 1 | // Debugging map/multimap implementation -*- C++ -*- 2 | 3 | // Copyright (C) 2003, 2006 4 | // Free Software Foundation, Inc. 5 | // 6 | // This file is part of the GNU ISO C++ Library. This library is free 7 | // software; you can redistribute it and/or modify it under the 8 | // terms of the GNU General Public License as published by the 9 | // Free Software Foundation; either version 2, or (at your option) 10 | // any later version. 11 | 12 | // This library is distributed in the hope that it will be useful, 13 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 | // GNU General Public License for more details. 16 | 17 | // You should have received a copy of the GNU General Public License along 18 | // with this library; see the file COPYING. If not, write to the Free 19 | // Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, 20 | // USA. 21 | 22 | // As a special exception, you may use this file as part of a free software 23 | // library without restriction. Specifically, if other files instantiate 24 | // templates or use macros or inline functions from this file, or you compile 25 | // this file and link it with other files to produce an executable, this 26 | // file does not by itself cause the resulting executable to be covered by 27 | // the GNU General Public License. This exception does not however 28 | // invalidate any other reasons why the executable file might be covered by 29 | // the GNU General Public License. 30 | 31 | /** @file debug/map 32 | * This file is a GNU debug extension to the Standard C++ Library. 33 | */ 34 | 35 | #ifndef _GLIBCXX_DEBUG_MAP 36 | #define _GLIBCXX_DEBUG_MAP 1 37 | 38 | #include 39 | #include 40 | #include 41 | 42 | #endif 43 | -------------------------------------------------------------------------------- /include/c++/4.2.1/debug/set: -------------------------------------------------------------------------------- 1 | // Debugging set/multiset implementation -*- C++ -*- 2 | 3 | // Copyright (C) 2003 4 | // Free Software Foundation, Inc. 5 | // 6 | // This file is part of the GNU ISO C++ Library. This library is free 7 | // software; you can redistribute it and/or modify it under the 8 | // terms of the GNU General Public License as published by the 9 | // Free Software Foundation; either version 2, or (at your option) 10 | // any later version. 11 | 12 | // This library is distributed in the hope that it will be useful, 13 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 | // GNU General Public License for more details. 16 | 17 | // You should have received a copy of the GNU General Public License along 18 | // with this library; see the file COPYING. If not, write to the Free 19 | // Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, 20 | // USA. 21 | 22 | // As a special exception, you may use this file as part of a free software 23 | // library without restriction. Specifically, if other files instantiate 24 | // templates or use macros or inline functions from this file, or you compile 25 | // this file and link it with other files to produce an executable, this 26 | // file does not by itself cause the resulting executable to be covered by 27 | // the GNU General Public License. This exception does not however 28 | // invalidate any other reasons why the executable file might be covered by 29 | // the GNU General Public License. 30 | 31 | /** @file debug/set 32 | * This file is a GNU debug extension to the Standard C++ Library. 33 | */ 34 | 35 | #ifndef _GLIBCXX_DEBUG_SET 36 | #define _GLIBCXX_DEBUG_SET 1 37 | 38 | #include 39 | #include 40 | #include 41 | 42 | #endif 43 | -------------------------------------------------------------------------------- /include/c++/4.2.1/exception_defines.h: -------------------------------------------------------------------------------- 1 | // -fno-exceptions Support -*- C++ -*- 2 | 3 | // Copyright (C) 2001, 2003 Free Software Foundation, Inc. 4 | // 5 | // This file is part of the GNU ISO C++ Library. This library is free 6 | // software; you can redistribute it and/or modify it under the 7 | // terms of the GNU General Public License as published by the 8 | // Free Software Foundation; either version 2, or (at your option) 9 | // any later version. 10 | 11 | // This library is distributed in the hope that it will be useful, 12 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | // GNU General Public License for more details. 15 | 16 | // You should have received a copy of the GNU General Public License along 17 | // with this library; see the file COPYING. If not, write to the Free 18 | // Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, 19 | // USA. 20 | 21 | // As a special exception, you may use this file as part of a free software 22 | // library without restriction. Specifically, if other files instantiate 23 | // templates or use macros or inline functions from this file, or you compile 24 | // this file and link it with other files to produce an executable, this 25 | // file does not by itself cause the resulting executable to be covered by 26 | // the GNU General Public License. This exception does not however 27 | // invalidate any other reasons why the executable file might be covered by 28 | // the GNU General Public License. 29 | 30 | // 31 | // ISO C++ 14882: 19.1 Exception classes 32 | // 33 | 34 | /** @file exception_defines.h 35 | * This is a Standard C++ Library header. 36 | */ 37 | 38 | #ifndef _EXCEPTION_DEFINES_H 39 | #define _EXCEPTION_DEFINES_H 1 40 | 41 | #ifndef __EXCEPTIONS 42 | // Iff -fno-exceptions, transform error handling code to work without it. 43 | # define try if (true) 44 | # define catch(X) if (false) 45 | # define __throw_exception_again 46 | #else 47 | // Else proceed normally. 48 | # define __throw_exception_again throw 49 | #endif 50 | 51 | #endif 52 | -------------------------------------------------------------------------------- /include/c++/4.2.1/ext/pb_ds/detail/bin_search_tree_/policy_access_fn_imps.hpp: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | 3 | // Copyright (C) 2005, 2006 Free Software Foundation, Inc. 4 | // 5 | // This file is part of the GNU ISO C++ Library. This library is free 6 | // software; you can redistribute it and/or modify it under the terms 7 | // of the GNU General Public License as published by the Free Software 8 | // Foundation; either version 2, or (at your option) any later 9 | // version. 10 | 11 | // This library is distributed in the hope that it will be useful, but 12 | // WITHOUT ANY WARRANTY; without even the implied warranty of 13 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 14 | // General Public License for more details. 15 | 16 | // You should have received a copy of the GNU General Public License 17 | // along with this library; see the file COPYING. If not, write to 18 | // the Free Software Foundation, 59 Temple Place - Suite 330, Boston, 19 | // MA 02111-1307, USA. 20 | 21 | // As a special exception, you may use this file as part of a free 22 | // software library without restriction. Specifically, if other files 23 | // instantiate templates or use macros or inline functions from this 24 | // file, or you compile this file and link it with other files to 25 | // produce an executable, this file does not by itself cause the 26 | // resulting executable to be covered by the GNU General Public 27 | // License. This exception does not however invalidate any other 28 | // reasons why the executable file might be covered by the GNU General 29 | // Public License. 30 | 31 | // Copyright (C) 2004 Ami Tavory and Vladimir Dreizin, IBM-HRL. 32 | 33 | // Permission to use, copy, modify, sell, and distribute this software 34 | // is hereby granted without fee, provided that the above copyright 35 | // notice appears in all copies, and that both that copyright notice 36 | // and this permission notice appear in supporting documentation. None 37 | // of the above authors, nor IBM Haifa Research Laboratories, make any 38 | // representation about the suitability of this software for any 39 | // purpose. It is provided "as is" without express or implied 40 | // warranty. 41 | 42 | /** 43 | * @file policy_access_fn_imps.hpp 44 | * Contains an implementation class for bin_search_tree_. 45 | */ 46 | 47 | PB_DS_CLASS_T_DEC 48 | Cmp_Fn& 49 | PB_DS_CLASS_C_DEC:: 50 | get_cmp_fn() 51 | { 52 | return (*this); 53 | } 54 | 55 | PB_DS_CLASS_T_DEC 56 | const Cmp_Fn& 57 | PB_DS_CLASS_C_DEC:: 58 | get_cmp_fn() const 59 | { 60 | return (*this); 61 | } 62 | 63 | -------------------------------------------------------------------------------- /include/c++/4.2.1/ext/pb_ds/detail/binary_heap_/policy_access_fn_imps.hpp: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | 3 | // Copyright (C) 2005, 2006 Free Software Foundation, Inc. 4 | // 5 | // This file is part of the GNU ISO C++ Library. This library is free 6 | // software; you can redistribute it and/or modify it under the terms 7 | // of the GNU General Public License as published by the Free Software 8 | // Foundation; either version 2, or (at your option) any later 9 | // version. 10 | 11 | // This library is distributed in the hope that it will be useful, but 12 | // WITHOUT ANY WARRANTY; without even the implied warranty of 13 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 14 | // General Public License for more details. 15 | 16 | // You should have received a copy of the GNU General Public License 17 | // along with this library; see the file COPYING. If not, write to 18 | // the Free Software Foundation, 59 Temple Place - Suite 330, Boston, 19 | // MA 02111-1307, USA. 20 | 21 | // As a special exception, you may use this file as part of a free 22 | // software library without restriction. Specifically, if other files 23 | // instantiate templates or use macros or inline functions from this 24 | // file, or you compile this file and link it with other files to 25 | // produce an executable, this file does not by itself cause the 26 | // resulting executable to be covered by the GNU General Public 27 | // License. This exception does not however invalidate any other 28 | // reasons why the executable file might be covered by the GNU General 29 | // Public License. 30 | 31 | // Copyright (C) 2004 Ami Tavory and Vladimir Dreizin, IBM-HRL. 32 | 33 | // Permission to use, copy, modify, sell, and distribute this software 34 | // is hereby granted without fee, provided that the above copyright 35 | // notice appears in all copies, and that both that copyright notice 36 | // and this permission notice appear in supporting documentation. None 37 | // of the above authors, nor IBM Haifa Research Laboratories, make any 38 | // representation about the suitability of this software for any 39 | // purpose. It is provided "as is" without express or implied 40 | // warranty. 41 | 42 | /** 43 | * @file policy_access_fn_imps.hpp 44 | * Contains an implementation class for a binary_heap. 45 | */ 46 | 47 | PB_DS_CLASS_T_DEC 48 | Cmp_Fn& 49 | PB_DS_CLASS_C_DEC:: 50 | get_cmp_fn() 51 | { 52 | return (*this); 53 | } 54 | 55 | PB_DS_CLASS_T_DEC 56 | const Cmp_Fn& 57 | PB_DS_CLASS_C_DEC:: 58 | get_cmp_fn() const 59 | { 60 | return (*this); 61 | } 62 | 63 | -------------------------------------------------------------------------------- /include/c++/4.2.1/ext/pb_ds/detail/binomial_heap_/debug_fn_imps.hpp: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | 3 | // Copyright (C) 2005, 2006 Free Software Foundation, Inc. 4 | // 5 | // This file is part of the GNU ISO C++ Library. This library is free 6 | // software; you can redistribute it and/or modify it under the terms 7 | // of the GNU General Public License as published by the Free Software 8 | // Foundation; either version 2, or (at your option) any later 9 | // version. 10 | 11 | // This library is distributed in the hope that it will be useful, but 12 | // WITHOUT ANY WARRANTY; without even the implied warranty of 13 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 14 | // General Public License for more details. 15 | 16 | // You should have received a copy of the GNU General Public License 17 | // along with this library; see the file COPYING. If not, write to 18 | // the Free Software Foundation, 59 Temple Place - Suite 330, Boston, 19 | // MA 02111-1307, USA. 20 | 21 | // As a special exception, you may use this file as part of a free 22 | // software library without restriction. Specifically, if other files 23 | // instantiate templates or use macros or inline functions from this 24 | // file, or you compile this file and link it with other files to 25 | // produce an executable, this file does not by itself cause the 26 | // resulting executable to be covered by the GNU General Public 27 | // License. This exception does not however invalidate any other 28 | // reasons why the executable file might be covered by the GNU General 29 | // Public License. 30 | 31 | // Copyright (C) 2004 Ami Tavory and Vladimir Dreizin, IBM-HRL. 32 | 33 | // Permission to use, copy, modify, sell, and distribute this software 34 | // is hereby granted without fee, provided that the above copyright 35 | // notice appears in all copies, and that both that copyright notice 36 | // and this permission notice appear in supporting documentation. None 37 | // of the above authors, nor IBM Haifa Research Laboratories, make any 38 | // representation about the suitability of this software for any 39 | // purpose. It is provided "as is" without express or implied 40 | // warranty. 41 | 42 | /** 43 | * @file debug_fn_imps.hpp 44 | * Contains an implementation for binomial_heap_. 45 | */ 46 | 47 | #ifdef _GLIBCXX_DEBUG 48 | 49 | PB_DS_CLASS_T_DEC 50 | void 51 | PB_DS_CLASS_C_DEC:: 52 | assert_valid() const 53 | { base_type::assert_valid(true); } 54 | 55 | #endif 56 | -------------------------------------------------------------------------------- /include/c++/4.2.1/ext/pb_ds/detail/cc_hash_table_map_/debug_no_store_hash_fn_imps.hpp: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | 3 | // Copyright (C) 2005, 2006 Free Software Foundation, Inc. 4 | // 5 | // This file is part of the GNU ISO C++ Library. This library is free 6 | // software; you can redistribute it and/or modify it under the terms 7 | // of the GNU General Public License as published by the Free Software 8 | // Foundation; either version 2, or (at your option) any later 9 | // version. 10 | 11 | // This library is distributed in the hope that it will be useful, but 12 | // WITHOUT ANY WARRANTY; without even the implied warranty of 13 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 14 | // General Public License for more details. 15 | 16 | // You should have received a copy of the GNU General Public License 17 | // along with this library; see the file COPYING. If not, write to 18 | // the Free Software Foundation, 59 Temple Place - Suite 330, Boston, 19 | // MA 02111-1307, USA. 20 | 21 | // As a special exception, you may use this file as part of a free 22 | // software library without restriction. Specifically, if other files 23 | // instantiate templates or use macros or inline functions from this 24 | // file, or you compile this file and link it with other files to 25 | // produce an executable, this file does not by itself cause the 26 | // resulting executable to be covered by the GNU General Public 27 | // License. This exception does not however invalidate any other 28 | // reasons why the executable file might be covered by the GNU General 29 | // Public License. 30 | 31 | // Copyright (C) 2004 Ami Tavory and Vladimir Dreizin, IBM-HRL. 32 | 33 | // Permission to use, copy, modify, sell, and distribute this software 34 | // is hereby granted without fee, provided that the above copyright 35 | // notice appears in all copies, and that both that copyright notice 36 | // and this permission notice appear in supporting documentation. None 37 | // of the above authors, nor IBM Haifa Research Laboratories, make any 38 | // representation about the suitability of this software for any 39 | // purpose. It is provided "as is" without express or implied 40 | // warranty. 41 | 42 | /** 43 | * @file debug_no_store_hash_fn_imps.hpp 44 | * Contains implementations of cc_ht_map_'s debug-mode functions. 45 | */ 46 | 47 | #ifdef _GLIBCXX_DEBUG 48 | 49 | PB_DS_CLASS_T_DEC 50 | void 51 | PB_DS_CLASS_C_DEC:: 52 | assert_entry_pointer_valid(const entry_pointer p, false_type) const 53 | { map_debug_base::check_key_exists(PB_DS_V2F(p->m_value)); } 54 | 55 | #endif 56 | -------------------------------------------------------------------------------- /include/c++/4.2.1/ext/pb_ds/detail/cc_hash_table_map_/find_store_hash_fn_imps.hpp: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | 3 | // Copyright (C) 2005, 2006 Free Software Foundation, Inc. 4 | // 5 | // This file is part of the GNU ISO C++ Library. This library is free 6 | // software; you can redistribute it and/or modify it under the terms 7 | // of the GNU General Public License as published by the Free Software 8 | // Foundation; either version 2, or (at your option) any later 9 | // version. 10 | 11 | // This library is distributed in the hope that it will be useful, but 12 | // WITHOUT ANY WARRANTY; without even the implied warranty of 13 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 14 | // General Public License for more details. 15 | 16 | // You should have received a copy of the GNU General Public License 17 | // along with this library; see the file COPYING. If not, write to 18 | // the Free Software Foundation, 59 Temple Place - Suite 330, Boston, 19 | // MA 02111-1307, USA. 20 | 21 | // As a special exception, you may use this file as part of a free 22 | // software library without restriction. Specifically, if other files 23 | // instantiate templates or use macros or inline functions from this 24 | // file, or you compile this file and link it with other files to 25 | // produce an executable, this file does not by itself cause the 26 | // resulting executable to be covered by the GNU General Public 27 | // License. This exception does not however invalidate any other 28 | // reasons why the executable file might be covered by the GNU General 29 | // Public License. 30 | 31 | // Copyright (C) 2004 Ami Tavory and Vladimir Dreizin, IBM-HRL. 32 | 33 | // Permission to use, copy, modify, sell, and distribute this software 34 | // is hereby granted without fee, provided that the above copyright 35 | // notice appears in all copies, and that both that copyright notice 36 | // and this permission notice appear in supporting documentation. None 37 | // of the above authors, nor IBM Haifa Research Laboratories, make any 38 | // representation about the suitability of this software for any 39 | // purpose. It is provided "as is" without express or implied 40 | // warranty. 41 | 42 | /** 43 | * @file find_store_hash_fn_imps.hpp 44 | * Contains implementations of cc_ht_map_'s find related functions, 45 | * when the hash value is stored. 46 | */ 47 | 48 | -------------------------------------------------------------------------------- /include/c++/4.2.1/ext/pb_ds/detail/cc_hash_table_map_/insert_fn_imps.hpp: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | 3 | // Copyright (C) 2005, 2006 Free Software Foundation, Inc. 4 | // 5 | // This file is part of the GNU ISO C++ Library. This library is free 6 | // software; you can redistribute it and/or modify it under the terms 7 | // of the GNU General Public License as published by the Free Software 8 | // Foundation; either version 2, or (at your option) any later 9 | // version. 10 | 11 | // This library is distributed in the hope that it will be useful, but 12 | // WITHOUT ANY WARRANTY; without even the implied warranty of 13 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 14 | // General Public License for more details. 15 | 16 | // You should have received a copy of the GNU General Public License 17 | // along with this library; see the file COPYING. If not, write to 18 | // the Free Software Foundation, 59 Temple Place - Suite 330, Boston, 19 | // MA 02111-1307, USA. 20 | 21 | // As a special exception, you may use this file as part of a free 22 | // software library without restriction. Specifically, if other files 23 | // instantiate templates or use macros or inline functions from this 24 | // file, or you compile this file and link it with other files to 25 | // produce an executable, this file does not by itself cause the 26 | // resulting executable to be covered by the GNU General Public 27 | // License. This exception does not however invalidate any other 28 | // reasons why the executable file might be covered by the GNU General 29 | // Public License. 30 | 31 | // Copyright (C) 2004 Ami Tavory and Vladimir Dreizin, IBM-HRL. 32 | 33 | // Permission to use, copy, modify, sell, and distribute this software 34 | // is hereby granted without fee, provided that the above copyright 35 | // notice appears in all copies, and that both that copyright notice 36 | // and this permission notice appear in supporting documentation. None 37 | // of the above authors, nor IBM Haifa Research Laboratories, make any 38 | // representation about the suitability of this software for any 39 | // purpose. It is provided "as is" without express or implied 40 | // warranty. 41 | 42 | /** 43 | * @file insert_fn_imps.hpp 44 | * Contains implementations of cc_ht_map_'s insert related functions. 45 | */ 46 | 47 | #include 48 | #include 49 | 50 | -------------------------------------------------------------------------------- /include/c++/4.2.1/ext/pb_ds/detail/cc_hash_table_map_/standard_policies.hpp: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | 3 | // Copyright (C) 2005, 2006 Free Software Foundation, Inc. 4 | // 5 | // This file is part of the GNU ISO C++ Library. This library is free 6 | // software; you can redistribute it and/or modify it under the terms 7 | // of the GNU General Public License as published by the Free Software 8 | // Foundation; either version 2, or (at your option) any later 9 | // version. 10 | 11 | // This library is distributed in the hope that it will be useful, but 12 | // WITHOUT ANY WARRANTY; without even the implied warranty of 13 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 14 | // General Public License for more details. 15 | 16 | // You should have received a copy of the GNU General Public License 17 | // along with this library; see the file COPYING. If not, write to 18 | // the Free Software Foundation, 59 Temple Place - Suite 330, Boston, 19 | // MA 02111-1307, USA. 20 | 21 | // As a special exception, you may use this file as part of a free 22 | // software library without restriction. Specifically, if other files 23 | // instantiate templates or use macros or inline functions from this 24 | // file, or you compile this file and link it with other files to 25 | // produce an executable, this file does not by itself cause the 26 | // resulting executable to be covered by the GNU General Public 27 | // License. This exception does not however invalidate any other 28 | // reasons why the executable file might be covered by the GNU General 29 | // Public License. 30 | 31 | // Copyright (C) 2004 Ami Tavory and Vladimir Dreizin, IBM-HRL. 32 | 33 | // Permission to use, copy, modify, sell, and distribute this software 34 | // is hereby granted without fee, provided that the above copyright 35 | // notice appears in all copies, and that both that copyright notice 36 | // and this permission notice appear in supporting documentation. None 37 | // of the above authors, nor IBM Haifa Research Laboratories, make any 38 | // representation about the suitability of this software for any 39 | // purpose. It is provided "as is" without express or implied 40 | // warranty. 41 | 42 | /** 43 | * @file standard_policies.hpp 44 | * Contains standard policies for cc_ht_map types. 45 | */ 46 | 47 | #ifndef PB_DS_CC_HT_MAP_STANDARD_POLICIES_HPP 48 | #define PB_DS_CC_HT_MAP_STANDARD_POLICIES_HPP 49 | 50 | #include 51 | 52 | #endif // #ifndef PB_DS_CC_HT_MAP_STANDARD_POLICIES_HPP 53 | -------------------------------------------------------------------------------- /include/c++/4.2.1/ext/pb_ds/detail/gp_hash_table_map_/find_no_store_hash_fn_imps.hpp: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | 3 | // Copyright (C) 2005, 2006 Free Software Foundation, Inc. 4 | // 5 | // This file is part of the GNU ISO C++ Library. This library is free 6 | // software; you can redistribute it and/or modify it under the terms 7 | // of the GNU General Public License as published by the Free Software 8 | // Foundation; either version 2, or (at your option) any later 9 | // version. 10 | 11 | // This library is distributed in the hope that it will be useful, but 12 | // WITHOUT ANY WARRANTY; without even the implied warranty of 13 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 14 | // General Public License for more details. 15 | 16 | // You should have received a copy of the GNU General Public License 17 | // along with this library; see the file COPYING. If not, write to 18 | // the Free Software Foundation, 59 Temple Place - Suite 330, Boston, 19 | // MA 02111-1307, USA. 20 | 21 | // As a special exception, you may use this file as part of a free 22 | // software library without restriction. Specifically, if other files 23 | // instantiate templates or use macros or inline functions from this 24 | // file, or you compile this file and link it with other files to 25 | // produce an executable, this file does not by itself cause the 26 | // resulting executable to be covered by the GNU General Public 27 | // License. This exception does not however invalidate any other 28 | // reasons why the executable file might be covered by the GNU General 29 | // Public License. 30 | 31 | // Copyright (C) 2004 Ami Tavory and Vladimir Dreizin, IBM-HRL. 32 | 33 | // Permission to use, copy, modify, sell, and distribute this software 34 | // is hereby granted without fee, provided that the above copyright 35 | // notice appears in all copies, and that both that copyright notice 36 | // and this permission notice appear in supporting documentation. None 37 | // of the above authors, nor IBM Haifa Research Laboratories, make any 38 | // representation about the suitability of this software for any 39 | // purpose. It is provided "as is" without express or implied 40 | // warranty. 41 | 42 | /** 43 | * @file find_no_store_hash_fn_imps.hpp 44 | * Contains implementations of gp_ht_map_'s find related functions, 45 | * when the hash value is not stored. 46 | */ 47 | 48 | PB_DS_CLASS_T_DEC 49 | inline typename PB_DS_CLASS_C_DEC::pointer 50 | PB_DS_CLASS_C_DEC:: 51 | find_key_pointer(const_key_reference r_key, false_type) 52 | 53 | -------------------------------------------------------------------------------- /include/c++/4.2.1/ext/pb_ds/detail/gp_hash_table_map_/find_store_hash_fn_imps.hpp: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | 3 | // Copyright (C) 2005, 2006 Free Software Foundation, Inc. 4 | // 5 | // This file is part of the GNU ISO C++ Library. This library is free 6 | // software; you can redistribute it and/or modify it under the terms 7 | // of the GNU General Public License as published by the Free Software 8 | // Foundation; either version 2, or (at your option) any later 9 | // version. 10 | 11 | // This library is distributed in the hope that it will be useful, but 12 | // WITHOUT ANY WARRANTY; without even the implied warranty of 13 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 14 | // General Public License for more details. 15 | 16 | // You should have received a copy of the GNU General Public License 17 | // along with this library; see the file COPYING. If not, write to 18 | // the Free Software Foundation, 59 Temple Place - Suite 330, Boston, 19 | // MA 02111-1307, USA. 20 | 21 | // As a special exception, you may use this file as part of a free 22 | // software library without restriction. Specifically, if other files 23 | // instantiate templates or use macros or inline functions from this 24 | // file, or you compile this file and link it with other files to 25 | // produce an executable, this file does not by itself cause the 26 | // resulting executable to be covered by the GNU General Public 27 | // License. This exception does not however invalidate any other 28 | // reasons why the executable file might be covered by the GNU General 29 | // Public License. 30 | 31 | // Copyright (C) 2004 Ami Tavory and Vladimir Dreizin, IBM-HRL. 32 | 33 | // Permission to use, copy, modify, sell, and distribute this software 34 | // is hereby granted without fee, provided that the above copyright 35 | // notice appears in all copies, and that both that copyright notice 36 | // and this permission notice appear in supporting documentation. None 37 | // of the above authors, nor IBM Haifa Research Laboratories, make any 38 | // representation about the suitability of this software for any 39 | // purpose. It is provided "as is" without express or implied 40 | // warranty. 41 | 42 | /** 43 | * @file find_store_hash_fn_imps.hpp 44 | * Contains implementations of gp_ht_map_'s insert related functions, 45 | * when the hash value is stored. 46 | */ 47 | -------------------------------------------------------------------------------- /include/c++/4.2.1/ext/pb_ds/detail/gp_hash_table_map_/insert_fn_imps.hpp: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | 3 | // Copyright (C) 2005, 2006 Free Software Foundation, Inc. 4 | // 5 | // This file is part of the GNU ISO C++ Library. This library is free 6 | // software; you can redistribute it and/or modify it under the terms 7 | // of the GNU General Public License as published by the Free Software 8 | // Foundation; either version 2, or (at your option) any later 9 | // version. 10 | 11 | // This library is distributed in the hope that it will be useful, but 12 | // WITHOUT ANY WARRANTY; without even the implied warranty of 13 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 14 | // General Public License for more details. 15 | 16 | // You should have received a copy of the GNU General Public License 17 | // along with this library; see the file COPYING. If not, write to 18 | // the Free Software Foundation, 59 Temple Place - Suite 330, Boston, 19 | // MA 02111-1307, USA. 20 | 21 | // As a special exception, you may use this file as part of a free 22 | // software library without restriction. Specifically, if other files 23 | // instantiate templates or use macros or inline functions from this 24 | // file, or you compile this file and link it with other files to 25 | // produce an executable, this file does not by itself cause the 26 | // resulting executable to be covered by the GNU General Public 27 | // License. This exception does not however invalidate any other 28 | // reasons why the executable file might be covered by the GNU General 29 | // Public License. 30 | 31 | // Copyright (C) 2004 Ami Tavory and Vladimir Dreizin, IBM-HRL. 32 | 33 | // Permission to use, copy, modify, sell, and distribute this software 34 | // is hereby granted without fee, provided that the above copyright 35 | // notice appears in all copies, and that both that copyright notice 36 | // and this permission notice appear in supporting documentation. None 37 | // of the above authors, nor IBM Haifa Research Laboratories, make any 38 | // representation about the suitability of this software for any 39 | // purpose. It is provided "as is" without express or implied 40 | // warranty. 41 | 42 | /** 43 | * @file insert_fn_imps.hpp 44 | * Contains implementations of gp_ht_map_'s insert related functions. 45 | */ 46 | 47 | #include 48 | #include 49 | 50 | -------------------------------------------------------------------------------- /include/c++/4.2.1/ext/pb_ds/detail/hash_fn/linear_probe_fn_imp.hpp: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | 3 | // Copyright (C) 2005, 2006 Free Software Foundation, Inc. 4 | // 5 | // This file is part of the GNU ISO C++ Library. This library is free 6 | // software; you can redistribute it and/or modify it under the terms 7 | // of the GNU General Public License as published by the Free Software 8 | // Foundation; either version 2, or (at your option) any later 9 | // version. 10 | 11 | // This library is distributed in the hope that it will be useful, but 12 | // WITHOUT ANY WARRANTY; without even the implied warranty of 13 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 14 | // General Public License for more details. 15 | 16 | // You should have received a copy of the GNU General Public License 17 | // along with this library; see the file COPYING. If not, write to 18 | // the Free Software Foundation, 59 Temple Place - Suite 330, Boston, 19 | // MA 02111-1307, USA. 20 | 21 | // As a special exception, you may use this file as part of a free 22 | // software library without restriction. Specifically, if other files 23 | // instantiate templates or use macros or inline functions from this 24 | // file, or you compile this file and link it with other files to 25 | // produce an executable, this file does not by itself cause the 26 | // resulting executable to be covered by the GNU General Public 27 | // License. This exception does not however invalidate any other 28 | // reasons why the executable file might be covered by the GNU General 29 | // Public License. 30 | 31 | // Copyright (C) 2004 Ami Tavory and Vladimir Dreizin, IBM-HRL. 32 | 33 | // Permission to use, copy, modify, sell, and distribute this software 34 | // is hereby granted without fee, provided that the above copyright 35 | // notice appears in all copies, and that both that copyright notice 36 | // and this permission notice appear in supporting documentation. None 37 | // of the above authors, nor IBM Haifa Research Laboratories, make any 38 | // representation about the suitability of this software for any 39 | // purpose. It is provided "as is" without express or implied 40 | // warranty. 41 | 42 | /** 43 | * @file linear_probe_fn_imp.hpp 44 | * Contains a probe policy implementation 45 | */ 46 | 47 | PB_DS_CLASS_T_DEC 48 | inline void 49 | PB_DS_CLASS_C_DEC:: 50 | swap(PB_DS_CLASS_C_DEC& other) 51 | { } 52 | 53 | PB_DS_CLASS_T_DEC 54 | inline typename PB_DS_CLASS_C_DEC::size_type 55 | PB_DS_CLASS_C_DEC:: 56 | operator()(size_type i) const 57 | { 58 | return (i); 59 | } 60 | -------------------------------------------------------------------------------- /include/c++/4.2.1/ext/pb_ds/detail/hash_fn/probe_fn_base.hpp: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | 3 | // Copyright (C) 2005, 2006 Free Software Foundation, Inc. 4 | // 5 | // This file is part of the GNU ISO C++ Library. This library is free 6 | // software; you can redistribute it and/or modify it under the terms 7 | // of the GNU General Public License as published by the Free Software 8 | // Foundation; either version 2, or (at your option) any later 9 | // version. 10 | 11 | // This library is distributed in the hope that it will be useful, but 12 | // WITHOUT ANY WARRANTY; without even the implied warranty of 13 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 14 | // General Public License for more details. 15 | 16 | // You should have received a copy of the GNU General Public License 17 | // along with this library; see the file COPYING. If not, write to 18 | // the Free Software Foundation, 59 Temple Place - Suite 330, Boston, 19 | // MA 02111-1307, USA. 20 | 21 | // As a special exception, you may use this file as part of a free 22 | // software library without restriction. Specifically, if other files 23 | // instantiate templates or use macros or inline functions from this 24 | // file, or you compile this file and link it with other files to 25 | // produce an executable, this file does not by itself cause the 26 | // resulting executable to be covered by the GNU General Public 27 | // License. This exception does not however invalidate any other 28 | // reasons why the executable file might be covered by the GNU General 29 | // Public License. 30 | 31 | // Copyright (C) 2004 Ami Tavory and Vladimir Dreizin, IBM-HRL. 32 | 33 | // Permission to use, copy, modify, sell, and distribute this software 34 | // is hereby granted without fee, provided that the above copyright 35 | // notice appears in all copies, and that both that copyright notice 36 | // and this permission notice appear in supporting documentation. None 37 | // of the above authors, nor IBM Haifa Research Laboratories, make any 38 | // representation about the suitability of this software for any 39 | // purpose. It is provided "as is" without express or implied 40 | // warranty. 41 | 42 | /** 43 | * @file probe_fn_base.hpp 44 | * Contains a probe policy base. 45 | */ 46 | 47 | #ifndef PB_DS_PROBE_FN_BASE_HPP 48 | #define PB_DS_PROBE_FN_BASE_HPP 49 | 50 | #include 51 | 52 | namespace pb_ds 53 | { 54 | namespace detail 55 | { 56 | template 57 | class probe_fn_base 58 | { 59 | protected: 60 | ~probe_fn_base() { } 61 | }; 62 | } // namespace detail 63 | } // namespace pb_ds 64 | 65 | #endif 66 | -------------------------------------------------------------------------------- /include/c++/4.2.1/ext/pb_ds/detail/hash_fn/quadratic_probe_fn_imp.hpp: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | 3 | // Copyright (C) 2005, 2006 Free Software Foundation, Inc. 4 | // 5 | // This file is part of the GNU ISO C++ Library. This library is free 6 | // software; you can redistribute it and/or modify it under the terms 7 | // of the GNU General Public License as published by the Free Software 8 | // Foundation; either version 2, or (at your option) any later 9 | // version. 10 | 11 | // This library is distributed in the hope that it will be useful, but 12 | // WITHOUT ANY WARRANTY; without even the implied warranty of 13 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 14 | // General Public License for more details. 15 | 16 | // You should have received a copy of the GNU General Public License 17 | // along with this library; see the file COPYING. If not, write to 18 | // the Free Software Foundation, 59 Temple Place - Suite 330, Boston, 19 | // MA 02111-1307, USA. 20 | 21 | // As a special exception, you may use this file as part of a free 22 | // software library without restriction. Specifically, if other files 23 | // instantiate templates or use macros or inline functions from this 24 | // file, or you compile this file and link it with other files to 25 | // produce an executable, this file does not by itself cause the 26 | // resulting executable to be covered by the GNU General Public 27 | // License. This exception does not however invalidate any other 28 | // reasons why the executable file might be covered by the GNU General 29 | // Public License. 30 | 31 | // Copyright (C) 2004 Ami Tavory and Vladimir Dreizin, IBM-HRL. 32 | 33 | // Permission to use, copy, modify, sell, and distribute this software 34 | // is hereby granted without fee, provided that the above copyright 35 | // notice appears in all copies, and that both that copyright notice 36 | // and this permission notice appear in supporting documentation. None 37 | // of the above authors, nor IBM Haifa Research Laboratories, make any 38 | // representation about the suitability of this software for any 39 | // purpose. It is provided "as is" without express or implied 40 | // warranty. 41 | 42 | /** 43 | * @file quadratic_probe_fn_imp.hpp 44 | * Contains a probe policy implementation 45 | */ 46 | 47 | PB_DS_CLASS_T_DEC 48 | inline void 49 | PB_DS_CLASS_C_DEC:: 50 | swap(PB_DS_CLASS_C_DEC& other) 51 | { } 52 | 53 | PB_DS_CLASS_T_DEC 54 | inline typename PB_DS_CLASS_C_DEC::size_type 55 | PB_DS_CLASS_C_DEC:: 56 | operator()(size_type i) const 57 | { 58 | return (i* i); 59 | } 60 | -------------------------------------------------------------------------------- /include/c++/4.2.1/ext/pb_ds/detail/left_child_next_sibling_heap_/policy_access_fn_imps.hpp: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | 3 | // Copyright (C) 2005, 2006 Free Software Foundation, Inc. 4 | // 5 | // This file is part of the GNU ISO C++ Library. This library is free 6 | // software; you can redistribute it and/or modify it under the terms 7 | // of the GNU General Public License as published by the Free Software 8 | // Foundation; either version 2, or (at your option) any later 9 | // version. 10 | 11 | // This library is distributed in the hope that it will be useful, but 12 | // WITHOUT ANY WARRANTY; without even the implied warranty of 13 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 14 | // General Public License for more details. 15 | 16 | // You should have received a copy of the GNU General Public License 17 | // along with this library; see the file COPYING. If not, write to 18 | // the Free Software Foundation, 59 Temple Place - Suite 330, Boston, 19 | // MA 02111-1307, USA. 20 | 21 | // As a special exception, you may use this file as part of a free 22 | // software library without restriction. Specifically, if other files 23 | // instantiate templates or use macros or inline functions from this 24 | // file, or you compile this file and link it with other files to 25 | // produce an executable, this file does not by itself cause the 26 | // resulting executable to be covered by the GNU General Public 27 | // License. This exception does not however invalidate any other 28 | // reasons why the executable file might be covered by the GNU General 29 | // Public License. 30 | 31 | // Copyright (C) 2004 Ami Tavory and Vladimir Dreizin, IBM-HRL. 32 | 33 | // Permission to use, copy, modify, sell, and distribute this software 34 | // is hereby granted without fee, provided that the above copyright 35 | // notice appears in all copies, and that both that copyright notice 36 | // and this permission notice appear in supporting documentation. None 37 | // of the above authors, nor IBM Haifa Research Laboratories, make any 38 | // representation about the suitability of this software for any 39 | // purpose. It is provided "as is" without express or implied 40 | // warranty. 41 | 42 | /** 43 | * @file policy_access_fn_imps.hpp 44 | * Contains an implementation class for left_child_next_sibling_heap_. 45 | */ 46 | 47 | PB_DS_CLASS_T_DEC 48 | Cmp_Fn& 49 | PB_DS_CLASS_C_DEC:: 50 | get_cmp_fn() 51 | { 52 | return (*this); 53 | } 54 | 55 | PB_DS_CLASS_T_DEC 56 | const Cmp_Fn& 57 | PB_DS_CLASS_C_DEC:: 58 | get_cmp_fn() const 59 | { 60 | return (*this); 61 | } 62 | 63 | -------------------------------------------------------------------------------- /include/c++/4.2.1/ext/pb_ds/detail/list_update_map_/debug_fn_imps.hpp: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | 3 | // Copyright (C) 2005, 2006 Free Software Foundation, Inc. 4 | // 5 | // This file is part of the GNU ISO C++ Library. This library is free 6 | // software; you can redistribute it and/or modify it under the terms 7 | // of the GNU General Public License as published by the Free Software 8 | // Foundation; either version 2, or (at your option) any later 9 | // version. 10 | 11 | // This library is distributed in the hope that it will be useful, but 12 | // WITHOUT ANY WARRANTY; without even the implied warranty of 13 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 14 | // General Public License for more details. 15 | 16 | // You should have received a copy of the GNU General Public License 17 | // along with this library; see the file COPYING. If not, write to 18 | // the Free Software Foundation, 59 Temple Place - Suite 330, Boston, 19 | // MA 02111-1307, USA. 20 | 21 | // As a special exception, you may use this file as part of a free 22 | // software library without restriction. Specifically, if other files 23 | // instantiate templates or use macros or inline functions from this 24 | // file, or you compile this file and link it with other files to 25 | // produce an executable, this file does not by itself cause the 26 | // resulting executable to be covered by the GNU General Public 27 | // License. This exception does not however invalidate any other 28 | // reasons why the executable file might be covered by the GNU General 29 | // Public License. 30 | 31 | // Copyright (C) 2004 Ami Tavory and Vladimir Dreizin, IBM-HRL. 32 | 33 | // Permission to use, copy, modify, sell, and distribute this software 34 | // is hereby granted without fee, provided that the above copyright 35 | // notice appears in all copies, and that both that copyright notice 36 | // and this permission notice appear in supporting documentation. None 37 | // of the above authors, nor IBM Haifa Research Laboratories, make any 38 | // representation about the suitability of this software for any 39 | // purpose. It is provided "as is" without express or implied 40 | // warranty. 41 | 42 | /** 43 | * @file debug_fn_imps.hpp 44 | * Contains implementations of cc_ht_map_'s debug-mode functions. 45 | */ 46 | 47 | #ifdef _GLIBCXX_DEBUG 48 | 49 | PB_DS_CLASS_T_DEC 50 | void 51 | PB_DS_CLASS_C_DEC:: 52 | assert_valid() const 53 | { 54 | size_type calc_size = 0; 55 | for (const_iterator it = begin(); it != end(); ++it) 56 | { 57 | map_debug_base::check_key_exists(PB_DS_V2F(*it)); 58 | ++calc_size; 59 | } 60 | map_debug_base::check_size(calc_size); 61 | } 62 | 63 | #endif 64 | -------------------------------------------------------------------------------- /include/c++/4.2.1/ext/pb_ds/detail/list_update_map_/info_fn_imps.hpp: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | 3 | // Copyright (C) 2005, 2006 Free Software Foundation, Inc. 4 | // 5 | // This file is part of the GNU ISO C++ Library. This library is free 6 | // software; you can redistribute it and/or modify it under the terms 7 | // of the GNU General Public License as published by the Free Software 8 | // Foundation; either version 2, or (at your option) any later 9 | // version. 10 | 11 | // This library is distributed in the hope that it will be useful, but 12 | // WITHOUT ANY WARRANTY; without even the implied warranty of 13 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 14 | // General Public License for more details. 15 | 16 | // You should have received a copy of the GNU General Public License 17 | // along with this library; see the file COPYING. If not, write to 18 | // the Free Software Foundation, 59 Temple Place - Suite 330, Boston, 19 | // MA 02111-1307, USA. 20 | 21 | // As a special exception, you may use this file as part of a free 22 | // software library without restriction. Specifically, if other files 23 | // instantiate templates or use macros or inline functions from this 24 | // file, or you compile this file and link it with other files to 25 | // produce an executable, this file does not by itself cause the 26 | // resulting executable to be covered by the GNU General Public 27 | // License. This exception does not however invalidate any other 28 | // reasons why the executable file might be covered by the GNU General 29 | // Public License. 30 | 31 | // Copyright (C) 2004 Ami Tavory and Vladimir Dreizin, IBM-HRL. 32 | 33 | // Permission to use, copy, modify, sell, and distribute this software 34 | // is hereby granted without fee, provided that the above copyright 35 | // notice appears in all copies, and that both that copyright notice 36 | // and this permission notice appear in supporting documentation. None 37 | // of the above authors, nor IBM Haifa Research Laboratories, make any 38 | // representation about the suitability of this software for any 39 | // purpose. It is provided "as is" without express or implied 40 | // warranty. 41 | 42 | /** 43 | * @file info_fn_imps.hpp 44 | * Contains implementations of lu_map_. 45 | */ 46 | 47 | PB_DS_CLASS_T_DEC 48 | inline typename PB_DS_CLASS_C_DEC::size_type 49 | PB_DS_CLASS_C_DEC:: 50 | size() const 51 | { return std::distance(begin(), end()); } 52 | 53 | PB_DS_CLASS_T_DEC 54 | inline typename PB_DS_CLASS_C_DEC::size_type 55 | PB_DS_CLASS_C_DEC:: 56 | max_size() const 57 | { return s_entry_allocator.max_size(); } 58 | 59 | PB_DS_CLASS_T_DEC 60 | inline bool 61 | PB_DS_CLASS_C_DEC:: 62 | empty() const 63 | { return (m_p_l == NULL); } 64 | -------------------------------------------------------------------------------- /include/c++/4.2.1/ext/pb_ds/detail/list_update_map_/trace_fn_imps.hpp: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | 3 | // Copyright (C) 2005, 2006 Free Software Foundation, Inc. 4 | // 5 | // This file is part of the GNU ISO C++ Library. This library is free 6 | // software; you can redistribute it and/or modify it under the terms 7 | // of the GNU General Public License as published by the Free Software 8 | // Foundation; either version 2, or (at your option) any later 9 | // version. 10 | 11 | // This library is distributed in the hope that it will be useful, but 12 | // WITHOUT ANY WARRANTY; without even the implied warranty of 13 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 14 | // General Public License for more details. 15 | 16 | // You should have received a copy of the GNU General Public License 17 | // along with this library; see the file COPYING. If not, write to 18 | // the Free Software Foundation, 59 Temple Place - Suite 330, Boston, 19 | // MA 02111-1307, USA. 20 | 21 | // As a special exception, you may use this file as part of a free 22 | // software library without restriction. Specifically, if other files 23 | // instantiate templates or use macros or inline functions from this 24 | // file, or you compile this file and link it with other files to 25 | // produce an executable, this file does not by itself cause the 26 | // resulting executable to be covered by the GNU General Public 27 | // License. This exception does not however invalidate any other 28 | // reasons why the executable file might be covered by the GNU General 29 | // Public License. 30 | 31 | // Copyright (C) 2004 Ami Tavory and Vladimir Dreizin, IBM-HRL. 32 | 33 | // Permission to use, copy, modify, sell, and distribute this software 34 | // is hereby granted without fee, provided that the above copyright 35 | // notice appears in all copies, and that both that copyright notice 36 | // and this permission notice appear in supporting documentation. None 37 | // of the above authors, nor IBM Haifa Research Laboratories, make any 38 | // representation about the suitability of this software for any 39 | // purpose. It is provided "as is" without express or implied 40 | // warranty. 41 | 42 | /** 43 | * @file trace_fn_imps.hpp 44 | * Contains implementations of lu_map_. 45 | */ 46 | 47 | #ifdef PB_DS_LU_MAP_TRACE_ 48 | 49 | PB_DS_CLASS_T_DEC 50 | void 51 | PB_DS_CLASS_C_DEC:: 52 | trace() const 53 | { 54 | std::cerr << m_p_l << std::endl << std::endl; 55 | const_entry_pointer p_l = m_p_l; 56 | while (p_l != NULL) 57 | { 58 | std::cerr << PB_DS_V2F(p_l->m_value) << std::endl; 59 | p_l = p_l->m_p_next; 60 | } 61 | std::cerr << std::endl; 62 | } 63 | 64 | #endif 65 | 66 | -------------------------------------------------------------------------------- /include/c++/4.2.1/ext/pb_ds/detail/list_update_policy/counter_lu_policy_imp.hpp: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | 3 | // Copyright (C) 2005, 2006 Free Software Foundation, Inc. 4 | // 5 | // This file is part of the GNU ISO C++ Library. This library is free 6 | // software; you can redistribute it and/or modify it under the terms 7 | // of the GNU General Public License as published by the Free Software 8 | // Foundation; either version 2, or (at your option) any later 9 | // version. 10 | 11 | // This library is distributed in the hope that it will be useful, but 12 | // WITHOUT ANY WARRANTY; without even the implied warranty of 13 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 14 | // General Public License for more details. 15 | 16 | // You should have received a copy of the GNU General Public License 17 | // along with this library; see the file COPYING. If not, write to 18 | // the Free Software Foundation, 59 Temple Place - Suite 330, Boston, 19 | // MA 02111-1307, USA. 20 | 21 | // As a special exception, you may use this file as part of a free 22 | // software library without restriction. Specifically, if other files 23 | // instantiate templates or use macros or inline functions from this 24 | // file, or you compile this file and link it with other files to 25 | // produce an executable, this file does not by itself cause the 26 | // resulting executable to be covered by the GNU General Public 27 | // License. This exception does not however invalidate any other 28 | // reasons why the executable file might be covered by the GNU General 29 | // Public License. 30 | 31 | // Copyright (C) 2004 Ami Tavory and Vladimir Dreizin, IBM-HRL. 32 | 33 | // Permission to use, copy, modify, sell, and distribute this software 34 | // is hereby granted without fee, provided that the above copyright 35 | // notice appears in all copies, and that both that copyright notice 36 | // and this permission notice appear in supporting documentation. None 37 | // of the above authors, nor IBM Haifa Research Laboratories, make any 38 | // representation about the suitability of this software for any 39 | // purpose. It is provided "as is" without express or implied 40 | // warranty. 41 | 42 | /** 43 | * @file counter_lu_policy_imp.hpp 44 | * Contains a lu counter policy implementation. 45 | */ 46 | 47 | PB_DS_CLASS_T_DEC 48 | detail::counter_lu_metadata 49 | PB_DS_CLASS_C_DEC:: 50 | operator()() const 51 | { return (base_type::operator()(max_count)); } 52 | 53 | PB_DS_CLASS_T_DEC 54 | bool 55 | PB_DS_CLASS_C_DEC:: 56 | operator()(metadata_reference r_data) const 57 | { return (base_type::operator()(r_data, max_count)); } 58 | -------------------------------------------------------------------------------- /include/c++/4.2.1/ext/pb_ds/detail/list_update_policy/mtf_lu_policy_imp.hpp: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | 3 | // Copyright (C) 2005, 2006 Free Software Foundation, Inc. 4 | // 5 | // This file is part of the GNU ISO C++ Library. This library is free 6 | // software; you can redistribute it and/or modify it under the terms 7 | // of the GNU General Public License as published by the Free Software 8 | // Foundation; either version 2, or (at your option) any later 9 | // version. 10 | 11 | // This library is distributed in the hope that it will be useful, but 12 | // WITHOUT ANY WARRANTY; without even the implied warranty of 13 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 14 | // General Public License for more details. 15 | 16 | // You should have received a copy of the GNU General Public License 17 | // along with this library; see the file COPYING. If not, write to 18 | // the Free Software Foundation, 59 Temple Place - Suite 330, Boston, 19 | // MA 02111-1307, USA. 20 | 21 | // As a special exception, you may use this file as part of a free 22 | // software library without restriction. Specifically, if other files 23 | // instantiate templates or use macros or inline functions from this 24 | // file, or you compile this file and link it with other files to 25 | // produce an executable, this file does not by itself cause the 26 | // resulting executable to be covered by the GNU General Public 27 | // License. This exception does not however invalidate any other 28 | // reasons why the executable file might be covered by the GNU General 29 | // Public License. 30 | 31 | // Copyright (C) 2004 Ami Tavory and Vladimir Dreizin, IBM-HRL. 32 | 33 | // Permission to use, copy, modify, sell, and distribute this software 34 | // is hereby granted without fee, provided that the above copyright 35 | // notice appears in all copies, and that both that copyright notice 36 | // and this permission notice appear in supporting documentation. None 37 | // of the above authors, nor IBM Haifa Research Laboratories, make any 38 | // representation about the suitability of this software for any 39 | // purpose. It is provided "as is" without express or implied 40 | // warranty. 41 | 42 | /** 43 | * @file mtf_lu_policy_imp.hpp 44 | * Contains a move-to-front policy implementation. 45 | */ 46 | 47 | PB_DS_CLASS_T_DEC 48 | null_lu_metadata PB_DS_CLASS_C_DEC::s_metadata; 49 | 50 | PB_DS_CLASS_T_DEC 51 | typename PB_DS_CLASS_C_DEC::metadata_type 52 | PB_DS_CLASS_C_DEC:: 53 | operator()() const 54 | { return s_metadata; } 55 | 56 | PB_DS_CLASS_T_DEC 57 | inline bool 58 | PB_DS_CLASS_C_DEC:: 59 | operator()(metadata_reference /*r_data*/) const 60 | { return true; } 61 | 62 | -------------------------------------------------------------------------------- /include/c++/4.2.1/ext/pb_ds/detail/ov_tree_map_/policy_access_fn_imps.hpp: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | 3 | // Copyright (C) 2005, 2006 Free Software Foundation, Inc. 4 | // 5 | // This file is part of the GNU ISO C++ Library. This library is free 6 | // software; you can redistribute it and/or modify it under the terms 7 | // of the GNU General Public License as published by the Free Software 8 | // Foundation; either version 2, or (at your option) any later 9 | // version. 10 | 11 | // This library is distributed in the hope that it will be useful, but 12 | // WITHOUT ANY WARRANTY; without even the implied warranty of 13 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 14 | // General Public License for more details. 15 | 16 | // You should have received a copy of the GNU General Public License 17 | // along with this library; see the file COPYING. If not, write to 18 | // the Free Software Foundation, 59 Temple Place - Suite 330, Boston, 19 | // MA 02111-1307, USA. 20 | 21 | // As a special exception, you may use this file as part of a free 22 | // software library without restriction. Specifically, if other files 23 | // instantiate templates or use macros or inline functions from this 24 | // file, or you compile this file and link it with other files to 25 | // produce an executable, this file does not by itself cause the 26 | // resulting executable to be covered by the GNU General Public 27 | // License. This exception does not however invalidate any other 28 | // reasons why the executable file might be covered by the GNU General 29 | // Public License. 30 | 31 | // Copyright (C) 2004 Ami Tavory and Vladimir Dreizin, IBM-HRL. 32 | 33 | // Permission to use, copy, modify, sell, and distribute this software 34 | // is hereby granted without fee, provided that the above copyright 35 | // notice appears in all copies, and that both that copyright notice 36 | // and this permission notice appear in supporting documentation. None 37 | // of the above authors, nor IBM Haifa Research Laboratories, make any 38 | // representation about the suitability of this software for any 39 | // purpose. It is provided "as is" without express or implied 40 | // warranty. 41 | 42 | /** 43 | * @file policy_access_fn_imps.hpp 44 | * Contains an implementation class for bin_search_tree_. 45 | */ 46 | 47 | PB_DS_CLASS_T_DEC 48 | Cmp_Fn& 49 | PB_DS_CLASS_C_DEC:: 50 | get_cmp_fn() 51 | { return *this; } 52 | 53 | PB_DS_CLASS_T_DEC 54 | const Cmp_Fn& 55 | PB_DS_CLASS_C_DEC:: 56 | get_cmp_fn() const 57 | { return *this; } 58 | -------------------------------------------------------------------------------- /include/c++/4.2.1/ext/pb_ds/detail/pairing_heap_/debug_fn_imps.hpp: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | 3 | // Copyright (C) 2005, 2006 Free Software Foundation, Inc. 4 | // 5 | // This file is part of the GNU ISO C++ Library. This library is free 6 | // software; you can redistribute it and/or modify it under the terms 7 | // of the GNU General Public License as published by the Free Software 8 | // Foundation; either version 2, or (at your option) any later 9 | // version. 10 | 11 | // This library is distributed in the hope that it will be useful, but 12 | // WITHOUT ANY WARRANTY; without even the implied warranty of 13 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 14 | // General Public License for more details. 15 | 16 | // You should have received a copy of the GNU General Public License 17 | // along with this library; see the file COPYING. If not, write to 18 | // the Free Software Foundation, 59 Temple Place - Suite 330, Boston, 19 | // MA 02111-1307, USA. 20 | 21 | // As a special exception, you may use this file as part of a free 22 | // software library without restriction. Specifically, if other files 23 | // instantiate templates or use macros or inline functions from this 24 | // file, or you compile this file and link it with other files to 25 | // produce an executable, this file does not by itself cause the 26 | // resulting executable to be covered by the GNU General Public 27 | // License. This exception does not however invalidate any other 28 | // reasons why the executable file might be covered by the GNU General 29 | // Public License. 30 | 31 | // Copyright (C) 2004 Ami Tavory and Vladimir Dreizin, IBM-HRL. 32 | 33 | // Permission to use, copy, modify, sell, and distribute this software 34 | // is hereby granted without fee, provided that the above copyright 35 | // notice appears in all copies, and that both that copyright notice 36 | // and this permission notice appear in supporting documentation. None 37 | // of the above authors, nor IBM Haifa Research Laboratories, make any 38 | // representation about the suitability of this software for any 39 | // purpose. It is provided "as is" without express or implied 40 | // warranty. 41 | 42 | /** 43 | * @file debug_fn_imps.hpp 44 | * Contains an implementation class for a pairing heap. 45 | */ 46 | 47 | #ifdef _GLIBCXX_DEBUG 48 | 49 | PB_DS_CLASS_T_DEC 50 | void 51 | PB_DS_CLASS_C_DEC:: 52 | assert_valid() const 53 | { 54 | _GLIBCXX_DEBUG_ASSERT(base_type::m_p_root == NULL 55 | || base_type::m_p_root->m_p_next_sibling == NULL); 56 | base_type::assert_valid(); 57 | } 58 | 59 | #endif 60 | -------------------------------------------------------------------------------- /include/c++/4.2.1/ext/pb_ds/detail/pairing_heap_/find_fn_imps.hpp: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | 3 | // Copyright (C) 2005, 2006 Free Software Foundation, Inc. 4 | // 5 | // This file is part of the GNU ISO C++ Library. This library is free 6 | // software; you can redistribute it and/or modify it under the terms 7 | // of the GNU General Public License as published by the Free Software 8 | // Foundation; either version 2, or (at your option) any later 9 | // version. 10 | 11 | // This library is distributed in the hope that it will be useful, but 12 | // WITHOUT ANY WARRANTY; without even the implied warranty of 13 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 14 | // General Public License for more details. 15 | 16 | // You should have received a copy of the GNU General Public License 17 | // along with this library; see the file COPYING. If not, write to 18 | // the Free Software Foundation, 59 Temple Place - Suite 330, Boston, 19 | // MA 02111-1307, USA. 20 | 21 | // As a special exception, you may use this file as part of a free 22 | // software library without restriction. Specifically, if other files 23 | // instantiate templates or use macros or inline functions from this 24 | // file, or you compile this file and link it with other files to 25 | // produce an executable, this file does not by itself cause the 26 | // resulting executable to be covered by the GNU General Public 27 | // License. This exception does not however invalidate any other 28 | // reasons why the executable file might be covered by the GNU General 29 | // Public License. 30 | 31 | // Copyright (C) 2004 Ami Tavory and Vladimir Dreizin, IBM-HRL. 32 | 33 | // Permission to use, copy, modify, sell, and distribute this software 34 | // is hereby granted without fee, provided that the above copyright 35 | // notice appears in all copies, and that both that copyright notice 36 | // and this permission notice appear in supporting documentation. None 37 | // of the above authors, nor IBM Haifa Research Laboratories, make any 38 | // representation about the suitability of this software for any 39 | // purpose. It is provided "as is" without express or implied 40 | // warranty. 41 | 42 | /** 43 | * @file find_fn_imps.hpp 44 | * Contains an implementation class for a pairing heap. 45 | */ 46 | 47 | PB_DS_CLASS_T_DEC 48 | inline typename PB_DS_CLASS_C_DEC::const_reference 49 | PB_DS_CLASS_C_DEC:: 50 | top() const 51 | { 52 | _GLIBCXX_DEBUG_ONLY(assert_valid();) 53 | _GLIBCXX_DEBUG_ASSERT(!base_type::empty()); 54 | 55 | return base_type::m_p_root->m_value; 56 | } 57 | -------------------------------------------------------------------------------- /include/c++/4.2.1/ext/pb_ds/detail/pat_trie_/info_fn_imps.hpp: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | 3 | // Copyright (C) 2005, 2006 Free Software Foundation, Inc. 4 | // 5 | // This file is part of the GNU ISO C++ Library. This library is free 6 | // software; you can redistribute it and/or modify it under the terms 7 | // of the GNU General Public License as published by the Free Software 8 | // Foundation; either version 2, or (at your option) any later 9 | // version. 10 | 11 | // This library is distributed in the hope that it will be useful, but 12 | // WITHOUT ANY WARRANTY; without even the implied warranty of 13 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 14 | // General Public License for more details. 15 | 16 | // You should have received a copy of the GNU General Public License 17 | // along with this library; see the file COPYING. If not, write to 18 | // the Free Software Foundation, 59 Temple Place - Suite 330, Boston, 19 | // MA 02111-1307, USA. 20 | 21 | // As a special exception, you may use this file as part of a free 22 | // software library without restriction. Specifically, if other files 23 | // instantiate templates or use macros or inline functions from this 24 | // file, or you compile this file and link it with other files to 25 | // produce an executable, this file does not by itself cause the 26 | // resulting executable to be covered by the GNU General Public 27 | // License. This exception does not however invalidate any other 28 | // reasons why the executable file might be covered by the GNU General 29 | // Public License. 30 | 31 | // Copyright (C) 2004 Ami Tavory and Vladimir Dreizin, IBM-HRL. 32 | 33 | // Permission to use, copy, modify, sell, and distribute this software 34 | // is hereby granted without fee, provided that the above copyright 35 | // notice appears in all copies, and that both that copyright notice 36 | // and this permission notice appear in supporting documentation. None 37 | // of the above authors, nor IBM Haifa Research Laboratories, make any 38 | // representation about the suitability of this software for any 39 | // purpose. It is provided "as is" without express or implied 40 | // warranty. 41 | 42 | /** 43 | * @file info_fn_imps.hpp 44 | * Contains an implementation class for bin_search_tree_. 45 | */ 46 | 47 | PB_DS_CLASS_T_DEC 48 | inline bool 49 | PB_DS_CLASS_C_DEC:: 50 | empty() const 51 | { return (m_size == 0); } 52 | 53 | PB_DS_CLASS_T_DEC 54 | inline typename PB_DS_CLASS_C_DEC::size_type 55 | PB_DS_CLASS_C_DEC:: 56 | size() const 57 | { return m_size; } 58 | 59 | PB_DS_CLASS_T_DEC 60 | inline typename PB_DS_CLASS_C_DEC::size_type 61 | PB_DS_CLASS_C_DEC:: 62 | max_size() const 63 | { return s_internal_node_allocator.max_size(); } 64 | 65 | -------------------------------------------------------------------------------- /include/c++/4.2.1/ext/pb_ds/detail/pat_trie_/update_fn_imps.hpp: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | 3 | // Copyright (C) 2005, 2006 Free Software Foundation, Inc. 4 | // 5 | // This file is part of the GNU ISO C++ Library. This library is free 6 | // software; you can redistribute it and/or modify it under the terms 7 | // of the GNU General Public License as published by the Free Software 8 | // Foundation; either version 2, or (at your option) any later 9 | // version. 10 | 11 | // This library is distributed in the hope that it will be useful, but 12 | // WITHOUT ANY WARRANTY; without even the implied warranty of 13 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 14 | // General Public License for more details. 15 | 16 | // You should have received a copy of the GNU General Public License 17 | // along with this library; see the file COPYING. If not, write to 18 | // the Free Software Foundation, 59 Temple Place - Suite 330, Boston, 19 | // MA 02111-1307, USA. 20 | 21 | // As a special exception, you may use this file as part of a free 22 | // software library without restriction. Specifically, if other files 23 | // instantiate templates or use macros or inline functions from this 24 | // file, or you compile this file and link it with other files to 25 | // produce an executable, this file does not by itself cause the 26 | // resulting executable to be covered by the GNU General Public 27 | // License. This exception does not however invalidate any other 28 | // reasons why the executable file might be covered by the GNU General 29 | // Public License. 30 | 31 | // Copyright (C) 2004 Ami Tavory and Vladimir Dreizin, IBM-HRL. 32 | 33 | // Permission to use, copy, modify, sell, and distribute this software 34 | // is hereby granted without fee, provided that the above copyright 35 | // notice appears in all copies, and that both that copyright notice 36 | // and this permission notice appear in supporting documentation. None 37 | // of the above authors, nor IBM Haifa Research Laboratories, make any 38 | // representation about the suitability of this software for any 39 | // purpose. It is provided "as is" without express or implied 40 | // warranty. 41 | 42 | /** 43 | * @file update_fn_imps.hpp 44 | * Contains an implementation class for pat_trie_. 45 | */ 46 | 47 | PB_DS_CLASS_T_DEC 48 | inline void 49 | PB_DS_CLASS_C_DEC:: 50 | apply_update(node_pointer /*p_nd*/, null_node_update_pointer) 51 | { } 52 | 53 | PB_DS_CLASS_T_DEC 54 | template 55 | inline void 56 | PB_DS_CLASS_C_DEC:: 57 | apply_update(node_pointer p_nd, Node_Update_* /*p_update*/) 58 | { 59 | Node_Update_::operator()(node_iterator(p_nd, this), 60 | const_node_iterator(NULL, this)); 61 | } 62 | -------------------------------------------------------------------------------- /include/c++/4.2.1/ext/pb_ds/detail/rb_tree_map_/find_fn_imps.hpp: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | 3 | // Copyright (C) 2005, 2006 Free Software Foundation, Inc. 4 | // 5 | // This file is part of the GNU ISO C++ Library. This library is free 6 | // software; you can redistribute it and/or modify it under the terms 7 | // of the GNU General Public License as published by the Free Software 8 | // Foundation; either version 2, or (at your option) any later 9 | // version. 10 | 11 | // This library is distributed in the hope that it will be useful, but 12 | // WITHOUT ANY WARRANTY; without even the implied warranty of 13 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 14 | // General Public License for more details. 15 | 16 | // You should have received a copy of the GNU General Public License 17 | // along with this library; see the file COPYING. If not, write to 18 | // the Free Software Foundation, 59 Temple Place - Suite 330, Boston, 19 | // MA 02111-1307, USA. 20 | 21 | // As a special exception, you may use this file as part of a free 22 | // software library without restriction. Specifically, if other files 23 | // instantiate templates or use macros or inline functions from this 24 | // file, or you compile this file and link it with other files to 25 | // produce an executable, this file does not by itself cause the 26 | // resulting executable to be covered by the GNU General Public 27 | // License. This exception does not however invalidate any other 28 | // reasons why the executable file might be covered by the GNU General 29 | // Public License. 30 | 31 | // Copyright (C) 2004 Ami Tavory and Vladimir Dreizin, IBM-HRL. 32 | 33 | // Permission to use, copy, modify, sell, and distribute this software 34 | // is hereby granted without fee, provided that the above copyright 35 | // notice appears in all copies, and that both that copyright notice 36 | // and this permission notice appear in supporting documentation. None 37 | // of the above authors, nor IBM Haifa Research Laboratories, make any 38 | // representation about the suitability of this software for any 39 | // purpose. It is provided "as is" without express or implied 40 | // warranty. 41 | 42 | /** 43 | * @file find_fn_imps.hpp 44 | * Contains an implementation for rb_tree_. 45 | */ 46 | -------------------------------------------------------------------------------- /include/c++/4.2.1/ext/pb_ds/detail/rb_tree_map_/info_fn_imps.hpp: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | 3 | // Copyright (C) 2005, 2006 Free Software Foundation, Inc. 4 | // 5 | // This file is part of the GNU ISO C++ Library. This library is free 6 | // software; you can redistribute it and/or modify it under the terms 7 | // of the GNU General Public License as published by the Free Software 8 | // Foundation; either version 2, or (at your option) any later 9 | // version. 10 | 11 | // This library is distributed in the hope that it will be useful, but 12 | // WITHOUT ANY WARRANTY; without even the implied warranty of 13 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 14 | // General Public License for more details. 15 | 16 | // You should have received a copy of the GNU General Public License 17 | // along with this library; see the file COPYING. If not, write to 18 | // the Free Software Foundation, 59 Temple Place - Suite 330, Boston, 19 | // MA 02111-1307, USA. 20 | 21 | // As a special exception, you may use this file as part of a free 22 | // software library without restriction. Specifically, if other files 23 | // instantiate templates or use macros or inline functions from this 24 | // file, or you compile this file and link it with other files to 25 | // produce an executable, this file does not by itself cause the 26 | // resulting executable to be covered by the GNU General Public 27 | // License. This exception does not however invalidate any other 28 | // reasons why the executable file might be covered by the GNU General 29 | // Public License. 30 | 31 | // Copyright (C) 2004 Ami Tavory and Vladimir Dreizin, IBM-HRL. 32 | 33 | // Permission to use, copy, modify, sell, and distribute this software 34 | // is hereby granted without fee, provided that the above copyright 35 | // notice appears in all copies, and that both that copyright notice 36 | // and this permission notice appear in supporting documentation. None 37 | // of the above authors, nor IBM Haifa Research Laboratories, make any 38 | // representation about the suitability of this software for any 39 | // purpose. It is provided "as is" without express or implied 40 | // warranty. 41 | 42 | /** 43 | * @file info_fn_imps.hpp 44 | * Contains an implementation for rb_tree_. 45 | */ 46 | 47 | PB_DS_CLASS_T_DEC 48 | inline bool 49 | PB_DS_CLASS_C_DEC:: 50 | is_effectively_black(const node_pointer p_nd) 51 | { return (p_nd == NULL || !p_nd->m_red); } 52 | 53 | -------------------------------------------------------------------------------- /include/c++/4.2.1/ext/pb_ds/detail/rc_binomial_heap_/trace_fn_imps.hpp: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | 3 | // Copyright (C) 2005, 2006 Free Software Foundation, Inc. 4 | // 5 | // This file is part of the GNU ISO C++ Library. This library is free 6 | // software; you can redistribute it and/or modify it under the terms 7 | // of the GNU General Public License as published by the Free Software 8 | // Foundation; either version 2, or (at your option) any later 9 | // version. 10 | 11 | // This library is distributed in the hope that it will be useful, but 12 | // WITHOUT ANY WARRANTY; without even the implied warranty of 13 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 14 | // General Public License for more details. 15 | 16 | // You should have received a copy of the GNU General Public License 17 | // along with this library; see the file COPYING. If not, write to 18 | // the Free Software Foundation, 59 Temple Place - Suite 330, Boston, 19 | // MA 02111-1307, USA. 20 | 21 | // As a special exception, you may use this file as part of a free 22 | // software library without restriction. Specifically, if other files 23 | // instantiate templates or use macros or inline functions from this 24 | // file, or you compile this file and link it with other files to 25 | // produce an executable, this file does not by itself cause the 26 | // resulting executable to be covered by the GNU General Public 27 | // License. This exception does not however invalidate any other 28 | // reasons why the executable file might be covered by the GNU General 29 | // Public License. 30 | 31 | // Copyright (C) 2004 Ami Tavory and Vladimir Dreizin, IBM-HRL. 32 | 33 | // Permission to use, copy, modify, sell, and distribute this software 34 | // is hereby granted without fee, provided that the above copyright 35 | // notice appears in all copies, and that both that copyright notice 36 | // and this permission notice appear in supporting documentation. None 37 | // of the above authors, nor IBM Haifa Research Laboratories, make any 38 | // representation about the suitability of this software for any 39 | // purpose. It is provided "as is" without express or implied 40 | // warranty. 41 | 42 | /** 43 | * @file trace_fn_imps.hpp 44 | * Contains an implementation for rc_binomial_heap_. 45 | */ 46 | 47 | #ifdef PB_DS_RC_BINOMIAL_HEAP_TRACE_ 48 | 49 | PB_DS_CLASS_T_DEC 50 | void 51 | PB_DS_CLASS_C_DEC:: 52 | trace() const 53 | { 54 | base_type::trace(); 55 | 56 | m_rc.trace(); 57 | } 58 | 59 | #endif // #ifdef PB_DS_RC_BINOMIAL_HEAP_TRACE_ 60 | -------------------------------------------------------------------------------- /include/c++/4.2.1/ext/pb_ds/detail/splay_tree_/info_fn_imps.hpp: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | 3 | // Copyright (C) 2005, 2006 Free Software Foundation, Inc. 4 | // 5 | // This file is part of the GNU ISO C++ Library. This library is free 6 | // software; you can redistribute it and/or modify it under the terms 7 | // of the GNU General Public License as published by the Free Software 8 | // Foundation; either version 2, or (at your option) any later 9 | // version. 10 | 11 | // This library is distributed in the hope that it will be useful, but 12 | // WITHOUT ANY WARRANTY; without even the implied warranty of 13 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 14 | // General Public License for more details. 15 | 16 | // You should have received a copy of the GNU General Public License 17 | // along with this library; see the file COPYING. If not, write to 18 | // the Free Software Foundation, 59 Temple Place - Suite 330, Boston, 19 | // MA 02111-1307, USA. 20 | 21 | // As a special exception, you may use this file as part of a free 22 | // software library without restriction. Specifically, if other files 23 | // instantiate templates or use macros or inline functions from this 24 | // file, or you compile this file and link it with other files to 25 | // produce an executable, this file does not by itself cause the 26 | // resulting executable to be covered by the GNU General Public 27 | // License. This exception does not however invalidate any other 28 | // reasons why the executable file might be covered by the GNU General 29 | // Public License. 30 | 31 | // Copyright (C) 2004 Ami Tavory and Vladimir Dreizin, IBM-HRL. 32 | 33 | // Permission to use, copy, modify, sell, and distribute this software 34 | // is hereby granted without fee, provided that the above copyright 35 | // notice appears in all copies, and that both that copyright notice 36 | // and this permission notice appear in supporting documentation. None 37 | // of the above authors, nor IBM Haifa Research Laboratories, make any 38 | // representation about the suitability of this software for any 39 | // purpose. It is provided "as is" without express or implied 40 | // warranty. 41 | 42 | /** 43 | * @file info_fn_imps.hpp 44 | * Contains an implementation. 45 | */ 46 | -------------------------------------------------------------------------------- /include/c++/4.2.1/ext/pb_ds/detail/thin_heap_/find_fn_imps.hpp: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | 3 | // Copyright (C) 2005, 2006 Free Software Foundation, Inc. 4 | // 5 | // This file is part of the GNU ISO C++ Library. This library is free 6 | // software; you can redistribute it and/or modify it under the terms 7 | // of the GNU General Public License as published by the Free Software 8 | // Foundation; either version 2, or (at your option) any later 9 | // version. 10 | 11 | // This library is distributed in the hope that it will be useful, but 12 | // WITHOUT ANY WARRANTY; without even the implied warranty of 13 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 14 | // General Public License for more details. 15 | 16 | // You should have received a copy of the GNU General Public License 17 | // along with this library; see the file COPYING. If not, write to 18 | // the Free Software Foundation, 59 Temple Place - Suite 330, Boston, 19 | // MA 02111-1307, USA. 20 | 21 | // As a special exception, you may use this file as part of a free 22 | // software library without restriction. Specifically, if other files 23 | // instantiate templates or use macros or inline functions from this 24 | // file, or you compile this file and link it with other files to 25 | // produce an executable, this file does not by itself cause the 26 | // resulting executable to be covered by the GNU General Public 27 | // License. This exception does not however invalidate any other 28 | // reasons why the executable file might be covered by the GNU General 29 | // Public License. 30 | 31 | // Copyright (C) 2004 Ami Tavory and Vladimir Dreizin, IBM-HRL. 32 | 33 | // Permission to use, copy, modify, sell, and distribute this software 34 | // is hereby granted without fee, provided that the above copyright 35 | // notice appears in all copies, and that both that copyright notice 36 | // and this permission notice appear in supporting documentation. None 37 | // of the above authors, nor IBM Haifa Research Laboratories, make any 38 | // representation about the suitability of this software for any 39 | // purpose. It is provided "as is" without express or implied 40 | // warranty. 41 | 42 | /** 43 | * @file find_fn_imps.hpp 44 | * Contains an implementation for thin_heap_. 45 | */ 46 | 47 | PB_DS_CLASS_T_DEC 48 | inline typename PB_DS_CLASS_C_DEC::const_reference 49 | PB_DS_CLASS_C_DEC:: 50 | top() const 51 | { 52 | _GLIBCXX_DEBUG_ONLY(assert_valid();) 53 | _GLIBCXX_DEBUG_ASSERT(!base_type::empty()); 54 | 55 | _GLIBCXX_DEBUG_ASSERT(m_p_max != NULL); 56 | return m_p_max->m_value; 57 | } 58 | -------------------------------------------------------------------------------- /include/c++/4.2.1/ext/pb_ds/detail/thin_heap_/trace_fn_imps.hpp: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | 3 | // Copyright (C) 2005, 2006 Free Software Foundation, Inc. 4 | // 5 | // This file is part of the GNU ISO C++ Library. This library is free 6 | // software; you can redistribute it and/or modify it under the terms 7 | // of the GNU General Public License as published by the Free Software 8 | // Foundation; either version 2, or (at your option) any later 9 | // version. 10 | 11 | // This library is distributed in the hope that it will be useful, but 12 | // WITHOUT ANY WARRANTY; without even the implied warranty of 13 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 14 | // General Public License for more details. 15 | 16 | // You should have received a copy of the GNU General Public License 17 | // along with this library; see the file COPYING. If not, write to 18 | // the Free Software Foundation, 59 Temple Place - Suite 330, Boston, 19 | // MA 02111-1307, USA. 20 | 21 | // As a special exception, you may use this file as part of a free 22 | // software library without restriction. Specifically, if other files 23 | // instantiate templates or use macros or inline functions from this 24 | // file, or you compile this file and link it with other files to 25 | // produce an executable, this file does not by itself cause the 26 | // resulting executable to be covered by the GNU General Public 27 | // License. This exception does not however invalidate any other 28 | // reasons why the executable file might be covered by the GNU General 29 | // Public License. 30 | 31 | // Copyright (C) 2004 Ami Tavory and Vladimir Dreizin, IBM-HRL. 32 | 33 | // Permission to use, copy, modify, sell, and distribute this software 34 | // is hereby granted without fee, provided that the above copyright 35 | // notice appears in all copies, and that both that copyright notice 36 | // and this permission notice appear in supporting documentation. None 37 | // of the above authors, nor IBM Haifa Research Laboratories, make any 38 | // representation about the suitability of this software for any 39 | // purpose. It is provided "as is" without express or implied 40 | // warranty. 41 | 42 | /** 43 | * @file trace_fn_imps.hpp 44 | * Contains an implementation class for left_child_next_sibling_heap_. 45 | */ 46 | 47 | #ifdef PB_DS_THIN_HEAP_TRACE_ 48 | 49 | PB_DS_CLASS_T_DEC 50 | void 51 | PB_DS_CLASS_C_DEC:: 52 | trace() const 53 | { 54 | std::cerr << std::endl; 55 | 56 | std::cerr << "m_p_max " << m_p_max << std::endl; 57 | 58 | base_type::trace(); 59 | } 60 | 61 | #endif // #ifdef PB_DS_THIN_HEAP_TRACE_ 62 | -------------------------------------------------------------------------------- /include/c++/4.2.1/ext/pb_ds/detail/tree_policy/null_node_update_imp.hpp: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | 3 | // Copyright (C) 2005, 2006 Free Software Foundation, Inc. 4 | // 5 | // This file is part of the GNU ISO C++ Library. This library is free 6 | // software; you can redistribute it and/or modify it under the terms 7 | // of the GNU General Public License as published by the Free Software 8 | // Foundation; either version 2, or (at your option) any later 9 | // version. 10 | 11 | // This library is distributed in the hope that it will be useful, but 12 | // WITHOUT ANY WARRANTY; without even the implied warranty of 13 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 14 | // General Public License for more details. 15 | 16 | // You should have received a copy of the GNU General Public License 17 | // along with this library; see the file COPYING. If not, write to 18 | // the Free Software Foundation, 59 Temple Place - Suite 330, Boston, 19 | // MA 02111-1307, USA. 20 | 21 | // As a special exception, you may use this file as part of a free 22 | // software library without restriction. Specifically, if other files 23 | // instantiate templates or use macros or inline functions from this 24 | // file, or you compile this file and link it with other files to 25 | // produce an executable, this file does not by itself cause the 26 | // resulting executable to be covered by the GNU General Public 27 | // License. This exception does not however invalidate any other 28 | // reasons why the executable file might be covered by the GNU General 29 | // Public License. 30 | 31 | // Copyright (C) 2004 Ami Tavory and Vladimir Dreizin, IBM-HRL. 32 | 33 | // Permission to use, copy, modify, sell, and distribute this software 34 | // is hereby granted without fee, provided that the above copyright 35 | // notice appears in all copies, and that both that copyright notice 36 | // and this permission notice appear in supporting documentation. None 37 | // of the above authors, nor IBM Haifa Research Laboratories, make any 38 | // representation about the suitability of this software for any 39 | // purpose. It is provided "as is" without express or implied 40 | // warranty. 41 | 42 | /** 43 | * @file null_node_update_imp.hpp 44 | * Contains an implementation of null_node_update. 45 | */ 46 | 47 | PB_DS_CLASS_T_DEC 48 | template 52 | inline void 53 | PB_DS_CLASS_C_DEC:: 54 | swap(null_tree_node_update< Const_Node_Iterator_, Node_Iterator_, Cmp_Fn_, Allocator_>& /*other*/) 55 | { } 56 | 57 | -------------------------------------------------------------------------------- /include/c++/4.2.1/ext/pb_ds/detail/trie_policy/null_node_update_imp.hpp: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | 3 | // Copyright (C) 2005, 2006 Free Software Foundation, Inc. 4 | // 5 | // This file is part of the GNU ISO C++ Library. This library is free 6 | // software; you can redistribute it and/or modify it under the terms 7 | // of the GNU General Public License as published by the Free Software 8 | // Foundation; either version 2, or (at your option) any later 9 | // version. 10 | 11 | // This library is distributed in the hope that it will be useful, but 12 | // WITHOUT ANY WARRANTY; without even the implied warranty of 13 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 14 | // General Public License for more details. 15 | 16 | // You should have received a copy of the GNU General Public License 17 | // along with this library; see the file COPYING. If not, write to 18 | // the Free Software Foundation, 59 Temple Place - Suite 330, Boston, 19 | // MA 02111-1307, USA. 20 | 21 | // As a special exception, you may use this file as part of a free 22 | // software library without restriction. Specifically, if other files 23 | // instantiate templates or use macros or inline functions from this 24 | // file, or you compile this file and link it with other files to 25 | // produce an executable, this file does not by itself cause the 26 | // resulting executable to be covered by the GNU General Public 27 | // License. This exception does not however invalidate any other 28 | // reasons why the executable file might be covered by the GNU General 29 | // Public License. 30 | 31 | // Copyright (C) 2004 Ami Tavory and Vladimir Dreizin, IBM-HRL. 32 | 33 | // Permission to use, copy, modify, sell, and distribute this software 34 | // is hereby granted without fee, provided that the above copyright 35 | // notice appears in all copies, and that both that copyright notice 36 | // and this permission notice appear in supporting documentation. None 37 | // of the above authors, nor IBM Haifa Research Laboratories, make any 38 | // representation about the suitability of this software for any 39 | // purpose. It is provided "as is" without express or implied 40 | // warranty. 41 | 42 | /** 43 | * @file null_node_update_imp.hpp 44 | * Contains an implementation of null_node_update. 45 | */ 46 | 47 | PB_DS_CLASS_T_DEC 48 | template 52 | inline void 53 | PB_DS_CLASS_C_DEC:: 54 | swap(null_trie_node_update< Const_Node_Iterator_, Node_Iterator_, E_Access_Traits_, Allocator_>& /*other*/) 55 | { } 56 | 57 | -------------------------------------------------------------------------------- /include/c++/4.2.1/functional: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | 3 | // Copyright (C) 2001, 2002 Free Software Foundation, Inc. 4 | // 5 | // This file is part of the GNU ISO C++ Library. This library is free 6 | // software; you can redistribute it and/or modify it under the 7 | // terms of the GNU General Public License as published by the 8 | // Free Software Foundation; either version 2, or (at your option) 9 | // any later version. 10 | 11 | // This library is distributed in the hope that it will be useful, 12 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | // GNU General Public License for more details. 15 | 16 | // You should have received a copy of the GNU General Public License along 17 | // with this library; see the file COPYING. If not, write to the Free 18 | // Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, 19 | // USA. 20 | 21 | // As a special exception, you may use this file as part of a free software 22 | // library without restriction. Specifically, if other files instantiate 23 | // templates or use macros or inline functions from this file, or you compile 24 | // this file and link it with other files to produce an executable, this 25 | // file does not by itself cause the resulting executable to be covered by 26 | // the GNU General Public License. This exception does not however 27 | // invalidate any other reasons why the executable file might be covered by 28 | // the GNU General Public License. 29 | 30 | /* 31 | * Copyright (c) 1997 32 | * Silicon Graphics Computer Systems, Inc. 33 | * 34 | * Permission to use, copy, modify, distribute and sell this software 35 | * and its documentation for any purpose is hereby granted without fee, 36 | * provided that the above copyright notice appear in all copies and 37 | * that both that copyright notice and this permission notice appear 38 | * in supporting documentation. Silicon Graphics makes no 39 | * representations about the suitability of this software for any 40 | * purpose. It is provided "as is" without express or implied warranty. 41 | * 42 | */ 43 | 44 | /** @file include/functional 45 | * This is a Standard C++ Library header. 46 | */ 47 | 48 | #ifndef _GLIBCXX_FUNCTIONAL 49 | #define _GLIBCXX_FUNCTIONAL 1 50 | 51 | #pragma GCC system_header 52 | 53 | #include 54 | #include 55 | #include 56 | 57 | #endif /* _GLIBCXX_FUNCTIONAL */ 58 | -------------------------------------------------------------------------------- /include/c++/4.2.1/ios: -------------------------------------------------------------------------------- 1 | // Iostreams base classes -*- C++ -*- 2 | 3 | // Copyright (C) 1997, 1998, 1999, 2001, 2002 Free Software Foundation, Inc. 4 | // 5 | // This file is part of the GNU ISO C++ Library. This library is free 6 | // software; you can redistribute it and/or modify it under the 7 | // terms of the GNU General Public License as published by the 8 | // Free Software Foundation; either version 2, or (at your option) 9 | // any later version. 10 | 11 | // This library is distributed in the hope that it will be useful, 12 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | // GNU General Public License for more details. 15 | 16 | // You should have received a copy of the GNU General Public License along 17 | // with this library; see the file COPYING. If not, write to the Free 18 | // Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, 19 | // USA. 20 | 21 | // As a special exception, you may use this file as part of a free software 22 | // library without restriction. Specifically, if other files instantiate 23 | // templates or use macros or inline functions from this file, or you compile 24 | // this file and link it with other files to produce an executable, this 25 | // file does not by itself cause the resulting executable to be covered by 26 | // the GNU General Public License. This exception does not however 27 | // invalidate any other reasons why the executable file might be covered by 28 | // the GNU General Public License. 29 | 30 | /** @file ios 31 | * This is a Standard C++ Library header. 32 | */ 33 | 34 | // 35 | // ISO C++ 14882: 27.4 Iostreams base classes 36 | // 37 | 38 | #ifndef _GLIBCXX_IOS 39 | #define _GLIBCXX_IOS 1 40 | 41 | #pragma GCC system_header 42 | 43 | #include 44 | #include // For ios_base::failure 45 | #include // For char_traits, streamoff, streamsize, fpos 46 | #include // For SEEK_SET, SEEK_CUR, SEEK_END 47 | #include // For class locale 48 | #include // For ios_base declarations. 49 | #include 50 | #include 51 | 52 | #endif /* _GLIBCXX_IOS */ 53 | -------------------------------------------------------------------------------- /include/c++/4.2.1/locale: -------------------------------------------------------------------------------- 1 | // Locale support -*- C++ -*- 2 | 3 | // Copyright (C) 1997, 1998, 1999, 2002, 2003 Free Software Foundation, Inc. 4 | // 5 | // This file is part of the GNU ISO C++ Library. This library is free 6 | // software; you can redistribute it and/or modify it under the 7 | // terms of the GNU General Public License as published by the 8 | // Free Software Foundation; either version 2, or (at your option) 9 | // any later version. 10 | 11 | // This library is distributed in the hope that it will be useful, 12 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | // GNU General Public License for more details. 15 | 16 | // You should have received a copy of the GNU General Public License along 17 | // with this library; see the file COPYING. If not, write to the Free 18 | // Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, 19 | // USA. 20 | 21 | // As a special exception, you may use this file as part of a free software 22 | // library without restriction. Specifically, if other files instantiate 23 | // templates or use macros or inline functions from this file, or you compile 24 | // this file and link it with other files to produce an executable, this 25 | // file does not by itself cause the resulting executable to be covered by 26 | // the GNU General Public License. This exception does not however 27 | // invalidate any other reasons why the executable file might be covered by 28 | // the GNU General Public License. 29 | 30 | // 31 | // ISO C++ 14882: 22.1 Locales 32 | // 33 | 34 | /** @file locale 35 | * This is a Standard C++ Library header. 36 | */ 37 | 38 | #ifndef _GLIBCXX_LOCALE 39 | #define _GLIBCXX_LOCALE 1 40 | 41 | #pragma GCC system_header 42 | 43 | #include 44 | #include 45 | #include 46 | #include 47 | 48 | #endif /* _GLIBCXX_LOCALE */ 49 | -------------------------------------------------------------------------------- /include/c++/4.2.1/string: -------------------------------------------------------------------------------- 1 | // Components for manipulating sequences of characters -*- C++ -*- 2 | 3 | // Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 4 | // 2006, 2007 5 | // Free Software Foundation, Inc. 6 | // 7 | // This file is part of the GNU ISO C++ Library. This library is free 8 | // software; you can redistribute it and/or modify it under the 9 | // terms of the GNU General Public License as published by the 10 | // Free Software Foundation; either version 2, or (at your option) 11 | // any later version. 12 | 13 | // This library is distributed in the hope that it will be useful, 14 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | // GNU General Public License for more details. 17 | 18 | // You should have received a copy of the GNU General Public License along 19 | // with this library; see the file COPYING. If not, write to the Free 20 | // Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, 21 | // USA. 22 | 23 | // As a special exception, you may use this file as part of a free software 24 | // library without restriction. Specifically, if other files instantiate 25 | // templates or use macros or inline functions from this file, or you compile 26 | // this file and link it with other files to produce an executable, this 27 | // file does not by itself cause the resulting executable to be covered by 28 | // the GNU General Public License. This exception does not however 29 | // invalidate any other reasons why the executable file might be covered by 30 | // the GNU General Public License. 31 | 32 | /** @file include/string 33 | * This is a Standard C++ Library header. 34 | */ 35 | 36 | // 37 | // ISO C++ 14882: 21 Strings library 38 | // 39 | 40 | #ifndef _GLIBCXX_STRING 41 | #define _GLIBCXX_STRING 1 42 | 43 | #pragma GCC system_header 44 | 45 | #include 46 | #include 47 | #include 48 | #include // For allocator. 49 | #include 50 | #include // For operators >>, <<, and getline decls. 51 | #include 52 | #include 53 | #include // For less 54 | #include 55 | 56 | #ifndef _GLIBCXX_EXPORT_TEMPLATE 57 | # include // for find_if 58 | # include 59 | #endif 60 | 61 | #endif /* _GLIBCXX_STRING */ 62 | -------------------------------------------------------------------------------- /include/c++/4.2.1/tr1/cctype: -------------------------------------------------------------------------------- 1 | // TR1 cctype -*- C++ -*- 2 | 3 | // Copyright (C) 2006 Free Software Foundation, Inc. 4 | // 5 | // This file is part of the GNU ISO C++ Library. This library is free 6 | // software; you can redistribute it and/or modify it under the 7 | // terms of the GNU General Public License as published by the 8 | // Free Software Foundation; either version 2, or (at your option) 9 | // any later version. 10 | 11 | // This library is distributed in the hope that it will be useful, 12 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | // GNU General Public License for more details. 15 | 16 | // You should have received a copy of the GNU General Public License along 17 | // with this library; see the file COPYING. If not, write to the Free 18 | // Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, 19 | // USA. 20 | 21 | // As a special exception, you may use this file as part of a free software 22 | // library without restriction. Specifically, if other files instantiate 23 | // templates or use macros or inline functions from this file, or you compile 24 | // this file and link it with other files to produce an executable, this 25 | // file does not by itself cause the resulting executable to be covered by 26 | // the GNU General Public License. This exception does not however 27 | // invalidate any other reasons why the executable file might be covered by 28 | // the GNU General Public License. 29 | 30 | /** @file tr1/cctype 31 | * This is a TR1 C++ Library header. 32 | */ 33 | 34 | #ifndef _TR1_CCTYPE 35 | #define _TR1_CCTYPE 1 36 | 37 | #include 38 | #include 39 | 40 | #if _GLIBCXX_USE_C99_CTYPE_TR1 41 | 42 | #undef isblank 43 | 44 | // namespace std::tr1 45 | namespace std 46 | { 47 | _GLIBCXX_BEGIN_NAMESPACE(tr1) 48 | 49 | using ::isblank; 50 | 51 | _GLIBCXX_END_NAMESPACE 52 | } 53 | 54 | #endif 55 | 56 | #endif 57 | -------------------------------------------------------------------------------- /include/c++/4.2.1/tr1/cfenv: -------------------------------------------------------------------------------- 1 | // TR1 cctype -*- C++ -*- 2 | 3 | // Copyright (C) 2006 Free Software Foundation, Inc. 4 | // 5 | // This file is part of the GNU ISO C++ Library. This library is free 6 | // software; you can redistribute it and/or modify it under the 7 | // terms of the GNU General Public License as published by the 8 | // Free Software Foundation; either version 2, or (at your option) 9 | // any later version. 10 | 11 | // This library is distributed in the hope that it will be useful, 12 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | // GNU General Public License for more details. 15 | 16 | // You should have received a copy of the GNU General Public License along 17 | // with this library; see the file COPYING. If not, write to the Free 18 | // Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, 19 | // USA. 20 | 21 | // As a special exception, you may use this file as part of a free software 22 | // library without restriction. Specifically, if other files instantiate 23 | // templates or use macros or inline functions from this file, or you compile 24 | // this file and link it with other files to produce an executable, this 25 | // file does not by itself cause the resulting executable to be covered by 26 | // the GNU General Public License. This exception does not however 27 | // invalidate any other reasons why the executable file might be covered by 28 | // the GNU General Public License. 29 | 30 | /** @file tr1/cfenv 31 | * This is a TR1 C++ Library header. 32 | */ 33 | 34 | #ifndef _TR1_CFENV 35 | #define _TR1_CFENV 1 36 | 37 | #include 38 | 39 | #if _GLIBCXX_USE_C99_FENV_TR1 40 | 41 | #include 42 | 43 | #undef feclearexcept 44 | #undef fegetexceptflag 45 | #undef feraiseexcept 46 | #undef fesetexceptflag 47 | #undef fetestexcept 48 | #undef fegetround 49 | #undef fesetround 50 | #undef fegetenv 51 | #undef feholdexcept 52 | #undef fesetenv 53 | #undef feupdateenv 54 | 55 | // namespace std::tr1 56 | namespace std 57 | { 58 | _GLIBCXX_BEGIN_NAMESPACE(tr1) 59 | 60 | // types 61 | using ::fenv_t; 62 | using ::fexcept_t; 63 | 64 | // functions 65 | using ::feclearexcept; 66 | using ::fegetexceptflag; 67 | using ::feraiseexcept; 68 | using ::fesetexceptflag; 69 | using ::fetestexcept; 70 | 71 | using ::fegetround; 72 | using ::fesetround; 73 | 74 | using ::fegetenv; 75 | using ::feholdexcept; 76 | using ::fesetenv; 77 | using ::feupdateenv; 78 | 79 | _GLIBCXX_END_NAMESPACE 80 | } 81 | 82 | #endif 83 | 84 | #endif 85 | -------------------------------------------------------------------------------- /include/c++/4.2.1/tr1/cfloat: -------------------------------------------------------------------------------- 1 | // TR1 cfloat -*- C++ -*- 2 | 3 | // Copyright (C) 2006 Free Software Foundation, Inc. 4 | // 5 | // This file is part of the GNU ISO C++ Library. This library is free 6 | // software; you can redistribute it and/or modify it under the 7 | // terms of the GNU General Public License as published by the 8 | // Free Software Foundation; either version 2, or (at your option) 9 | // any later version. 10 | 11 | // This library is distributed in the hope that it will be useful, 12 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | // GNU General Public License for more details. 15 | 16 | // You should have received a copy of the GNU General Public License along 17 | // with this library; see the file COPYING. If not, write to the Free 18 | // Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, 19 | // USA. 20 | 21 | // As a special exception, you may use this file as part of a free software 22 | // library without restriction. Specifically, if other files instantiate 23 | // templates or use macros or inline functions from this file, or you compile 24 | // this file and link it with other files to produce an executable, this 25 | // file does not by itself cause the resulting executable to be covered by 26 | // the GNU General Public License. This exception does not however 27 | // invalidate any other reasons why the executable file might be covered by 28 | // the GNU General Public License. 29 | 30 | /** @file tr1/cfloat 31 | * This is a TR1 C++ Library header. 32 | */ 33 | 34 | #ifndef _TR1_CFLOAT 35 | #define _TR1_CFLOAT 1 36 | 37 | #include 38 | 39 | #ifndef DECIMAL_DIG 40 | #define DECIMAL_DIG __DECIMAL_DIG__ 41 | #endif 42 | 43 | #ifndef FLT_EVAL_METHOD 44 | #define FLT_EVAL_METHOD __FLT_EVAL_METHOD__ 45 | #endif 46 | 47 | #endif 48 | -------------------------------------------------------------------------------- /include/c++/4.2.1/tr1/cinttypes: -------------------------------------------------------------------------------- 1 | // TR1 cinttypes -*- C++ -*- 2 | 3 | // Copyright (C) 2006 Free Software Foundation, Inc. 4 | // 5 | // This file is part of the GNU ISO C++ Library. This library is free 6 | // software; you can redistribute it and/or modify it under the 7 | // terms of the GNU General Public License as published by the 8 | // Free Software Foundation; either version 2, or (at your option) 9 | // any later version. 10 | 11 | // This library is distributed in the hope that it will be useful, 12 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | // GNU General Public License for more details. 15 | 16 | // You should have received a copy of the GNU General Public License along 17 | // with this library; see the file COPYING. If not, write to the Free 18 | // Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, 19 | // USA. 20 | 21 | // As a special exception, you may use this file as part of a free software 22 | // library without restriction. Specifically, if other files instantiate 23 | // templates or use macros or inline functions from this file, or you compile 24 | // this file and link it with other files to produce an executable, this 25 | // file does not by itself cause the resulting executable to be covered by 26 | // the GNU General Public License. This exception does not however 27 | // invalidate any other reasons why the executable file might be covered by 28 | // the GNU General Public License. 29 | 30 | /** @file tr1/cinttypes 31 | * This is a TR1 C++ Library header. 32 | */ 33 | 34 | #ifndef _TR1_CINTTYPES 35 | #define _TR1_CINTTYPES 1 36 | 37 | #include 38 | #include 39 | 40 | #if _GLIBCXX_USE_C99_INTTYPES_TR1 41 | 42 | // For 8.11.1/1 (see C99, Note 184) 43 | #define __STDC_FORMAT_MACROS 44 | #include 45 | 46 | // namespace std::tr1 47 | namespace std 48 | { 49 | _GLIBCXX_BEGIN_NAMESPACE(tr1) 50 | 51 | // types 52 | using ::imaxdiv_t; 53 | 54 | // functions 55 | using ::imaxabs; 56 | 57 | // May collide with _Longlong abs(_Longlong), and is not described 58 | // anywhere outside the synopsis. Likely, a defect. 59 | // 60 | // intmax_t abs(intmax_t) 61 | 62 | using ::imaxdiv; 63 | 64 | // Likewise, with lldiv_t div(_Longlong, _Longlong). 65 | // 66 | // imaxdiv_t div(intmax_t, intmax_t) 67 | 68 | using ::strtoimax; 69 | using ::strtoumax; 70 | 71 | #ifdef _GLIBCXX_USE_WCHAR_T 72 | using ::wcstoimax; 73 | using ::wcstoumax; 74 | #endif 75 | 76 | _GLIBCXX_END_NAMESPACE 77 | } 78 | 79 | #endif 80 | 81 | #endif 82 | -------------------------------------------------------------------------------- /include/c++/4.2.1/tr1/climits: -------------------------------------------------------------------------------- 1 | // TR1 climits -*- C++ -*- 2 | 3 | // Copyright (C) 2006 Free Software Foundation, Inc. 4 | // 5 | // This file is part of the GNU ISO C++ Library. This library is free 6 | // software; you can redistribute it and/or modify it under the 7 | // terms of the GNU General Public License as published by the 8 | // Free Software Foundation; either version 2, or (at your option) 9 | // any later version. 10 | 11 | // This library is distributed in the hope that it will be useful, 12 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | // GNU General Public License for more details. 15 | 16 | // You should have received a copy of the GNU General Public License along 17 | // with this library; see the file COPYING. If not, write to the Free 18 | // Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, 19 | // USA. 20 | 21 | // As a special exception, you may use this file as part of a free software 22 | // library without restriction. Specifically, if other files instantiate 23 | // templates or use macros or inline functions from this file, or you compile 24 | // this file and link it with other files to produce an executable, this 25 | // file does not by itself cause the resulting executable to be covered by 26 | // the GNU General Public License. This exception does not however 27 | // invalidate any other reasons why the executable file might be covered by 28 | // the GNU General Public License. 29 | 30 | /** @file tr1/climits 31 | * This is a TR1 C++ Library header. 32 | */ 33 | 34 | #ifndef _TR1_CLIMITS 35 | #define _TR1_CLIMITS 1 36 | 37 | #include 38 | 39 | #ifndef LLONG_MIN 40 | #define LLONG_MIN -__LONG_LONG_MAX__ - 1 41 | #endif 42 | 43 | #ifndef LLONG_MAX 44 | #define LLONG_MAX __LONG_LONG_MAX__ 45 | #endif 46 | 47 | #ifndef ULLONG_MAX 48 | #define ULLONG_MAX __LONG_LONG_MAX__ * 2ULL + 1 49 | #endif 50 | 51 | #endif 52 | -------------------------------------------------------------------------------- /include/c++/4.2.1/tr1/cstdarg: -------------------------------------------------------------------------------- 1 | // TR1 cstdarg -*- C++ -*- 2 | 3 | // Copyright (C) 2006 Free Software Foundation, Inc. 4 | // 5 | // This file is part of the GNU ISO C++ Library. This library is free 6 | // software; you can redistribute it and/or modify it under the 7 | // terms of the GNU General Public License as published by the 8 | // Free Software Foundation; either version 2, or (at your option) 9 | // any later version. 10 | 11 | // This library is distributed in the hope that it will be useful, 12 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | // GNU General Public License for more details. 15 | 16 | // You should have received a copy of the GNU General Public License along 17 | // with this library; see the file COPYING. If not, write to the Free 18 | // Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, 19 | // USA. 20 | 21 | // As a special exception, you may use this file as part of a free software 22 | // library without restriction. Specifically, if other files instantiate 23 | // templates or use macros or inline functions from this file, or you compile 24 | // this file and link it with other files to produce an executable, this 25 | // file does not by itself cause the resulting executable to be covered by 26 | // the GNU General Public License. This exception does not however 27 | // invalidate any other reasons why the executable file might be covered by 28 | // the GNU General Public License. 29 | 30 | /** @file tr1/cstdarg 31 | * This is a TR1 C++ Library header. 32 | */ 33 | 34 | #ifndef _TR1_CSTDARG 35 | #define _TR1_CSTDARG 1 36 | 37 | #include 38 | 39 | #endif 40 | -------------------------------------------------------------------------------- /include/c++/4.2.1/tr1/cstdbool: -------------------------------------------------------------------------------- 1 | // TR1 cstdbool -*- C++ -*- 2 | 3 | // Copyright (C) 2006 Free Software Foundation, Inc. 4 | // 5 | // This file is part of the GNU ISO C++ Library. This library is free 6 | // software; you can redistribute it and/or modify it under the 7 | // terms of the GNU General Public License as published by the 8 | // Free Software Foundation; either version 2, or (at your option) 9 | // any later version. 10 | 11 | // This library is distributed in the hope that it will be useful, 12 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | // GNU General Public License for more details. 15 | 16 | // You should have received a copy of the GNU General Public License along 17 | // with this library; see the file COPYING. If not, write to the Free 18 | // Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, 19 | // USA. 20 | 21 | // As a special exception, you may use this file as part of a free software 22 | // library without restriction. Specifically, if other files instantiate 23 | // templates or use macros or inline functions from this file, or you compile 24 | // this file and link it with other files to produce an executable, this 25 | // file does not by itself cause the resulting executable to be covered by 26 | // the GNU General Public License. This exception does not however 27 | // invalidate any other reasons why the executable file might be covered by 28 | // the GNU General Public License. 29 | 30 | /** @file tr1/cstdbool 31 | * This is a TR1 C++ Library header. 32 | */ 33 | 34 | #ifndef _TR1_CSTDBOOL 35 | #define _TR1_CSTDBOOL 1 36 | 37 | #include 38 | 39 | #if _GLIBCXX_HAVE_STDBOOL_H 40 | #include 41 | #endif 42 | 43 | #endif 44 | -------------------------------------------------------------------------------- /include/c++/4.2.1/tr1/cstdio: -------------------------------------------------------------------------------- 1 | // TR1 cstdio -*- C++ -*- 2 | 3 | // Copyright (C) 2006 Free Software Foundation, Inc. 4 | // 5 | // This file is part of the GNU ISO C++ Library. This library is free 6 | // software; you can redistribute it and/or modify it under the 7 | // terms of the GNU General Public License as published by the 8 | // Free Software Foundation; either version 2, or (at your option) 9 | // any later version. 10 | 11 | // This library is distributed in the hope that it will be useful, 12 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | // GNU General Public License for more details. 15 | 16 | // You should have received a copy of the GNU General Public License along 17 | // with this library; see the file COPYING. If not, write to the Free 18 | // Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, 19 | // USA. 20 | 21 | // As a special exception, you may use this file as part of a free software 22 | // library without restriction. Specifically, if other files instantiate 23 | // templates or use macros or inline functions from this file, or you compile 24 | // this file and link it with other files to produce an executable, this 25 | // file does not by itself cause the resulting executable to be covered by 26 | // the GNU General Public License. This exception does not however 27 | // invalidate any other reasons why the executable file might be covered by 28 | // the GNU General Public License. 29 | 30 | /** @file tr1/cstdio 31 | * This is a TR1 C++ Library header. 32 | */ 33 | 34 | #ifndef _TR1_CSTDIO 35 | #define _TR1_CSTDIO 1 36 | 37 | #include 38 | #include 39 | 40 | // namespace std::tr1 41 | namespace std 42 | { 43 | _GLIBCXX_BEGIN_NAMESPACE(tr1) 44 | 45 | #if _GLIBCXX_USE_C99 46 | using std::snprintf; 47 | using std::vsnprintf; 48 | 49 | using std::vfscanf; 50 | using std::vscanf; 51 | using std::vsscanf; 52 | #endif 53 | 54 | _GLIBCXX_END_NAMESPACE 55 | } 56 | 57 | #endif 58 | -------------------------------------------------------------------------------- /include/c++/4.2.1/tr1/cstdlib: -------------------------------------------------------------------------------- 1 | // TR1 cstdlib -*- C++ -*- 2 | 3 | // Copyright (C) 2006 Free Software Foundation, Inc. 4 | // 5 | // This file is part of the GNU ISO C++ Library. This library is free 6 | // software; you can redistribute it and/or modify it under the 7 | // terms of the GNU General Public License as published by the 8 | // Free Software Foundation; either version 2, or (at your option) 9 | // any later version. 10 | 11 | // This library is distributed in the hope that it will be useful, 12 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | // GNU General Public License for more details. 15 | 16 | // You should have received a copy of the GNU General Public License along 17 | // with this library; see the file COPYING. If not, write to the Free 18 | // Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, 19 | // USA. 20 | 21 | // As a special exception, you may use this file as part of a free software 22 | // library without restriction. Specifically, if other files instantiate 23 | // templates or use macros or inline functions from this file, or you compile 24 | // this file and link it with other files to produce an executable, this 25 | // file does not by itself cause the resulting executable to be covered by 26 | // the GNU General Public License. This exception does not however 27 | // invalidate any other reasons why the executable file might be covered by 28 | // the GNU General Public License. 29 | 30 | /** @file tr1/cstdlib 31 | * This is a TR1 C++ Library header. 32 | */ 33 | 34 | #ifndef _TR1_CSTDLIB 35 | #define _TR1_CSTDLIB 1 36 | 37 | #include 38 | 39 | #if _GLIBCXX_HOSTED 40 | 41 | #include 42 | 43 | // namespace std::tr1 44 | namespace std 45 | { 46 | _GLIBCXX_BEGIN_NAMESPACE(tr1) 47 | 48 | #if _GLIBCXX_USE_C99 49 | 50 | #if !_GLIBCXX_USE_C99_LONG_LONG_DYNAMIC 51 | // types 52 | using std::lldiv_t; 53 | 54 | // functions 55 | using std::llabs; 56 | using std::lldiv; 57 | #endif 58 | 59 | using std::atoll; 60 | using std::strtoll; 61 | using std::strtoull; 62 | 63 | using std::strtof; 64 | using std::strtold; 65 | 66 | // overloads 67 | using std::abs; 68 | #if !_GLIBCXX_USE_C99_LONG_LONG_DYNAMIC 69 | using std::div; 70 | #endif 71 | 72 | #endif 73 | 74 | _GLIBCXX_END_NAMESPACE 75 | } 76 | 77 | #endif 78 | 79 | #endif 80 | -------------------------------------------------------------------------------- /include/c++/4.2.1/tr1/ctgmath: -------------------------------------------------------------------------------- 1 | // TR1 ctgmath -*- C++ -*- 2 | 3 | // Copyright (C) 2006 Free Software Foundation, Inc. 4 | // 5 | // This file is part of the GNU ISO C++ Library. This library is free 6 | // software; you can redistribute it and/or modify it under the 7 | // terms of the GNU General Public License as published by the 8 | // Free Software Foundation; either version 2, or (at your option) 9 | // any later version. 10 | 11 | // This library is distributed in the hope that it will be useful, 12 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | // GNU General Public License for more details. 15 | 16 | // You should have received a copy of the GNU General Public License along 17 | // with this library; see the file COPYING. If not, write to the Free 18 | // Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, 19 | // USA. 20 | 21 | // As a special exception, you may use this file as part of a free software 22 | // library without restriction. Specifically, if other files instantiate 23 | // templates or use macros or inline functions from this file, or you compile 24 | // this file and link it with other files to produce an executable, this 25 | // file does not by itself cause the resulting executable to be covered by 26 | // the GNU General Public License. This exception does not however 27 | // invalidate any other reasons why the executable file might be covered by 28 | // the GNU General Public License. 29 | 30 | /** @file tr1/ctgmath 31 | * This is a TR1 C++ Library header. 32 | */ 33 | 34 | #ifndef _TR1_CTGMATH 35 | #define _TR1_CTGMATH 1 36 | 37 | #include 38 | 39 | #endif 40 | -------------------------------------------------------------------------------- /include/c++/4.2.1/tr1/ctime: -------------------------------------------------------------------------------- 1 | // TR1 ctime -*- C++ -*- 2 | 3 | // Copyright (C) 2006 Free Software Foundation, Inc. 4 | // 5 | // This file is part of the GNU ISO C++ Library. This library is free 6 | // software; you can redistribute it and/or modify it under the 7 | // terms of the GNU General Public License as published by the 8 | // Free Software Foundation; either version 2, or (at your option) 9 | // any later version. 10 | 11 | // This library is distributed in the hope that it will be useful, 12 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | // GNU General Public License for more details. 15 | 16 | // You should have received a copy of the GNU General Public License along 17 | // with this library; see the file COPYING. If not, write to the Free 18 | // Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, 19 | // USA. 20 | 21 | // As a special exception, you may use this file as part of a free software 22 | // library without restriction. Specifically, if other files instantiate 23 | // templates or use macros or inline functions from this file, or you compile 24 | // this file and link it with other files to produce an executable, this 25 | // file does not by itself cause the resulting executable to be covered by 26 | // the GNU General Public License. This exception does not however 27 | // invalidate any other reasons why the executable file might be covered by 28 | // the GNU General Public License. 29 | 30 | /** @file tr1/ctime 31 | * This is a TR1 C++ Library header. 32 | */ 33 | 34 | #ifndef _TR1_CTIME 35 | #define _TR1_CTIME 1 36 | 37 | #include 38 | 39 | #endif 40 | -------------------------------------------------------------------------------- /include/c++/4.2.1/tr1/ctype.h: -------------------------------------------------------------------------------- 1 | // TR1 ctype.h -*- C++ -*- 2 | 3 | // Copyright (C) 2006 Free Software Foundation, Inc. 4 | // 5 | // This file is part of the GNU ISO C++ Library. This library is free 6 | // software; you can redistribute it and/or modify it under the 7 | // terms of the GNU General Public License as published by the 8 | // Free Software Foundation; either version 2, or (at your option) 9 | // any later version. 10 | 11 | // This library is distributed in the hope that it will be useful, 12 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | // GNU General Public License for more details. 15 | 16 | // You should have received a copy of the GNU General Public License along 17 | // with this library; see the file COPYING. If not, write to the Free 18 | // Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, 19 | // USA. 20 | 21 | // As a special exception, you may use this file as part of a free software 22 | // library without restriction. Specifically, if other files instantiate 23 | // templates or use macros or inline functions from this file, or you compile 24 | // this file and link it with other files to produce an executable, this 25 | // file does not by itself cause the resulting executable to be covered by 26 | // the GNU General Public License. This exception does not however 27 | // invalidate any other reasons why the executable file might be covered by 28 | // the GNU General Public License. 29 | 30 | /** @file tr1/ctype.h 31 | * This is a TR1 C++ Library header. 32 | */ 33 | 34 | #ifndef _TR1_CTYPE_H 35 | #define _TR1_CTYPE_H 1 36 | 37 | #include 38 | 39 | #endif 40 | -------------------------------------------------------------------------------- /include/c++/4.2.1/tr1/cwchar: -------------------------------------------------------------------------------- 1 | // TR1 cwchar -*- C++ -*- 2 | 3 | // Copyright (C) 2006 Free Software Foundation, Inc. 4 | // 5 | // This file is part of the GNU ISO C++ Library. This library is free 6 | // software; you can redistribute it and/or modify it under the 7 | // terms of the GNU General Public License as published by the 8 | // Free Software Foundation; either version 2, or (at your option) 9 | // any later version. 10 | 11 | // This library is distributed in the hope that it will be useful, 12 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | // GNU General Public License for more details. 15 | 16 | // You should have received a copy of the GNU General Public License along 17 | // with this library; see the file COPYING. If not, write to the Free 18 | // Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, 19 | // USA. 20 | 21 | // As a special exception, you may use this file as part of a free software 22 | // library without restriction. Specifically, if other files instantiate 23 | // templates or use macros or inline functions from this file, or you compile 24 | // this file and link it with other files to produce an executable, this 25 | // file does not by itself cause the resulting executable to be covered by 26 | // the GNU General Public License. This exception does not however 27 | // invalidate any other reasons why the executable file might be covered by 28 | // the GNU General Public License. 29 | 30 | /** @file tr1/cwchar 31 | * This is a TR1 C++ Library header. 32 | */ 33 | 34 | #ifndef _TR1_CWCHAR 35 | #define _TR1_CWCHAR 1 36 | 37 | #include 38 | 39 | #if _GLIBCXX_USE_WCHAR_T 40 | 41 | #include 42 | 43 | // namespace std::tr1 44 | namespace std 45 | { 46 | _GLIBCXX_BEGIN_NAMESPACE(tr1) 47 | 48 | #if _GLIBCXX_HAVE_WCSTOF 49 | using std::wcstof; 50 | #endif 51 | #if _GLIBCXX_HAVE_VFWSCANF 52 | using std::vfwscanf; 53 | #endif 54 | #if _GLIBCXX_HAVE_VSWSCANF 55 | using std::vswscanf; 56 | #endif 57 | #if _GLIBCXX_HAVE_VWSCANF 58 | using std::vwscanf; 59 | #endif 60 | 61 | #if _GLIBCXX_USE_C99 62 | using std::wcstold; 63 | using std::wcstoll; 64 | using std::wcstoull; 65 | #endif 66 | 67 | _GLIBCXX_END_NAMESPACE 68 | } 69 | 70 | #endif 71 | 72 | #endif 73 | -------------------------------------------------------------------------------- /include/c++/4.2.1/tr1/cwctype: -------------------------------------------------------------------------------- 1 | // TR1 cwctype -*- C++ -*- 2 | 3 | // Copyright (C) 2006 Free Software Foundation, Inc. 4 | // 5 | // This file is part of the GNU ISO C++ Library. This library is free 6 | // software; you can redistribute it and/or modify it under the 7 | // terms of the GNU General Public License as published by the 8 | // Free Software Foundation; either version 2, or (at your option) 9 | // any later version. 10 | 11 | // This library is distributed in the hope that it will be useful, 12 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | // GNU General Public License for more details. 15 | 16 | // You should have received a copy of the GNU General Public License along 17 | // with this library; see the file COPYING. If not, write to the Free 18 | // Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, 19 | // USA. 20 | 21 | // As a special exception, you may use this file as part of a free software 22 | // library without restriction. Specifically, if other files instantiate 23 | // templates or use macros or inline functions from this file, or you compile 24 | // this file and link it with other files to produce an executable, this 25 | // file does not by itself cause the resulting executable to be covered by 26 | // the GNU General Public License. This exception does not however 27 | // invalidate any other reasons why the executable file might be covered by 28 | // the GNU General Public License. 29 | 30 | /** @file tr1/cwctype 31 | * This is a TR1 C++ Library header. 32 | */ 33 | 34 | #ifndef _TR1_CWCTYPE 35 | #define _TR1_CWCTYPE 1 36 | 37 | #include 38 | 39 | #if _GLIBCXX_USE_WCHAR_T 40 | 41 | #include 42 | 43 | // namespace std::tr1 44 | namespace std 45 | { 46 | _GLIBCXX_BEGIN_NAMESPACE(tr1) 47 | 48 | #if _GLIBCXX_HAVE_ISWBLANK 49 | using std::iswblank; 50 | #endif 51 | 52 | _GLIBCXX_END_NAMESPACE 53 | } 54 | 55 | #endif 56 | 57 | #endif 58 | -------------------------------------------------------------------------------- /include/c++/4.2.1/tr1/fenv.h: -------------------------------------------------------------------------------- 1 | // TR1 fenv.h -*- C++ -*- 2 | 3 | // Copyright (C) 2006 Free Software Foundation, Inc. 4 | // 5 | // This file is part of the GNU ISO C++ Library. This library is free 6 | // software; you can redistribute it and/or modify it under the 7 | // terms of the GNU General Public License as published by the 8 | // Free Software Foundation; either version 2, or (at your option) 9 | // any later version. 10 | 11 | // This library is distributed in the hope that it will be useful, 12 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | // GNU General Public License for more details. 15 | 16 | // You should have received a copy of the GNU General Public License along 17 | // with this library; see the file COPYING. If not, write to the Free 18 | // Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, 19 | // USA. 20 | 21 | // As a special exception, you may use this file as part of a free software 22 | // library without restriction. Specifically, if other files instantiate 23 | // templates or use macros or inline functions from this file, or you compile 24 | // this file and link it with other files to produce an executable, this 25 | // file does not by itself cause the resulting executable to be covered by 26 | // the GNU General Public License. This exception does not however 27 | // invalidate any other reasons why the executable file might be covered by 28 | // the GNU General Public License. 29 | 30 | /** @file tr1/fenv.h 31 | * This is a TR1 C++ Library header. 32 | */ 33 | 34 | #ifndef _TR1_FENV_H 35 | #define _TR1_FENV_H 1 36 | 37 | #include 38 | 39 | #endif 40 | -------------------------------------------------------------------------------- /include/c++/4.2.1/tr1/float.h: -------------------------------------------------------------------------------- 1 | // TR1 float.h -*- C++ -*- 2 | 3 | // Copyright (C) 2006 Free Software Foundation, Inc. 4 | // 5 | // This file is part of the GNU ISO C++ Library. This library is free 6 | // software; you can redistribute it and/or modify it under the 7 | // terms of the GNU General Public License as published by the 8 | // Free Software Foundation; either version 2, or (at your option) 9 | // any later version. 10 | 11 | // This library is distributed in the hope that it will be useful, 12 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | // GNU General Public License for more details. 15 | 16 | // You should have received a copy of the GNU General Public License along 17 | // with this library; see the file COPYING. If not, write to the Free 18 | // Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, 19 | // USA. 20 | 21 | // As a special exception, you may use this file as part of a free software 22 | // library without restriction. Specifically, if other files instantiate 23 | // templates or use macros or inline functions from this file, or you compile 24 | // this file and link it with other files to produce an executable, this 25 | // file does not by itself cause the resulting executable to be covered by 26 | // the GNU General Public License. This exception does not however 27 | // invalidate any other reasons why the executable file might be covered by 28 | // the GNU General Public License. 29 | 30 | /** @file tr1/float.h 31 | * This is a TR1 C++ Library header. 32 | */ 33 | 34 | #ifndef _TR1_FLOAT_H 35 | #define _TR1_FLOAT_H 1 36 | 37 | #include 38 | 39 | #endif 40 | -------------------------------------------------------------------------------- /include/c++/4.2.1/tr1/inttypes.h: -------------------------------------------------------------------------------- 1 | // TR1 inttypes.h -*- C++ -*- 2 | 3 | // Copyright (C) 2006 Free Software Foundation, Inc. 4 | // 5 | // This file is part of the GNU ISO C++ Library. This library is free 6 | // software; you can redistribute it and/or modify it under the 7 | // terms of the GNU General Public License as published by the 8 | // Free Software Foundation; either version 2, or (at your option) 9 | // any later version. 10 | 11 | // This library is distributed in the hope that it will be useful, 12 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | // GNU General Public License for more details. 15 | 16 | // You should have received a copy of the GNU General Public License along 17 | // with this library; see the file COPYING. If not, write to the Free 18 | // Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, 19 | // USA. 20 | 21 | // As a special exception, you may use this file as part of a free software 22 | // library without restriction. Specifically, if other files instantiate 23 | // templates or use macros or inline functions from this file, or you compile 24 | // this file and link it with other files to produce an executable, this 25 | // file does not by itself cause the resulting executable to be covered by 26 | // the GNU General Public License. This exception does not however 27 | // invalidate any other reasons why the executable file might be covered by 28 | // the GNU General Public License. 29 | 30 | /** @file tr1/inttypes.h 31 | * This is a TR1 C++ Library header. 32 | */ 33 | 34 | #ifndef _TR1_INTTYPES_H 35 | #define _TR1_INTTYPES_H 1 36 | 37 | #include 38 | 39 | #endif 40 | -------------------------------------------------------------------------------- /include/c++/4.2.1/tr1/limits.h: -------------------------------------------------------------------------------- 1 | // TR1 limits.h -*- C++ -*- 2 | 3 | // Copyright (C) 2006 Free Software Foundation, Inc. 4 | // 5 | // This file is part of the GNU ISO C++ Library. This library is free 6 | // software; you can redistribute it and/or modify it under the 7 | // terms of the GNU General Public License as published by the 8 | // Free Software Foundation; either version 2, or (at your option) 9 | // any later version. 10 | 11 | // This library is distributed in the hope that it will be useful, 12 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | // GNU General Public License for more details. 15 | 16 | // You should have received a copy of the GNU General Public License along 17 | // with this library; see the file COPYING. If not, write to the Free 18 | // Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, 19 | // USA. 20 | 21 | // As a special exception, you may use this file as part of a free software 22 | // library without restriction. Specifically, if other files instantiate 23 | // templates or use macros or inline functions from this file, or you compile 24 | // this file and link it with other files to produce an executable, this 25 | // file does not by itself cause the resulting executable to be covered by 26 | // the GNU General Public License. This exception does not however 27 | // invalidate any other reasons why the executable file might be covered by 28 | // the GNU General Public License. 29 | 30 | /** @file tr1/limits.h 31 | * This is a TR1 C++ Library header. 32 | */ 33 | 34 | #ifndef _TR1_LIMITS_H 35 | #define _TR1_LIMITS_H 1 36 | 37 | #include 38 | 39 | #endif 40 | -------------------------------------------------------------------------------- /include/c++/4.2.1/tr1/memory: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- 2 | 3 | // Copyright (C) 2005, 2006 Free Software Foundation, Inc. 4 | // 5 | // This file is part of the GNU ISO C++ Library. This library is free 6 | // software; you can redistribute it and/or modify it under the 7 | // terms of the GNU General Public License as published by the 8 | // Free Software Foundation; either version 2, or (at your option) 9 | // any later version. 10 | 11 | // This library is distributed in the hope that it will be useful, 12 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | // GNU General Public License for more details. 15 | 16 | // You should have received a copy of the GNU General Public License along 17 | // with this library; see the file COPYING. If not, write to the Free 18 | // Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, 19 | // USA. 20 | 21 | // As a special exception, you may use this file as part of a free software 22 | // library without restriction. Specifically, if other files instantiate 23 | // templates or use macros or inline functions from this file, or you compile 24 | // this file and link it with other files to produce an executable, this 25 | // file does not by itself cause the resulting executable to be covered by 26 | // the GNU General Public License. This exception does not however 27 | // invalidate any other reasons why the executable file might be covered by 28 | // the GNU General Public License. 29 | 30 | /** 31 | * @file tr1/memory 32 | * This is a TR1 C++ Library header. 33 | */ 34 | 35 | #ifndef _TR1_MEMORY 36 | #define _TR1_MEMORY 1 37 | 38 | #include "../memory" 39 | #include // std::less 40 | #include // std::exception 41 | #include // std::bad_alloc 42 | #include // std::type_info in get_deleter 43 | #include // std::size_t 44 | #include // std::swap 45 | #include // std::basic_ostream 46 | #include // std::abort 47 | 48 | #include 49 | #include 50 | #include 51 | #include 52 | #include // tr1::add_reference 53 | 54 | #include 55 | 56 | #endif 57 | -------------------------------------------------------------------------------- /include/c++/4.2.1/tr1/mu_iterate.h: -------------------------------------------------------------------------------- 1 | // TR1 functional -*- C++ -*- 2 | 3 | // Copyright (C) 2005 Free Software Foundation, Inc. 4 | // Written by Douglas Gregor 5 | // 6 | // This file is part of the GNU ISO C++ Library. This library is free 7 | // software; you can redistribute it and/or modify it under the 8 | // terms of the GNU General Public License as published by the 9 | // Free Software Foundation; either version 2, or (at your option) 10 | // any later version. 11 | 12 | // This library is distributed in the hope that it will be useful, 13 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 | // GNU General Public License for more details. 16 | 17 | // You should have received a copy of the GNU General Public License along 18 | // with this library; see the file COPYING. If not, write to the Free 19 | // Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, 20 | // USA. 21 | 22 | // As a special exception, you may use this file as part of a free software 23 | // library without restriction. Specifically, if other files instantiate 24 | // templates or use macros or inline functions from this file, or you compile 25 | // this file and link it with other files to produce an executable, this 26 | // file does not by itself cause the resulting executable to be covered by 27 | // the GNU General Public License. This exception does not however 28 | // invalidate any other reasons why the executable file might be covered by 29 | // the GNU General Public License. 30 | 31 | /** @file tr1/mu_iterate.h 32 | * This is an internal header file, included by other library headers. 33 | * You should not attempt to use it directly. 34 | */ 35 | 36 | // Determine the result type when we pass the arguments along. This 37 | // involves passing along the cv-qualifiers placed on _Mu and 38 | // unwrapping the argument bundle. 39 | // @namespace std::tr1 40 | // @class std::tr1::_Mu::result 41 | template 43 | class result<_CVMu(_CVArg, tuple<_GLIBCXX_TEMPLATE_ARGS>)> 44 | : public result_of<_CVArg(_GLIBCXX_TEMPLATE_ARGS)> { }; 45 | 46 | template 47 | typename result_of<_CVArg(_GLIBCXX_TEMPLATE_ARGS)>::type 48 | operator()(_CVArg& __arg, const tuple<_GLIBCXX_TEMPLATE_ARGS>& __tuple) 49 | const volatile 50 | { 51 | return __arg(_GLIBCXX_MU_GET_TUPLE_ARGS); 52 | } 53 | -------------------------------------------------------------------------------- /include/c++/4.2.1/tr1/ref_fwd.h: -------------------------------------------------------------------------------- 1 | 2 | 3 | // class template reference_wrapper forwarding header -*- C++ -*- 4 | 5 | // Copyright (C) 2004, 2005 Free Software Foundation, Inc. 6 | // 7 | // This file is part of the GNU ISO C++ Library. This library is free 8 | // software; you can redistribute it and/or modify it under the 9 | // terms of the GNU General Public License as published by the 10 | // Free Software Foundation; either version 2, or (at your option) 11 | // any later version. 12 | 13 | // This library is distributed in the hope that it will be useful, 14 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | // GNU General Public License for more details. 17 | 18 | // You should have received a copy of the GNU General Public License along 19 | // with this library; see the file COPYING. If not, write to the Free 20 | // Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, 21 | // USA. 22 | 23 | // As a special exception, you may use this file as part of a free software 24 | // library without restriction. Specifically, if other files instantiate 25 | // templates or use macros or inline functions from this file, or you compile 26 | // this file and link it with other files to produce an executable, this 27 | // file does not by itself cause the resulting executable to be covered by 28 | // the GNU General Public License. This exception does not however 29 | // invalidate any other reasons why the executable file might be covered by 30 | // the GNU General Public License. 31 | 32 | /** @file tr1/ref_fwd.h 33 | * This is an internal header file, included by other library headers. 34 | * You should not attempt to use it directly. 35 | */ 36 | 37 | // Douglas Gregor 38 | #ifndef _TR1_REF_FWD 39 | #define _TR1_REF_FWD 40 | 41 | namespace std 42 | { 43 | _GLIBCXX_BEGIN_NAMESPACE(tr1) 44 | 45 | template 46 | class reference_wrapper; 47 | 48 | template 49 | reference_wrapper<_Tp> 50 | ref(_Tp& __t); 51 | 52 | // Denotes a const reference should be taken to a variable. 53 | template 54 | reference_wrapper 55 | cref(const _Tp& __t); 56 | 57 | _GLIBCXX_END_NAMESPACE 58 | } 59 | #endif 60 | -------------------------------------------------------------------------------- /include/c++/4.2.1/tr1/ref_wrap_iterate.h: -------------------------------------------------------------------------------- 1 | // TR1 reference_wrapper -*- C++ -*- 2 | 3 | // Copyright (C) 2005 Free Software Foundation, Inc. 4 | // Written by Douglas Gregor 5 | // 6 | // This file is part of the GNU ISO C++ Library. This library is free 7 | // software; you can redistribute it and/or modify it under the 8 | // terms of the GNU General Public License as published by the 9 | // Free Software Foundation; either version 2, or (at your option) 10 | // any later version. 11 | 12 | // This library is distributed in the hope that it will be useful, 13 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 | // GNU General Public License for more details. 16 | 17 | // You should have received a copy of the GNU General Public License along 18 | // with this library; see the file COPYING. If not, write to the Free 19 | // Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, 20 | // USA. 21 | 22 | // As a special exception, you may use this file as part of a free software 23 | // library without restriction. Specifically, if other files instantiate 24 | // templates or use macros or inline functions from this file, or you compile 25 | // this file and link it with other files to produce an executable, this 26 | // file does not by itself cause the resulting executable to be covered by 27 | // the GNU General Public License. This exception does not however 28 | // invalidate any other reasons why the executable file might be covered by 29 | // the GNU General Public License. 30 | 31 | /** @file tr1/ref_wrap_iterate.h 32 | * This is an internal header file, included by other library headers. 33 | * You should not attempt to use it directly. 34 | */ 35 | 36 | #if _GLIBCXX_NUM_ARGS > 0 37 | template<_GLIBCXX_TEMPLATE_PARAMS> 38 | typename result_of<_M_func_type(_GLIBCXX_TEMPLATE_ARGS)>::type 39 | operator()(_GLIBCXX_REF_PARAMS) const; 40 | #else 41 | typename result_of<_M_func_type()>::type 42 | operator()() const 43 | { return get()(); } 44 | #endif 45 | -------------------------------------------------------------------------------- /include/c++/4.2.1/tr1/stdarg.h: -------------------------------------------------------------------------------- 1 | // TR1 stdarg.h -*- C++ -*- 2 | 3 | // Copyright (C) 2006 Free Software Foundation, Inc. 4 | // 5 | // This file is part of the GNU ISO C++ Library. This library is free 6 | // software; you can redistribute it and/or modify it under the 7 | // terms of the GNU General Public License as published by the 8 | // Free Software Foundation; either version 2, or (at your option) 9 | // any later version. 10 | 11 | // This library is distributed in the hope that it will be useful, 12 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | // GNU General Public License for more details. 15 | 16 | // You should have received a copy of the GNU General Public License along 17 | // with this library; see the file COPYING. If not, write to the Free 18 | // Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, 19 | // USA. 20 | 21 | // As a special exception, you may use this file as part of a free software 22 | // library without restriction. Specifically, if other files instantiate 23 | // templates or use macros or inline functions from this file, or you compile 24 | // this file and link it with other files to produce an executable, this 25 | // file does not by itself cause the resulting executable to be covered by 26 | // the GNU General Public License. This exception does not however 27 | // invalidate any other reasons why the executable file might be covered by 28 | // the GNU General Public License. 29 | 30 | /** @file tr1/stdarg.h 31 | * This is a TR1 C++ Library header. 32 | */ 33 | 34 | #ifndef _TR1_STDARG_H 35 | #define _TR1_STDARG_H 1 36 | 37 | #include 38 | 39 | #endif 40 | -------------------------------------------------------------------------------- /include/c++/4.2.1/tr1/stdbool.h: -------------------------------------------------------------------------------- 1 | // TR1 stdbool.h -*- C++ -*- 2 | 3 | // Copyright (C) 2006 Free Software Foundation, Inc. 4 | // 5 | // This file is part of the GNU ISO C++ Library. This library is free 6 | // software; you can redistribute it and/or modify it under the 7 | // terms of the GNU General Public License as published by the 8 | // Free Software Foundation; either version 2, or (at your option) 9 | // any later version. 10 | 11 | // This library is distributed in the hope that it will be useful, 12 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | // GNU General Public License for more details. 15 | 16 | // You should have received a copy of the GNU General Public License along 17 | // with this library; see the file COPYING. If not, write to the Free 18 | // Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, 19 | // USA. 20 | 21 | // As a special exception, you may use this file as part of a free software 22 | // library without restriction. Specifically, if other files instantiate 23 | // templates or use macros or inline functions from this file, or you compile 24 | // this file and link it with other files to produce an executable, this 25 | // file does not by itself cause the resulting executable to be covered by 26 | // the GNU General Public License. This exception does not however 27 | // invalidate any other reasons why the executable file might be covered by 28 | // the GNU General Public License. 29 | 30 | /** @file tr1/stdbool.h 31 | * This is a TR1 C++ Library header. 32 | */ 33 | 34 | #ifndef _TR1_STDBOOL_H 35 | #define _TR1_STDBOOL_H 1 36 | 37 | #include 38 | 39 | #endif 40 | -------------------------------------------------------------------------------- /include/c++/4.2.1/tr1/stdint.h: -------------------------------------------------------------------------------- 1 | // TR1 stdint.h -*- C++ -*- 2 | 3 | // Copyright (C) 2006 Free Software Foundation, Inc. 4 | // 5 | // This file is part of the GNU ISO C++ Library. This library is free 6 | // software; you can redistribute it and/or modify it under the 7 | // terms of the GNU General Public License as published by the 8 | // Free Software Foundation; either version 2, or (at your option) 9 | // any later version. 10 | 11 | // This library is distributed in the hope that it will be useful, 12 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | // GNU General Public License for more details. 15 | 16 | // You should have received a copy of the GNU General Public License along 17 | // with this library; see the file COPYING. If not, write to the Free 18 | // Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, 19 | // USA. 20 | 21 | // As a special exception, you may use this file as part of a free software 22 | // library without restriction. Specifically, if other files instantiate 23 | // templates or use macros or inline functions from this file, or you compile 24 | // this file and link it with other files to produce an executable, this 25 | // file does not by itself cause the resulting executable to be covered by 26 | // the GNU General Public License. This exception does not however 27 | // invalidate any other reasons why the executable file might be covered by 28 | // the GNU General Public License. 29 | 30 | /** @file tr1/stdint.h 31 | * This is a TR1 C++ Library header. 32 | */ 33 | 34 | #ifndef _TR1_STDINT_H 35 | #define _TR1_STDINT_H 1 36 | 37 | #include 38 | 39 | #endif 40 | -------------------------------------------------------------------------------- /include/c++/4.2.1/tr1/stdio.h: -------------------------------------------------------------------------------- 1 | // TR1 stdio.h -*- C++ -*- 2 | 3 | // Copyright (C) 2006 Free Software Foundation, Inc. 4 | // 5 | // This file is part of the GNU ISO C++ Library. This library is free 6 | // software; you can redistribute it and/or modify it under the 7 | // terms of the GNU General Public License as published by the 8 | // Free Software Foundation; either version 2, or (at your option) 9 | // any later version. 10 | 11 | // This library is distributed in the hope that it will be useful, 12 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | // GNU General Public License for more details. 15 | 16 | // You should have received a copy of the GNU General Public License along 17 | // with this library; see the file COPYING. If not, write to the Free 18 | // Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, 19 | // USA. 20 | 21 | // As a special exception, you may use this file as part of a free software 22 | // library without restriction. Specifically, if other files instantiate 23 | // templates or use macros or inline functions from this file, or you compile 24 | // this file and link it with other files to produce an executable, this 25 | // file does not by itself cause the resulting executable to be covered by 26 | // the GNU General Public License. This exception does not however 27 | // invalidate any other reasons why the executable file might be covered by 28 | // the GNU General Public License. 29 | 30 | /** @file tr1/stdio.h 31 | * This is a TR1 C++ Library header. 32 | */ 33 | 34 | #ifndef _TR1_STDIO_H 35 | #define _TR1_STDIO_H 1 36 | 37 | #include 38 | 39 | #endif 40 | -------------------------------------------------------------------------------- /include/c++/4.2.1/tr1/stdlib.h: -------------------------------------------------------------------------------- 1 | // TR1 stdlib.h -*- C++ -*- 2 | 3 | // Copyright (C) 2006 Free Software Foundation, Inc. 4 | // 5 | // This file is part of the GNU ISO C++ Library. This library is free 6 | // software; you can redistribute it and/or modify it under the 7 | // terms of the GNU General Public License as published by the 8 | // Free Software Foundation; either version 2, or (at your option) 9 | // any later version. 10 | 11 | // This library is distributed in the hope that it will be useful, 12 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | // GNU General Public License for more details. 15 | 16 | // You should have received a copy of the GNU General Public License along 17 | // with this library; see the file COPYING. If not, write to the Free 18 | // Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, 19 | // USA. 20 | 21 | // As a special exception, you may use this file as part of a free software 22 | // library without restriction. Specifically, if other files instantiate 23 | // templates or use macros or inline functions from this file, or you compile 24 | // this file and link it with other files to produce an executable, this 25 | // file does not by itself cause the resulting executable to be covered by 26 | // the GNU General Public License. This exception does not however 27 | // invalidate any other reasons why the executable file might be covered by 28 | // the GNU General Public License. 29 | 30 | /** @file tr1/stdlib.h 31 | * This is a TR1 C++ Library header. 32 | */ 33 | 34 | #ifndef _TR1_STDLIB_H 35 | #define _TR1_STDLIB_H 1 36 | 37 | #include 38 | 39 | #if _GLIBCXX_HOSTED 40 | 41 | #if _GLIBCXX_USE_C99 42 | 43 | using std::tr1::atoll; 44 | using std::tr1::strtoll; 45 | using std::tr1::strtoull; 46 | 47 | using std::tr1::abs; 48 | #if !_GLIBCXX_USE_C99_LONG_LONG_DYNAMIC 49 | using std::tr1::div; 50 | #endif 51 | 52 | #endif 53 | 54 | #endif 55 | 56 | #endif 57 | -------------------------------------------------------------------------------- /include/c++/4.2.1/tr1/tgmath.h: -------------------------------------------------------------------------------- 1 | // TR1 tgmath.h -*- C++ -*- 2 | 3 | // Copyright (C) 2006 Free Software Foundation, Inc. 4 | // 5 | // This file is part of the GNU ISO C++ Library. This library is free 6 | // software; you can redistribute it and/or modify it under the 7 | // terms of the GNU General Public License as published by the 8 | // Free Software Foundation; either version 2, or (at your option) 9 | // any later version. 10 | 11 | // This library is distributed in the hope that it will be useful, 12 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | // GNU General Public License for more details. 15 | 16 | // You should have received a copy of the GNU General Public License along 17 | // with this library; see the file COPYING. If not, write to the Free 18 | // Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, 19 | // USA. 20 | 21 | // As a special exception, you may use this file as part of a free software 22 | // library without restriction. Specifically, if other files instantiate 23 | // templates or use macros or inline functions from this file, or you compile 24 | // this file and link it with other files to produce an executable, this 25 | // file does not by itself cause the resulting executable to be covered by 26 | // the GNU General Public License. This exception does not however 27 | // invalidate any other reasons why the executable file might be covered by 28 | // the GNU General Public License. 29 | 30 | /** @file tr1/tgmath.h 31 | * This is a TR1 C++ Library header. 32 | */ 33 | 34 | #ifndef _TR1_TGMATH_H 35 | #define _TR1_TGMATH_H 1 36 | 37 | #include 38 | 39 | #endif 40 | -------------------------------------------------------------------------------- /include/c++/4.2.1/tr1/wchar.h: -------------------------------------------------------------------------------- 1 | // TR1 wchar.h -*- C++ -*- 2 | 3 | // Copyright (C) 2006 Free Software Foundation, Inc. 4 | // 5 | // This file is part of the GNU ISO C++ Library. This library is free 6 | // software; you can redistribute it and/or modify it under the 7 | // terms of the GNU General Public License as published by the 8 | // Free Software Foundation; either version 2, or (at your option) 9 | // any later version. 10 | 11 | // This library is distributed in the hope that it will be useful, 12 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | // GNU General Public License for more details. 15 | 16 | // You should have received a copy of the GNU General Public License along 17 | // with this library; see the file COPYING. If not, write to the Free 18 | // Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, 19 | // USA. 20 | 21 | // As a special exception, you may use this file as part of a free software 22 | // library without restriction. Specifically, if other files instantiate 23 | // templates or use macros or inline functions from this file, or you compile 24 | // this file and link it with other files to produce an executable, this 25 | // file does not by itself cause the resulting executable to be covered by 26 | // the GNU General Public License. This exception does not however 27 | // invalidate any other reasons why the executable file might be covered by 28 | // the GNU General Public License. 29 | 30 | /** @file tr1/wchar.h 31 | * This is a TR1 C++ Library header. 32 | */ 33 | 34 | #ifndef _TR1_WCHAR_H 35 | #define _TR1_WCHAR_H 1 36 | 37 | #include 38 | 39 | #endif 40 | -------------------------------------------------------------------------------- /include/c++/4.2.1/tr1/wctype.h: -------------------------------------------------------------------------------- 1 | // TR1 wctype.h -*- C++ -*- 2 | 3 | // Copyright (C) 2006 Free Software Foundation, Inc. 4 | // 5 | // This file is part of the GNU ISO C++ Library. This library is free 6 | // software; you can redistribute it and/or modify it under the 7 | // terms of the GNU General Public License as published by the 8 | // Free Software Foundation; either version 2, or (at your option) 9 | // any later version. 10 | 11 | // This library is distributed in the hope that it will be useful, 12 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | // GNU General Public License for more details. 15 | 16 | // You should have received a copy of the GNU General Public License along 17 | // with this library; see the file COPYING. If not, write to the Free 18 | // Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, 19 | // USA. 20 | 21 | // As a special exception, you may use this file as part of a free software 22 | // library without restriction. Specifically, if other files instantiate 23 | // templates or use macros or inline functions from this file, or you compile 24 | // this file and link it with other files to produce an executable, this 25 | // file does not by itself cause the resulting executable to be covered by 26 | // the GNU General Public License. This exception does not however 27 | // invalidate any other reasons why the executable file might be covered by 28 | // the GNU General Public License. 29 | 30 | /** @file tr1/wctype.h 31 | * This is a TR1 C++ Library header. 32 | */ 33 | 34 | #ifndef _TR1_WCTYPE_H 35 | #define _TR1_WCTYPE_H 1 36 | 37 | #include 38 | 39 | #endif 40 | -------------------------------------------------------------------------------- /install.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | set -e 4 | 5 | sudo ln -s \ 6 | $PWD/include/c++ \ 7 | /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/ 8 | 9 | sudo ln -s \ 10 | $PWD/lib/libstdc++.6.0.9.tbd \ 11 | $PWD/lib/libstdc++.6.tbd \ 12 | $PWD/lib/libstdc++.tbd \ 13 | /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/lib/ 14 | --------------------------------------------------------------------------------