Cortex  10.0.0-a4
Public Member Functions | List of all members
std::less< MString > Struct Template Reference

#include <MStringLess.h>

Inherits binary_function< MString, MString, bool >.

Public Member Functions

bool operator() (const MString &a, const MString &b) const
 

Detailed Description

template<>
struct std::less< MString >

A specialisation of less<> for MString, allowing it to be easily used as the key in std::map (and a bunch of other places too no doubt). Doing things in the std namespace does seem a little iffy but we're only specialising for a type which has nothing to do with the std, so I don't see how it can be bad.


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