首页 > 代码库 > UUID库
UUID库
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库
声明:以上内容来自用户投稿及互联网公开渠道收集整理发布,本网站不拥有所有权,未作人工编辑处理,也不承担相关法律责任,若内容有误或涉及侵权可进行投诉: 投诉/举报 工作人员会在5个工作日内联系你,一经查实,本站将立刻删除涉嫌侵权内容。