mirror of
https://github.com/polserver/polserver
synced 2026-08-13 08:23:08 -04:00
29 lines
344 B
C++
29 lines
344 B
C++
/** @file
|
|
*
|
|
* @par History
|
|
*/
|
|
|
|
|
|
#ifndef CLIB_MAPUTIL_H
|
|
#define CLIB_MAPUTIL_H
|
|
|
|
#include "clib.h"
|
|
#include <cstring>
|
|
#include <string>
|
|
|
|
namespace Pol
|
|
{
|
|
namespace Clib
|
|
{
|
|
class ci_cmp_pred
|
|
{
|
|
public:
|
|
bool operator()( const std::string& x1, const std::string& x2 ) const
|
|
{
|
|
return stricmp( x1.c_str(), x2.c_str() ) < 0;
|
|
}
|
|
};
|
|
}
|
|
}
|
|
|
|
#endif
|