density
C++11 library for paged memory management, function queues, heterogeneous queues and lifo memory management
Public Member Functions | Static Public Member Functions | List of all members
f_less Class Reference

#include <runtime_type.h>

Public Member Functions

bool operator() (void const *i_first, void const *i_second) const
 

Static Public Member Functions

template<typename TARGET_TYPE >
static constexpr f_less make () noexcept
 

Detailed Description

Compares two objects. The target type must satisfy the requirements of LessThanComparable.

Member Function Documentation

static constexpr f_less make ( )
inlinestaticnoexcept

Creates an instance of this feature bound to the specified target type

bool operator() ( void const *  i_first,
void const *  i_second 
) const
inline

Returns whether the first object compares less than the second object.

Parameters
i_firstpointer to the first object to destroy. Can't be null. If the dynamic type of the pointed object is not the target type (assigned by the function make), the behavior is undefined.
i_secondpointer to the second object to destroy. Can't be null. If the dynamic type of the pointed object is not the target type (assigned by the function make), the behavior is undefined.

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