6#ifndef _ZFI_zfstl_define_h_
7#define _ZFI_zfstl_define_h_
29 #define zfstlsize size_t
37 return (
zfscmp(k1, k2) < 0);
49 return (
zfscmp(k1, k2) == 0);
56 return (
zfscmp(k1, k2) < 0);
68 return (
zfscmp(k1, k2) == 0);
72template<
typename T_POD>
75 inline zfbool operator () (T_POD
const &k1, T_POD
const &k2)
const {
79template<
typename T_POD>
82 zfstlsize operator () (T_POD
const &v)
const {
86template<
typename T_POD>
89 inline zfbool operator () (T_POD
const &k1, T_POD
const &k2)
const {
necessary header file for all types
#define ZFLIB_ZFCore
used to export symbols
Definition ZFCoreEnvDef.h:30
_ZFT_t_zfchar zfchar
char wrapper
Definition ZFCoreTypeDef_CharType.h:17
zfint zfscmp(const zfchar *s1, const zfchar *s2)
strcmp wrapper as zfchar type
Definition ZFCoreTypeDef_CharType.h:152
#define zfclassNotPOD
shows the class is not a POD type, you should not memset it or declare it in stack or copy value by c...
Definition ZFCoreTypeDef_ClassType.h:48
_ZFT_t_zfbool zfbool
bool type
Definition ZFCoreTypeDef_CoreType.h:103
zfint zfcmpPOD(T_Element const &v0, T_Element const &v1)
util method to compare two POD type
Definition ZFCoreUtilTemplate.h:546
zfidentity zfidentityCalc(T_Type const &v)
calculate identity from POD object
Definition ZFIdentityUtil.h:92
zfidentity zfidentityCalcString(const zfchar *src, zfindex srcLen=((zfindex) -1))
calculate identity from string
#define zfstlsize
size_t wrapper
Definition zfstl_define.h:29