diff options
Diffstat (limited to 'libstdc++-v3/include/tr1/random.h')
-rw-r--r-- | libstdc++-v3/include/tr1/random.h | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/libstdc++-v3/include/tr1/random.h b/libstdc++-v3/include/tr1/random.h index 9fe7fae..79a5b8f 100644 --- a/libstdc++-v3/include/tr1/random.h +++ b/libstdc++-v3/include/tr1/random.h @@ -35,6 +35,8 @@ namespace std _GLIBCXX_VISIBILITY(default) { +_GLIBCXX_BEGIN_NAMESPACE_VERSION + namespace tr1 { // [5.1] Random number generation @@ -50,8 +52,6 @@ namespace tr1 */ namespace __detail { - _GLIBCXX_BEGIN_NAMESPACE_VERSION - template<typename _UIntType, int __w, bool = __w < std::numeric_limits<_UIntType>::digits> struct _Shift @@ -212,12 +212,8 @@ namespace tr1 private: _Engine* _M_g; }; - - _GLIBCXX_END_NAMESPACE_VERSION } // namespace __detail -_GLIBCXX_BEGIN_NAMESPACE_VERSION - /** * Produces random numbers on a given distribution function using a * non-uniform random number generation engine. @@ -2410,8 +2406,9 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION /* @} */ // group tr1_random_distributions_continuous /* @} */ // group tr1_random_distributions /* @} */ // group tr1_random -_GLIBCXX_END_NAMESPACE_VERSION } + +_GLIBCXX_END_NAMESPACE_VERSION } #endif // _GLIBCXX_TR1_RANDOM_H |