B2BITS FIX Antenna HFT  1.0.16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | List of all members
Utils::CiStringCompare Struct Reference

Meyer's case-insensitive comparison functor. More...

#include <UtilsHelpers.h>

+ Inheritance diagram for Utils::CiStringCompare:
+ Collaboration diagram for Utils::CiStringCompare:

Public Member Functions

bool operator() (const std::string &lhs, const std::string &rhs) const
 

Detailed Description

Meyer's case-insensitive comparison functor.

Can be used for case-insensitive containers e.g: typedef std::map<std::string, int, Utils::CiStringCompare> CiMap;

Member Function Documentation

bool Utils::CiStringCompare::operator() ( const std::string &  lhs,
const std::string &  rhs 
) const