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
|
/// debug/release/whatever builds. so it is safe to use to guarantee
|
||||||
/// parameter evaluation.
|
/// parameter evaluation.
|
||||||
inline void
|
inline void
|
||||||
ignore (void)
|
ignore (void) noexcept
|
||||||
{ ; }
|
{ ; }
|
||||||
|
|
||||||
//-------------------------------------------------------------------------
|
//-------------------------------------------------------------------------
|
||||||
template <typename T, typename ...Args>
|
template <typename T, typename ...Args>
|
||||||
void
|
void
|
||||||
ignore (T, Args ...args)
|
ignore (T, const Args&...) noexcept
|
||||||
{
|
{ ; }
|
||||||
ignore (std::forward<Args> (args)...);
|
|
||||||
};
|
|
||||||
|
|
||||||
|
|
||||||
///////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////
|
||||||
|
Loading…
Reference in New Issue
Block a user