A Discrete-Event Network Simulator
API
ns3::TypeTraits< T >::FunctionPtrTraits< U(*)(V1)> Struct Template Reference

Function pointer type. More...

Public Types

enum  { nArgs = 1 }
 Value. More...
 
enum  { IsFunctionPointer = 1 }
 Value. More...
 
typedef V1 Arg1Type
 First argument type. More...
 
typedef U ReturnType
 Return type. More...
 

Detailed Description

template<typename T>
template<typename U, typename V1>
struct ns3::TypeTraits< T >::FunctionPtrTraits< U(*)(V1)>

Function pointer type.

Template Parameters
U[deduced] Return type.
V1[deduced] Argument type.

Definition at line 228 of file type-traits.h.

Member Typedef Documentation

◆ Arg1Type

template<typename T >
template<typename U , typename V1 >
typedef V1 ns3::TypeTraits< T >::FunctionPtrTraits< U(*)(V1)>::Arg1Type

First argument type.


Definition at line 240 of file type-traits.h.

◆ ReturnType

template<typename T >
template<typename U , typename V1 >
typedef U ns3::TypeTraits< T >::FunctionPtrTraits< U(*)(V1)>::ReturnType

Return type.


Definition at line 239 of file type-traits.h.

Member Enumeration Documentation

◆ anonymous enum

template<typename T >
template<typename U , typename V1 >
anonymous enum

Value.

Enumerator
nArgs 

Number of arguments.


Definition at line 235 of file type-traits.h.

◆ anonymous enum

template<typename T >
template<typename U , typename V1 >
anonymous enum

Value.

Enumerator
IsFunctionPointer 

Function pointer.


Definition at line 231 of file type-traits.h.


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