tuple: better document the 'ignore' function
This commit is contained in:
parent
c02a1a1a3c
commit
16171c03ef
12
tuple.hpp
12
tuple.hpp
@ -166,10 +166,14 @@ namespace util::tuple {
|
||||
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
// do nothing with a set of parameters.
|
||||
//
|
||||
// useful for temporarily silencing unused argument warnings in parameter
|
||||
// packs.
|
||||
/// do nothing with a set of parameters.
|
||||
///
|
||||
/// useful for temporarily silencing unused argument warnings in parameter
|
||||
/// packs.
|
||||
///
|
||||
/// it is guaranteed that this function will never be defined out in
|
||||
/// debug/release/whatever builds. so it is safe to use to guarantee
|
||||
/// parameter evaluation.
|
||||
void
|
||||
ignore (void)
|
||||
{ ; }
|
||||
|
Loading…
Reference in New Issue
Block a user