TSDuck v3.46-4930
MPEG Transport Stream Toolkit
Loading...
Searching...
No Matches
ts::Assign< T > Struct Template Reference

#include <tsFunctors.h>

Public Member Functions

T & operator() (T &variable, T value)

Detailed Description

template<typename T>
struct ts::Assign< T >

Assign ("=") functor.

Template Parameters
TData type to assign.

Member Function Documentation

◆ operator()()

template<typename T>
T & ts::Assign< T >::operator() ( T & variable,
T value )
inline

Assign ("=") operator.

Parameters
[out]variableThe variable to assign.
[in]valueThe value to assign.
Returns
A reference to variable.

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