Quick Links:

bal | bbl | bdl | bsl

Static Public Member Functions

bslstl::Function_InvokerUtilNullCheck< FUNC > Struct Template Reference

#include <bslstl_function_invokerutil.h>

List of all members.

Static Public Member Functions

static bool isNull (const FUNC &)

Detailed Description

template<class FUNC>
struct bslstl::Function_InvokerUtilNullCheck< FUNC >

Provides an isNull static method that that returns whether or not its argument is "null", i.e., it cannot be invoked. For must FUNC types isNull always returns false as every instance of FUNC is invocable. However, specializations of this class, especially for pointer types, have isNull functions that sometimes return true. This class is a customization point: types outside of this component can (but rarely should) specialize this template. In particular, bslstl_function contains a specialization for bsl::function.

See Component bslstl_function_invokerutil


Member Function Documentation

template<class FUNC >
static bool bslstl::Function_InvokerUtilNullCheck< FUNC >::isNull ( const FUNC &   )  [static]

Return false.


The documentation for this struct was generated from the following file: