TSDuck Version 3.32-2769 (TSDuck - The MPEG Transport Stream Toolkit)
ts::AssignXor< T > Struct Template Reference

Assign with binary exclusive or ("^=") functor. More...

Public Member Functions

T & operator() (T &variable, T value)
 Assign with binary exclusive or ("^=") operator. More...
 

Detailed Description

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

Assign with binary exclusive or ("^=") functor.

Template Parameters
TData type to assign.

Member Function Documentation

◆ operator()()

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

Assign with binary exclusive or ("^=") 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: