|
BDE 4.14.0 Production release
|
#include <bdlf_noop.h>
Public Types | |
| typedef void | result_type |
Public Member Functions | |
| BSLMF_NESTED_TRAIT_DECLARATION (NoOp, bsl::is_trivially_copyable) | |
| template<class... t_ARGS> | |
| BSLS_KEYWORD_CONSTEXPR_CPP14 void | operator() (const t_ARGS &... ignored) const BSLS_KEYWORD_NOEXCEPT |
Do nothing and ignore all specified ignored arguments. | |
| template<class... t_ARGS> | |
| BSLS_KEYWORD_CONSTEXPR_CPP14 void | operator() (BSLA_MAYBE_UNUSED const t_ARGS &...ignored) const BSLS_KEYWORD_NOEXCEPT |
This functor class provides a function-call operator that accepts any number of arguments of any type, does nothing (leaving the arguments unmodified), and returns void.
See bdlf_noop
| typedef void bdlf::NoOp::result_type |
result_type is an alias to void, which is the type returned by the function-call operator of this class
| bdlf::NoOp::BSLMF_NESTED_TRAIT_DECLARATION | ( | NoOp | , |
| bsl::is_trivially_copyable | |||
| ) |
| BSLS_KEYWORD_CONSTEXPR_CPP14 void bdlf::NoOp::operator() | ( | BSLA_MAYBE_UNUSED const t_ARGS &... | ignored | ) | const |
|
inline |