tuple: `ignore' should be noexcept
This commit is contained in:
parent
edfe4b73bb
commit
ca3851c4de
@ -176,16 +176,14 @@ namespace util::tuple {
|
||||
/// debug/release/whatever builds. so it is safe to use to guarantee
|
||||
/// parameter evaluation.
|
||||
inline void
|
||||
ignore (void)
|
||||
ignore (void) noexcept
|
||||
{ ; }
|
||||
|
||||
//-------------------------------------------------------------------------
|
||||
template <typename T, typename ...Args>
|
||||
void
|
||||
ignore (T, Args ...args)
|
||||
{
|
||||
ignore (std::forward<Args> (args)...);
|
||||
};
|
||||
ignore (T, const Args&...) noexcept
|
||||
{ ; }
|
||||
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
|
Loading…
Reference in New Issue
Block a user