mirror of
https://github.com/bolero-MURAKAMI/Sprout.git
synced 2025-07-14 15:04:09 +00:00
fix macros for noexcept
This commit is contained in:
parent
23f24450b0
commit
979af136a1
125 changed files with 324 additions and 287 deletions
|
@ -158,7 +158,7 @@ namespace sprout {
|
|||
return step_iterator(*this, -1);
|
||||
}
|
||||
SPROUT_CXX14_CONSTEXPR void swap(step_iterator& other)
|
||||
SPROUT_NOEXCEPT_EXPR(
|
||||
SPROUT_NOEXCEPT_IF(
|
||||
SPROUT_NOEXCEPT_EXPR(swap(current, other.current))
|
||||
&& SPROUT_NOEXCEPT_EXPR(swap(last, other.last))
|
||||
&& SPROUT_NOEXCEPT_EXPR(swap(wid, other.wid))
|
||||
|
@ -235,7 +235,7 @@ namespace sprout {
|
|||
template<typename Iterator>
|
||||
inline SPROUT_CXX14_CONSTEXPR void
|
||||
swap(sprout::step_iterator<Iterator>& lhs, sprout::step_iterator<Iterator>& 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