avcpp 3.2.1
Wrapper for the FFmpeg that simplify usage from C++ projects.
Loading...
Searching...
No Matches
av::DefaultNextElement< T > Struct Template Reference

This functor uses simple notation to take next element from linked list. More...

#include <linkedlistutils.h>

Public Member Functions

T * operator() (T *x) const
 Follow the next field of an intrusive list.

Detailed Description

template<typename T>
struct av::DefaultNextElement< T >

By default linked list have 'next' field that return pointer to next element in list.

Member Function Documentation

◆ operator()()

template<typename T>
T * av::DefaultNextElement< T >::operator() ( T * x) const
inline
Parameters
xthe current element
Returns
the next element, or nullptr at the end of the list

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