summaryrefslogtreecommitdiffstats
path: root/libcxx/include
diff options
context:
space:
mode:
authorHoward Hinnant <hhinnant@apple.com>2012-07-20 21:44:27 +0000
committerHoward Hinnant <hhinnant@apple.com>2012-07-20 21:44:27 +0000
commit00586de436e092b4a699ae5e1f0b3723814f0e8b (patch)
treeccec01b67de0ac8675d05fcbbd4d98d7c6edd4e7 /libcxx/include
parentcd16df9154d46bb4ff49ed8843df714a7376d072 (diff)
downloadbcm5719-llvm-00586de436e092b4a699ae5e1f0b3723814f0e8b.tar.gz
bcm5719-llvm-00586de436e092b4a699ae5e1f0b3723814f0e8b.zip
noexcept applied to <random>.
llvm-svn: 160579
Diffstat (limited to 'libcxx/include')
-rw-r--r--libcxx/include/random16
1 files changed, 8 insertions, 8 deletions
diff --git a/libcxx/include/random b/libcxx/include/random
index 098332725c8..305f8866d30 100644
--- a/libcxx/include/random
+++ b/libcxx/include/random
@@ -217,7 +217,7 @@ public:
void discard(unsigned long long z);
// property functions
- const Engine& base() const;
+ const Engine& base() const noexcept;
};
template<class Engine, size_t p, size_t r>
@@ -269,7 +269,7 @@ public:
result_type operator()(); void discard(unsigned long long z);
// property functions
- const Engine& base() const;
+ const Engine& base() const noexcept;
};
template<class Engine, size_t w, class UIntType>
@@ -323,7 +323,7 @@ public:
void discard(unsigned long long z);
// property functions
- const Engine& base() const;
+ const Engine& base() const noexcept;
};
template<class Engine, size_t k>
@@ -392,7 +392,7 @@ public:
result_type operator()();
// property functions
- double entropy() const;
+ double entropy() const noexcept;
// no copy functions
random_device(const random_device& ) = delete;
@@ -2788,7 +2788,7 @@ public:
// property functions
_LIBCPP_INLINE_VISIBILITY
- const _Engine& base() const {return __e_;}
+ const _Engine& base() const _NOEXCEPT {return __e_;}
template<class _Eng, size_t _Pp, size_t _Rp>
friend
@@ -2993,7 +2993,7 @@ public:
// property functions
_LIBCPP_INLINE_VISIBILITY
- const _Engine& base() const {return __e_;}
+ const _Engine& base() const _NOEXCEPT {return __e_;}
template<class _Eng, size_t _Wp, class _UI>
friend
@@ -3222,7 +3222,7 @@ public:
// property functions
_LIBCPP_INLINE_VISIBILITY
- const _Engine& base() const {return __e_;}
+ const _Engine& base() const _NOEXCEPT {return __e_;}
private:
template<class _Eng, size_t _Kp>
@@ -3399,7 +3399,7 @@ public:
result_type operator()();
// property functions
- double entropy() const;
+ double entropy() const _NOEXCEPT;
private:
// no copy functions
OpenPOWER on IntegriCloud