2012-04-15 10:31:49 +09:00
|
|
|
#ifndef SPROUT_CWCHAR_WCSCOLL_HPP
|
|
|
|
#define SPROUT_CWCHAR_WCSCOLL_HPP
|
|
|
|
|
|
|
|
#include <sprout/config.hpp>
|
2013-01-13 01:16:48 +09:00
|
|
|
#include <sprout/cstring/strcoll.hpp>
|
2012-04-15 10:31:49 +09:00
|
|
|
|
|
|
|
namespace sprout {
|
2012-12-22 01:02:49 +09:00
|
|
|
//
|
|
|
|
// wcscoll
|
|
|
|
//
|
2013-01-13 01:16:48 +09:00
|
|
|
// recursion depth:
|
|
|
|
// O(log(N1+N2))
|
|
|
|
//
|
2012-10-06 00:58:56 +09:00
|
|
|
inline SPROUT_CONSTEXPR int
|
|
|
|
wcscoll(wchar_t const* s1, wchar_t const* s2) {
|
2013-01-13 01:16:48 +09:00
|
|
|
return sprout::strcoll(s1, s2);
|
2012-04-15 10:31:49 +09:00
|
|
|
}
|
|
|
|
} // namespace sprout
|
|
|
|
|
|
|
|
#endif // #ifndef SPROUT_CWCHAR_WCSCOLL_HPP
|