From 651324d6f941964bb1326cfe5b2bc9db37a721e0 Mon Sep 17 00:00:00 2001 From: Danny Robson Date: Wed, 16 Aug 2017 17:25:29 +1000 Subject: [PATCH] tuple: clarify warn_unused_arg usage for ignore(...) --- tuple.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tuple.hpp b/tuple.hpp index cd6260b4..ad15b6c2 100644 --- a/tuple.hpp +++ b/tuple.hpp @@ -169,7 +169,8 @@ namespace util::tuple { /// do nothing with a set of parameters. /// /// useful for temporarily silencing unused argument warnings in parameter - /// packs. + /// packs, or for avoiding assignment of [[gnu::warn_unused_result]] to a + /// temporary value we'd just cast to void anyway (GCC#66425). /// /// it is guaranteed that this function will never be defined out in /// debug/release/whatever builds. so it is safe to use to guarantee