Skip to content

Commit

Permalink
[rand.adapt.ibits,rand.dist.pois.poisson] Add namespace std in class …
Browse files Browse the repository at this point in the history
…template

[rand.adapt.ibits] 28.5.5.3-4
[rand.dist.pois.poisson] 28.5.9.4.1-1
  • Loading branch information
Andreas-Krug authored and tkoeppe committed Apr 16, 2024
1 parent aa21c81 commit 397384c
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions source/numerics.tex
Expand Up @@ -3308,7 +3308,8 @@
\indexlibraryglobal{independent_bits_engine}%
\indexlibrarymember{result_type}{independent_bits_engine}%
\begin{codeblock}
template<class Engine, size_t w, class UIntType>
namespace std {
template<class Engine, size_t w, class UIntType>
class independent_bits_engine {
public:
// types
Expand Down Expand Up @@ -3349,6 +3350,7 @@
private:
Engine e; // \expos
};
}
\end{codeblock}%

\pnum
Expand Down Expand Up @@ -4807,9 +4809,9 @@
\indexlibraryglobal{poisson_distribution}%
\indexlibrarymember{result_type}{poisson_distribution}%
\begin{codeblock}
template<class IntType = int>
class poisson_distribution
{
namespace std {
template<class IntType = int>
class poisson_distribution {
public:
// types
using result_type = IntType;
Expand Down Expand Up @@ -4845,6 +4847,7 @@
friend basic_istream<charT, traits>&
operator>>(basic_istream<charT, traits>& is, poisson_distribution& x);
};
}
\end{codeblock}

\indexlibraryctor{poisson_distribution}%
Expand Down

0 comments on commit 397384c

Please sign in to comment.