My Project
include
bsl
discard.hpp
Go to the documentation of this file.
1
28
#ifndef BSL_DISCARD_HPP
29
#define BSL_DISCARD_HPP
30
31
#pragma clang diagnostic push // PRQA S 1-10000 // NOLINT
32
#pragma clang diagnostic ignored "-Wunused-parameter" // PRQA S 1-10000 // NOLINT
33
34
namespace
bsl
35
{
56
template
<
typename
... ARGS>
57
constexpr
void
58
discard
(ARGS &&... args) noexcept
// PRQA S 1-10000 // NOLINT
59
{}
60
}
61
62
#pragma clang diagnostic pop // PRQA S 1-10000 // NOLINT
63
64
#endif
bsl::discard
constexpr void discard(ARGS &&... args) noexcept
This function discards a parameter that it is given. This is the same as executing a static cast....
Definition:
discard.hpp:58
Generated by
1.8.15