polserver/pol-core/clib/maputil.h
turleypol 3afc41241b
CMake on windows (#48)
CMake can now also be used for windows
2018-02-24 22:34:55 +01:00

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