码迷,mamicode.com
首页 > 其他好文 > 详细

UUID库

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

标签:blank   gui   and   ++   ted   com   eric   sgu   https   

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库

标签:blank   gui   and   ++   ted   com   eric   sgu   https   

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

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!