00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036
00037 #include <bits/std_string.h>
00038
00039
00040 #ifndef C
00041 # define C char
00042 #endif
00043
00044 namespace std
00045 {
00046 typedef basic_string<C> S;
00047
00048 template class basic_string<C>;
00049 template S::size_type S::_Rep::_S_max_size;
00050
00051 template S operator+(const C*, const S&);
00052 template S operator+(C, const S&);
00053 template bool operator==(const S::iterator&, const S::iterator&);
00054 template bool operator==(const S::const_iterator&, const S::const_iterator&);
00055
00056
00057
00058
00059 template
00060 S&
00061 S::_M_replace<S::iterator>
00062 (S::iterator, S::iterator, S::iterator, S::iterator, forward_iterator_tag);
00063
00064 template
00065 S&
00066 S::_M_replace<S::const_iterator>
00067 (S::iterator, S::iterator,
00068 S::const_iterator, S::const_iterator, forward_iterator_tag);
00069
00070 template
00071 C*
00072 S::_S_construct<S::iterator>
00073 (S::iterator, S::iterator, const allocator<C>&, forward_iterator_tag);
00074
00075 template
00076 S::basic_string(C*, C*, const allocator<C>&);
00077
00078 template
00079 S::basic_string(S::iterator, S::iterator, const allocator<C>&);
00080
00081 template
00082 S&
00083 S::_M_replace(S::iterator, S::iterator, C*, C*, forward_iterator_tag);
00084
00085 template
00086 S&
00087 S::_M_replace(S::iterator, S::iterator, const C*, const C*,
00088 forward_iterator_tag);
00089
00090 template
00091 C*
00092 S::_S_construct(const C*, const C*, const allocator<C>&,
00093 forward_iterator_tag);
00094
00095 template
00096 C*
00097 S::_S_construct (C*, C*, const allocator<C>&,
00098 forward_iterator_tag);
00099
00100 template
00101 void
00102 __destroy_aux<S*>(S*, S*, _Bool<false>);
00103 }