DUDS
Distributed Update of Data from Something
duds::CompareSharedContent< C > Struct Template Reference

OLD Performs a less than comparison on an object contained within a Boost shared pointer. More...

#include <SomethingRef.hpp>

Public Member Functions

bool operator() (const std::shared_ptr< C > &l, const std::shared_ptr< C > &r) const
 

Detailed Description

template<class C>
struct duds::CompareSharedContent< C >

OLD Performs a less than comparison on an object contained within a Boost shared pointer.

This varies from the operator defined on the shared pointer. Instead of the result being valid for strict weak ordering but otherwise undefined, the result is the same as the less than operator used on the contained objects. If one or more objects do not exist, the operation compares the address of the objects using NULL for the non-existant object(s).

Definition at line 295 of file SomethingRef.hpp.

Member Function Documentation

◆ operator()()

template<class C >
bool duds::CompareSharedContent< C >::operator() ( const std::shared_ptr< C > &  l,
const std::shared_ptr< C > &  r 
) const
inline

Definition at line 296 of file SomethingRef.hpp.


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