首页 > 其他 > 详细

UUID库

时间:2016-12-04 20:19:41      阅读:253      评论:0      收藏:0      [点我收藏+]

If you cannot afford to use Boost, then there is a very minimal library that I implemented which simply acts as a wrapper around each operating system‘s native guid implementation. It should work on Windows (using CoCreateGuid), Linux (using libuuid), MacOS (using CFUUID), iOS (also using CFUUID), and Android (using JNI calls to java.util.UUID). The guid generation function has a different implementation on each system but there is single generic implementation for comparing, stringifying, and parsing.

It is MIT licensed and available on GitHub:

https://github.com/graeme-hill/crossguid

 

 

http://graemehill.ca/minimalist-cross-platform-uuid-guid-generation-in-c++/

UUID库

原文:http://www.cnblogs.com/lilei9110/p/6131343.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!