tuple: clarify warn_unused_arg usage for ignore(...)

This commit is contained in:
Danny Robson 2017-08-16 17:25:29 +10:00
parent 959bc85987
commit 651324d6f9

View File

@ -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