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
|
@ -44,7 +44,7 @@ namespace sprout {
|
|||
template<std::size_t I, typename T>
|
||||
inline SPROUT_CONSTEXPR auto
|
||||
get(T&& t)
|
||||
SPROUT_NOEXCEPT_EXPR(SPROUT_NOEXCEPT_EXPR(sprout::tuples::get<I>(SPROUT_FORWARD(T, t))))
|
||||
SPROUT_NOEXCEPT_IF_EXPR(sprout::tuples::get<I>(SPROUT_FORWARD(T, t)))
|
||||
-> decltype(sprout::tuples::get<I>(SPROUT_FORWARD(T, t)))
|
||||
{
|
||||
return sprout::tuples::get<I>(SPROUT_FORWARD(T, t));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue