Skip to content

Commit d0c0a7a

Browse files
committed
[comparisons.three.way,func.search] Add namespace around class definition
1 parent 755fa3f commit d0c0a7a

File tree

1 file changed

+20
-12
lines changed

1 file changed

+20
-12
lines changed

source/utilities.tex

Lines changed: 20 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -10549,12 +10549,14 @@
1054910549

1055010550
\indexlibraryglobal{compare_three_way}%
1055110551
\begin{codeblock}
10552-
struct compare_three_way {
10553-
template<class T, class U>
10554-
constexpr auto operator()(T&& t, U&& u) const;
10552+
namespace std {
10553+
struct compare_three_way {
10554+
template<class T, class U>
10555+
constexpr auto operator()(T&& t, U&& u) const;
1055510556

10556-
using is_transparent = @\unspec@;
10557-
};
10557+
using is_transparent = @\unspec@;
10558+
};
10559+
}
1055810560
\end{codeblock}
1055910561

1056010562
\begin{itemdecl}
@@ -12387,7 +12389,8 @@
1238712389

1238812390
\indexlibraryglobal{default_searcher}%
1238912391
\begin{codeblock}
12390-
template<class ForwardIterator1, class BinaryPredicate = equal_to<>>
12392+
namespace std {
12393+
template<class ForwardIterator1, class BinaryPredicate = equal_to<>>
1239112394
class default_searcher {
1239212395
public:
1239312396
constexpr default_searcher(ForwardIterator1 pat_first, ForwardIterator1 pat_last,
@@ -12402,6 +12405,7 @@
1240212405
ForwardIterator1 pat_last_; // \expos
1240312406
BinaryPredicate pred_; // \expos
1240412407
};
12408+
}
1240512409
\end{codeblock}
1240612410

1240712411
\indexlibraryctor{default_searcher}%
@@ -12446,9 +12450,10 @@
1244612450

1244712451
\indexlibraryglobal{boyer_moore_searcher}%
1244812452
\begin{codeblock}
12449-
template<class RandomAccessIterator1,
12450-
class Hash = hash<typename iterator_traits<RandomAccessIterator1>::value_type>,
12451-
class BinaryPredicate = equal_to<>>
12453+
namespace std {
12454+
template<class RandomAccessIterator1,
12455+
class Hash = hash<typename iterator_traits<RandomAccessIterator1>::value_type>,
12456+
class BinaryPredicate = equal_to<>>
1245212457
class boyer_moore_searcher {
1245312458
public:
1245412459
boyer_moore_searcher(RandomAccessIterator1 pat_first,
@@ -12466,6 +12471,7 @@
1246612471
Hash hash_; // \expos
1246712472
BinaryPredicate pred_; // \expos
1246812473
};
12474+
}
1246912475
\end{codeblock}
1247012476

1247112477
\indexlibraryctor{boyer_moore_searcher}%
@@ -12545,9 +12551,10 @@
1254512551

1254612552
\indexlibraryglobal{boyer_moore_horspool_searcher}%
1254712553
\begin{codeblock}
12548-
template<class RandomAccessIterator1,
12549-
class Hash = hash<typename iterator_traits<RandomAccessIterator1>::value_type>,
12550-
class BinaryPredicate = equal_to<>>
12554+
namespace std {
12555+
template<class RandomAccessIterator1,
12556+
class Hash = hash<typename iterator_traits<RandomAccessIterator1>::value_type>,
12557+
class BinaryPredicate = equal_to<>>
1255112558
class boyer_moore_horspool_searcher {
1255212559
public:
1255312560
boyer_moore_horspool_searcher(RandomAccessIterator1 pat_first,
@@ -12565,6 +12572,7 @@
1256512572
Hash hash_; // \expos
1256612573
BinaryPredicate pred_; // \expos
1256712574
};
12575+
}
1256812576
\end{codeblock}
1256912577

1257012578
\indexlibraryctor{boyer_moore_horspool_searcher}%

0 commit comments

Comments
 (0)