Quick Links:

bal | bbl | bdl | bsl

bslstl::Function_ArgTypes< PROTOTYPE > Struct Template Reference

#include <bslstl_function.h>


Detailed Description

template<class PROTOTYPE>
struct bslstl::Function_ArgTypes< PROTOTYPE >

This component-private struct template provides the following nested typedefs for bsl::function for a specified PROTOTYPE which must be a function type:

      argument_type        -- Only if PROTOTYPE takes exactly one argument
      first_argument_type  -- Only if PROTOTYPE takes exactly two arguments
      second_argument_type -- Only if PROTOTYPE takes exactly two arguments

The C++ Standard requires that function define these typedefs for compatibility with one- and two-argument legacy (now deprecated) functor adaptors. bsl::function publicly inherits from an instantiation of this template in order to conditionally declare the above nested types. This primary (unspecialized) template provides no typedefs.

See Component bslstl_function


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