Skip to content

Commit ef0f323

Browse files
committed
Merge pull request #539 from kariya-mitsuru/refine-indexlibrary
Refine "Index of library names" for operator<< and operator>>.
2 parents a3e7883 + 6e6edc1 commit ef0f323

File tree

4 files changed

+53
-22
lines changed

4 files changed

+53
-22
lines changed

source/iostreams.tex

Lines changed: 21 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4582,7 +4582,8 @@
45824582

45834583
\rSec4[istream.formatted.arithmetic]{Arithmetic extractors}
45844584

4585-
\indexlibrary{\idxcode{operator\shr}!\idxcode{istream}}%
4585+
\indexlibrary{\idxcode{operator\shr}!\idxcode{basic_istream}}%
4586+
\indexlibrary{\idxcode{basic_istream}!\idxcode{operator\shr}}%
45864587
\begin{itemdecl}
45874588
operator>>(unsigned short& val);
45884589
operator>>(unsigned int& val);
@@ -4633,7 +4634,8 @@
46334634
\tcode{istream}.
46344635
\end{itemdescr}
46354636

4636-
\indexlibrary{\idxcode{operator\shr}!\idxcode{istream}}%
4637+
\indexlibrary{\idxcode{operator\shr}!\idxcode{basic_istream}}%
4638+
\indexlibrary{\idxcode{basic_istream}!\idxcode{operator\shr}}%
46374639
\begin{itemdecl}
46384640
operator>>(short& val);
46394641
\end{itemdecl}
@@ -4659,7 +4661,8 @@
46594661
\end{codeblock}
46604662
\end{itemdescr}
46614663

4662-
\indexlibrary{\idxcode{operator\shr}!\idxcode{istream}}%
4664+
\indexlibrary{\idxcode{operator\shr}!\idxcode{basic_istream}}%
4665+
\indexlibrary{\idxcode{basic_istream}!\idxcode{operator\shr}}%
46634666
\begin{itemdecl}
46644667
operator>>(int& val);
46654668
\end{itemdecl}
@@ -4688,6 +4691,7 @@
46884691
\rSec4[istream::extractors]{\tcode{basic_istream::operator\shr}}
46894692

46904693
\indexlibrary{\idxcode{operator\shr}!\idxcode{basic_istream}}%
4694+
\indexlibrary{\idxcode{basic_istream}!\idxcode{operator\shr}}%
46914695
\begin{itemdecl}
46924696
basic_istream<charT,traits>& operator>>
46934697
(basic_istream<charT,traits>& (*pf)(basic_istream<charT,traits>&));
@@ -4707,7 +4711,8 @@
47074711
\indexlibrary{\idxcode{ws}}}
47084712
\end{itemdescr}
47094713

4710-
\indexlibrary{\idxcode{operator\shr}!\idxcode{istream}}%
4714+
\indexlibrary{\idxcode{operator\shr}!\idxcode{basic_istream}}%
4715+
\indexlibrary{\idxcode{basic_istream}!\idxcode{operator\shr}}%
47114716
\begin{itemdecl}
47124717
basic_istream<charT,traits>& operator>>
47134718
(basic_ios<charT,traits>& (*pf)(basic_ios<charT,traits>&));
@@ -4726,7 +4731,8 @@
47264731
\tcode{*this}.
47274732
\end{itemdescr}
47284733

4729-
\indexlibrary{\idxcode{operator\shr}!\idxcode{istream}}%
4734+
\indexlibrary{\idxcode{operator\shr}!\idxcode{basic_istream}}%
4735+
\indexlibrary{\idxcode{basic_istream}!\idxcode{operator\shr}}%
47304736
\begin{itemdecl}
47314737
basic_istream<charT,traits>& operator>>
47324738
(ios_base& (*pf)(ios_base&));
@@ -4746,7 +4752,8 @@
47464752
\tcode{*this}.
47474753
\end{itemdescr}
47484754

