OpenDDS::DCPS::VarLess< T, V > Struct Template Reference

#include <Definitions.h>

List of all members.

Public Member Functions

bool operator() (const V &x, const V &y) const


Detailed Description

template<class T, class V = typename T::_var_type>
struct OpenDDS::DCPS::VarLess< T, V >

Use a Foo_var in a std::set or std::map with this comparison function, for example std::set<Foo_var, VarLess<Foo> >

Definition at line 273 of file Definitions.h.


Member Function Documentation

template<class T, class V = typename T::_var_type>
bool OpenDDS::DCPS::VarLess< T, V >::operator() ( const V &  x,
const V &  y 
) const [inline]

Definition at line 274 of file Definitions.h.

00274                                                 {
00275     return x.in() < y.in();
00276   }


The documentation for this struct was generated from the following file:
Generated on Fri Feb 12 20:06:14 2016 for OpenDDS by  doxygen 1.4.7