mirror of
https://github.com/bolero-MURAKAMI/Sprout
synced 2025-08-03 12:49:50 +00:00
fix macros for noexcept
This commit is contained in:
parent
23f24450b0
commit
979af136a1
125 changed files with 324 additions and 287 deletions
|
@ -53,7 +53,7 @@ namespace sprout {
|
|||
container_holder(container_holder const&) = default;
|
||||
|
||||
SPROUT_CXX14_CONSTEXPR void swap(container_holder& other)
|
||||
SPROUT_NOEXCEPT_EXPR(SPROUT_NOEXCEPT_EXPR(sprout::swap(other.container, container)))
|
||||
SPROUT_NOEXCEPT_IF_EXPR(sprout::swap(other.container, container))
|
||||
{
|
||||
sprout::swap(other.container, container);
|
||||
}
|
||||
|
@ -127,7 +127,7 @@ namespace sprout {
|
|||
template<typename Container>
|
||||
inline SPROUT_CXX14_CONSTEXPR void
|
||||
swap(sprout::container_holder<Container>& lhs, sprout::container_holder<Container>& rhs)
|
||||
SPROUT_NOEXCEPT_EXPR(SPROUT_NOEXCEPT_EXPR(lhs.swap(rhs)))
|
||||
SPROUT_NOEXCEPT_IF_EXPR(lhs.swap(rhs))
|
||||
{
|
||||
lhs.swap(rhs);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue