Functor that accepts any arguments and does nothing.

Synopsis

Declared in <bdlf_noop.h>

class NoOp;

Description

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.

Type Aliases

Name

Description

result_type

result_type is an alias to void, which is the type returned by the function‐call operator of this class

Member Functions

Name

Description

operator()

Do nothing and ignore all specified ignored arguments.

operator BloombergLP::bslmf::NestedTraitDeclaration<NoOp, is_trivially_copyable>

Declare that this type is trivially copyable.

Created with MrDocs