Struct FiInfoDeleter

Struct Documentation

struct FiInfoDeleter

Deleter for fi_info structure.

This struct provides a custom deleter for the fi_info structure used in the BackendLibfabric module. It is used with std::unique_ptr to automatically free the fi_info structure when it goes out of scope.

Public Functions

inline void operator()(fi_info *info) const

Free the fi_info structure by calling fi_freeinfo.

Parameters:

info – The fi_info structure to free