aboutsummaryrefslogtreecommitdiff
path: root/libstdc++-v3/include/tr1/random.h
diff options
context:
space:
mode:
Diffstat (limited to 'libstdc++-v3/include/tr1/random.h')
-rw-r--r--libstdc++-v3/include/tr1/random.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/libstdc++-v3/include/tr1/random.h b/libstdc++-v3/include/tr1/random.h
index 1b491b0..ace3792 100644
--- a/libstdc++-v3/include/tr1/random.h
+++ b/libstdc++-v3/include/tr1/random.h
@@ -33,7 +33,7 @@
#pragma GCC system_header
-namespace std
+namespace std _GLIBCXX_VISIBILITY(default)
{
namespace tr1
{
@@ -50,6 +50,8 @@ namespace tr1
*/
namespace __detail
{
+ _GLIBCXX_BEGIN_NAMESPACE_VERSION
+
template<typename _UIntType, int __w,
bool = __w < std::numeric_limits<_UIntType>::digits>
struct _Shift
@@ -210,8 +212,12 @@ 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.
@@ -2404,6 +2410,7 @@ namespace tr1
/* @} */ // group tr1_random_distributions_continuous
/* @} */ // group tr1_random_distributions
/* @} */ // group tr1_random
+_GLIBCXX_END_NAMESPACE_VERSION
}
}