4749-
\indexlibrary{\idxcode{operator\shr}!\idxcode{istream}}%
4755+
\indexlibrary{\idxcode{operator\shr}!\idxcode{basic_istream}}%
4756+
\indexlibrary{\idxcode{basic_istream}!\idxcode{operator\shr}}%
47504757
\begin{itemdecl}
47514758
template<class charT, class traits>
47524759
basic_istream<charT,traits>& operator>>(basic_istream<charT,traits>& in,
@@ -4820,7 +4827,8 @@
48204827
\tcode{in}.
48214828
\end{itemdescr}
48224829

4823-
\indexlibrary{\idxcode{operator\shr}!\idxcode{istream}}%
4830+
\indexlibrary{\idxcode{operator\shr}!\idxcode{basic_istream}}%
4831+
\indexlibrary{\idxcode{basic_istream}!\idxcode{operator\shr}}%
48244832
\begin{itemdecl}
48254833
template<class charT, class traits>
48264834
basic_istream<charT,traits>& operator>>(basic_istream<charT,traits>& in,
@@ -4850,7 +4858,8 @@
48504858
\tcode{in}.
48514859
\end{itemdescr}
48524860

4853-
\indexlibrary{\idxcode{operator\shr}!\idxcode{istream}}%
4861+
\indexlibrary{\idxcode{operator\shr}!\idxcode{basic_istream}}%
4862+
\indexlibrary{\idxcode{basic_istream}!\idxcode{operator\shr}}%
48544863
\begin{itemdecl}
48554864
basic_istream<charT,traits>& operator>>
48564865
(basic_streambuf<charT,traits>* sb);
@@ -5739,8 +5748,8 @@
57395748

57405749
\rSec3[istream.rvalue]{Rvalue stream extraction}
57415750

5742-
\indexlibrary{\idxcode{operator\shl}!\idxcode{basic_istream}}%
5743-
\indexlibrary{\idxcode{basic_istream}!\idxcode{operator\shl}}%
5751+
\indexlibrary{\idxcode{operator\shr}!\idxcode{basic_istream}}%
5752+
\indexlibrary{\idxcode{basic_istream}!\idxcode{operator\shr}}%
57445753
\begin{itemdecl}
57455754
template <class charT, class traits, class T>
57465755
basic_istream<charT, traits>&
@@ -6204,6 +6213,7 @@
62046213
\rSec4[ostream.inserters.arithmetic]{Arithmetic inserters}
62056214

62066215
\indexlibrary{\idxcode{operator\shl}!\idxcode{basic_ostream}}%
6216+
\indexlibrary{\idxcode{basic_ostream}!\idxcode{operator\shl}}%
62076217
\begin{itemdecl}
62086218
operator<<(bool val);
62096219
operator<<(short val);
@@ -6332,6 +6342,7 @@
63326342
\rSec4[ostream.inserters]{\tcode{basic_ostream::operator\shl}}
63336343

63346344
\indexlibrary{\idxcode{operator\shl}!\idxcode{basic_ostream}}%
6345+
\indexlibrary{\idxcode{basic_ostream}!\idxcode{operator\shl}}%
63356346
\begin{itemdecl}
63366347
basic_ostream<charT,traits>& operator<<
63376348
(basic_ostream<charT,traits>& (*pf)(basic_ostream<charT,traits>&));

source/numerics.tex

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -812,7 +812,8 @@
812812
\tcode{rhs.real() != lhs.real() || rhs.imag() != lhs.imag()}.
813813
\end{itemdescr}
814814

815-
\indexlibrary{operator>>@\tcode{operator\shr}!\idxcode{complex}}%
815+
\indexlibrary{\idxcode{operator\shr}!\idxcode{complex}}%
816+
\indexlibrary{\idxcode{complex}!\idxcode{operator\shr}}%
816817
\begin{itemdecl}
817818
template<class T, class charT, class traits>
818819
basic_istream<charT, traits>&
@@ -855,7 +856,8 @@
855856
the same for each of the simpler extractions.
856857
\end{itemdescr}
857858

858-
\indexlibrary{operator<<@\tcode{operator\shl}!\idxcode{complex}}%
859+
\indexlibrary{\idxcode{operator\shl}!\idxcode{complex}}%
860+
\indexlibrary{\idxcode{complex}!\idxcode{operator\shl}}%
859861
\begin{itemdecl}
860862
template<class T, class charT, class traits>
861863
basic_ostream<charT, traits>&
@@ -7224,7 +7226,9 @@
72247226
\indexlibrary{\idxcode{operator\&=}!\idxcode{valarray}}%
72257227
\indexlibrary{\idxcode{operator"|=}!\idxcode{valarray}}%
72267228
\indexlibrary{\idxcode{operator\shl=}!\idxcode{valarray}}%
7229+
\indexlibrary{\idxcode{valarray}!\idxcode{operator\shl=}}%
72277230
\indexlibrary{\idxcode{operator\shr=}!\idxcode{valarray}}%
7231+
\indexlibrary{\idxcode{valarray}!\idxcode{operator\shr=}}%
72287232
\begin{itemdecl}
72297233
valarray& operator*= (const valarray&);
72307234
valarray& operator/= (const valarray&);
@@ -7486,7 +7490,9 @@
74867490
\indexlibrary{\idxcode{operator\&}!\idxcode{valarray}}%
74877491
\indexlibrary{\idxcode{operator"|}!\idxcode{valarray}}%
74887492
\indexlibrary{\idxcode{operator\shl}!\idxcode{valarray}}%
7493+
\indexlibrary{\idxcode{valarray}!\idxcode{operator\shl}}%
74897494
\indexlibrary{\idxcode{operator\shr}!\idxcode{valarray}}%
7495+
\indexlibrary{\idxcode{valarray}!\idxcode{operator\shr}}%
74907496
\indexlibrary{\idxcode{operator\&\&}!\idxcode{valarray}}%
74917497
\indexlibrary{\idxcode{operator"|"|}!\idxcode{valarray}}%
74927498
\begin{itemdecl}
@@ -7922,7 +7928,9 @@
79227928
\indexlibrary{\idxcode{operator\&=}!\idxcode{slice_array}}%
79237929
\indexlibrary{\idxcode{operator"|=}!\idxcode{slice_array}}%
79247930
\indexlibrary{\idxcode{operator\shl=}!\idxcode{slice_array}}%
7931+
\indexlibrary{\idxcode{slice_array}!\idxcode{operator\shl=}}%
79257932
\indexlibrary{\idxcode{operator\shr=}!\idxcode{slice_array}}%
7933+
\indexlibrary{\idxcode{slice_array}!\idxcode{operator\shr=}}%
79267934
\begin{itemdecl}
79277935
void operator*= (const valarray<T>&) const;
79287936
void operator/= (const valarray<T>&) const;
@@ -8208,7 +8216,9 @@
82088216
\indexlibrary{\idxcode{operator\&=}!\idxcode{gslice_array}}%
82098217
\indexlibrary{\idxcode{operator"|=}!\idxcode{gslice_array}}%
82108218
\indexlibrary{\idxcode{operator\shl=}!\idxcode{gslice_array}}%
8219+
\indexlibrary{\idxcode{gslice_array}!\idxcode{operator\shl=}}%
82118220
\indexlibrary{\idxcode{operator\shr=}!\idxcode{gslice_array}}%
8221+
\indexlibrary{\idxcode{gslice_array}!\idxcode{operator\shr=}}%
82128222
\begin{itemdecl}
82138223
void operator*= (const valarray<T>&) const;
82148224
void operator/= (const valarray<T>&) const;
@@ -8336,7 +8346,9 @@
83368346
\indexlibrary{\idxcode{operator\&=}!\idxcode{mask_array}}%
83378347
\indexlibrary{\idxcode{operator"|=}!\idxcode{mask_array}}%
83388348
\indexlibrary{\idxcode{operator\shl=}!\idxcode{mask_array}}%
8349+
\indexlibrary{\idxcode{mask_array}!\idxcode{operator\shl=}}%
83398350
\indexlibrary{\idxcode{operator\shr=}!\idxcode{mask_array}}%
8351+
\indexlibrary{\idxcode{mask_array}!\idxcode{operator\shr=}}%
83408352
\begin{itemdecl}
83418353
void operator*= (const valarray<T>&) const;
83428354
void operator/= (const valarray<T>&) const;
@@ -8481,7 +8493,9 @@
84818493
\indexlibrary{\idxcode{operator\&=}!\idxcode{indirect_array}}%
84828494
\indexlibrary{\idxcode{operator"|=}!\idxcode{indirect_array}}%
84838495
\indexlibrary{\idxcode{operator\shl=}!\idxcode{indirect_array}}%
8496+
\indexlibrary{\idxcode{indirect_array}!\idxcode{operator\shl=}}%
84848497
\indexlibrary{\idxcode{operator\shr=}!\idxcode{indirect_array}}%
8498+
\indexlibrary{\idxcode{indirect_array}!\idxcode{operator\shr=}}%
84858499
\begin{itemdecl}
84868500
void operator*= (const valarray<T>&) const;
84878501
void operator/= (const valarray<T>&) const;

source/regex.tex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2533,8 +2533,8 @@
25332533
\end{itemdescr}
25342534

25352535
\indexlibrary{\idxcode{basic_ostream}}%
2536-
\indexlibrary{\idxcode{sub_match}!\idxcode{operator<<}}%
2537-
\indexlibrary{\idxcode{operator<<}!\idxcode{sub_match}}%
2536+
\indexlibrary{\idxcode{sub_match}!\idxcode{operator\shl}}%
2537+
\indexlibrary{\idxcode{operator\shl}!\idxcode{sub_match}}%
25382538
\begin{itemdecl}
25392539
template <class charT, class ST, class BiIter>
25402540
basic_ostream<charT, ST>&

source/utilities.tex

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2389,7 +2389,8 @@
23892389
\tcode{*this}.
23902390
\end{itemdescr}
23912391

2392-
\indexlibrary{operator<<=@\tcode{operator\shl=}!\idxcode{bitset}}%
2392+
\indexlibrary{\idxcode{operator\shl=}!\idxcode{bitset}}%
2393+
\indexlibrary{\idxcode{bitset}!\idxcode{operator\shl=}}%
23932394
\begin{itemdecl}
23942395
bitset<N>& operator<<=(size_t pos) noexcept;
23952396
\end{itemdecl}
@@ -2414,7 +2415,8 @@
24142415
\tcode{*this}.
24152416
\end{itemdescr}
24162417

2417-
\indexlibrary{operator>>=@\tcode{operator\shr=}!\idxcode{bitset}}%
2418+
\indexlibrary{\idxcode{operator\shr=}!\idxcode{bitset}}%
2419+
\indexlibrary{\idxcode{bitset}!\idxcode{operator\shr=}}%
24182420
\begin{itemdecl}
24192421
bitset<N>& operator>>=(size_t pos) noexcept;
24202422
\end{itemdecl}
@@ -2743,7 +2745,8 @@
27432745
\returns \tcode{count() == 0}
27442746
\end{itemdescr}
27452747

2746-
\indexlibrary{operator<<@\tcode{operator\shl}!\idxcode{bitset}}%
2748+
\indexlibrary{\idxcode{operator\shl}!\idxcode{bitset}}%
2749+
\indexlibrary{\idxcode{bitset}!\idxcode{operator\shl}}%
27472750
\begin{itemdecl}
27482751
bitset<N> operator<<(size_t pos) const noexcept;
27492752
\end{itemdecl}
@@ -2754,7 +2757,8 @@
27542757
\tcode{bitset<N>(*this) \shl= pos}.
27552758
\end{itemdescr}
27562759

2757-
\indexlibrary{operator>>@\tcode{operator\shr}!\idxcode{bitset}}%
2760+
\indexlibrary{\idxcode{operator\shr}!\idxcode{bitset}}%
2761+
\indexlibrary{\idxcode{bitset}!\idxcode{operator\shr}}%
27582762
\begin{itemdecl}
27592763
bitset<N> operator>>(size_t pos) const noexcept;
27602764
\end{itemdecl}
@@ -2865,7 +2869,8 @@
28652869
\tcode{bitset<N>(lhs) \^{}= rhs}.
28662870
\end{itemdescr}
28672871

2868-
\indexlibrary{operator>>@\tcode{operator\shr}!\idxcode{bitset}}%
2872+
\indexlibrary{\idxcode{operator\shr}!\idxcode{bitset}}%
2873+
\indexlibrary{\idxcode{bitset}!\idxcode{operator\shr}}%
28692874
\begin{itemdecl}
28702875
template <class charT, class traits, size_t N>
28712876
basic_istream<charT, traits>&
@@ -2910,7 +2915,8 @@
29102915
\tcode{is}.
29112916
\end{itemdescr}
29122917

2913-
\indexlibrary{operator<<@\tcode{operator\shl}!\idxcode{bitset}}%
2918+
\indexlibrary{\idxcode{operator\shl}!\idxcode{bitset}}%
2919+
\indexlibrary{\idxcode{bitset}!\idxcode{operator\shl}}%
29142920
\begin{itemdecl}
29152921
template <class charT, class traits, size_t N>
29162922
basic_ostream<charT, traits>&
@@ -6433,8 +6439,8 @@
64336439

64346440
\rSec4[util.smartptr.shared.io]{\tcode{shared_ptr} I/O}
64356441

6436-
\indexlibrary{\idxcode{operator<<}!\idxcode{shared_ptr}}%
6437-
\indexlibrary{\idxcode{shared_ptr}!\idxcode{operator<<}}%
6442+
\indexlibrary{\idxcode{operator\shl}!\idxcode{shared_ptr}}%
6443+
\indexlibrary{\idxcode{shared_ptr}!\idxcode{operator\shl}}%
64386444
\begin{itemdecl}
64396445
template<class E, class T, class Y>
64406446
basic_ostream<E, T>& operator<< (basic_ostream<E, T>& os, shared_ptr<Y> const& p);

0 commit comments

Comments
 (0)