TSDuck v3.40-4033
MPEG Transport Stream Toolkit
Loading...
Searching...
No Matches
ts::AssignAnd< T > Struct Template Reference

Assign with binary and ("&=") functor. More...

#include <tsFunctors.h>

Public Member Functions

T & operator() (T &variable, T value)
 Assign with binary and ("&=") operator.
 

Detailed Description

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

Assign with binary and ("&=") functor.

Template Parameters
TData type to assign.

Member Function Documentation

◆ operator()()

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

Assign with binary and ("&=") operator.

Parameters
[in,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: