summaryrefslogtreecommitdiff
path: root/libstdc++-v3/include
diff options
context:
space:
mode:
Diffstat (limited to 'libstdc++-v3/include')
-rw-r--r--libstdc++-v3/include/std/future14
1 files changed, 7 insertions, 7 deletions
diff --git a/libstdc++-v3/include/std/future b/libstdc++-v3/include/std/future
index a9268cade91..3bdbc636f69 100644
--- a/libstdc++-v3/include/std/future
+++ b/libstdc++-v3/include/std/future
@@ -140,34 +140,34 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
deferred = 2
};
- constexpr launch operator&(launch __x, launch __y)
+ constexpr launch operator&(launch __x, launch __y) noexcept
{
return static_cast<launch>(
static_cast<int>(__x) & static_cast<int>(__y));
}
- constexpr launch operator|(launch __x, launch __y)
+ constexpr launch operator|(launch __x, launch __y) noexcept
{
return static_cast<launch>(
static_cast<int>(__x) | static_cast<int>(__y));
}
- constexpr launch operator^(launch __x, launch __y)
+ constexpr launch operator^(launch __x, launch __y) noexcept
{
return static_cast<launch>(
static_cast<int>(__x) ^ static_cast<int>(__y));
}
- constexpr launch operator~(launch __x)
+ constexpr launch operator~(launch __x) noexcept
{ return static_cast<launch>(~static_cast<int>(__x)); }
- inline launch& operator&=(launch& __x, launch __y)
+ inline launch& operator&=(launch& __x, launch __y) noexcept
{ return __x = __x & __y; }
- inline launch& operator|=(launch& __x, launch __y)
+ inline launch& operator|=(launch& __x, launch __y) noexcept
{ return __x = __x | __y; }
- inline launch& operator^=(launch& __x, launch __y)
+ inline launch& operator^=(launch& __x, launch __y) noexcept
{ return __x = __x ^ __y; }
/// Status code for futures