llarp::CompareWeakPtr

type for comparing weak_ptr by value More...

#include <compare_ptr.hpp>

Public Functions

Name
bool operator()(const std::weak_ptr< Type_t > & left, const std::weak_ptr< Type_t > & right) const

Detailed Description

template <typename Type_t ,
typename Compare  =std::less<>>
struct llarp::CompareWeakPtr;

type for comparing weak_ptr by value

Public Functions Documentation

function operator()

inline bool operator()(
    const std::weak_ptr< Type_t > & left,
    const std::weak_ptr< Type_t > & right
) const

Updated on 2026-01-10 at 22:49:45 +0000