iFun Engine API  1.0.0-b6053
Great Technology for Great Games
misc.h
Go to the documentation of this file.
1 // Copyright (C) 2013-2020 iFunFactory Inc. All Rights Reserved.
2 //
3 // This work is confidential and proprietary to iFunFactory Inc. and
4 // must not be used, disclosed, copied, or distributed without the prior
5 // consent of iFunFactory Inc.
6 
9 #ifndef INCLUDE_FUNAPI_UTILITY_MISC_H_
10 #define INCLUDE_FUNAPI_UTILITY_MISC_H_
11 
12 #include <boost/algorithm/string/predicate.hpp>
13 #include <funapi/types.h>
14 
15 
16 namespace fun {
17 
18 namespace impl {
19 namespace util {
20 
22 struct FUNAPI_DLL_VISIBILITY CaseInsensitiveLess {
27  inline bool operator()(const string& lhs, const string& rhs) const {
28  return boost::ilexicographical_compare(lhs, rhs);
29  }
30 };
31 
32 } // namespace util
33 } // namespace impl
34 
35 } // namespace fun
36 
37 #endif // INCLUDE_FUNAPI_UTILITY_MISC_H_
Definition: json.h:18