Skip to content

Commit 397384c

Browse files
Andreas-Krugtkoeppe
authored andcommitted
[rand.adapt.ibits,rand.dist.pois.poisson] Add namespace std in class template
[rand.adapt.ibits] 28.5.5.3-4 [rand.dist.pois.poisson] 28.5.9.4.1-1
1 parent aa21c81 commit 397384c

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

source/numerics.tex

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3308,7 +3308,8 @@
33083308
\indexlibraryglobal{independent_bits_engine}%
33093309
\indexlibrarymember{result_type}{independent_bits_engine}%
33103310
\begin{codeblock}
3311-
template<class Engine, size_t w, class UIntType>
3311+
namespace std {
3312+
template<class Engine, size_t w, class UIntType>
33123313
class independent_bits_engine {
33133314
public:
33143315
// types
@@ -3349,6 +3350,7 @@
33493350
private:
33503351
Engine e; // \expos
33513352
};
3353+
}
33523354
\end{codeblock}%
33533355

33543356
\pnum
@@ -4807,9 +4809,9 @@
48074809
\indexlibraryglobal{poisson_distribution}%
48084810
\indexlibrarymember{result_type}{poisson_distribution}%
48094811
\begin{codeblock}
4810-
template<class IntType = int>
4811-
class poisson_distribution
4812-
{
4812+
namespace std {
4813+
template<class IntType = int>
4814+
class poisson_distribution {
48134815
public:
48144816
// types
48154817
using result_type = IntType;
@@ -4845,6 +4847,7 @@
48454847
friend basic_istream<charT, traits>&
48464848
operator>>(basic_istream<charT, traits>& is, poisson_distribution& x);
48474849
};
4850+
}
48484851
\end{codeblock}
48494852

48504853
\indexlibraryctor{poisson_distribution}%

0 commit comments

Comments
 (0)