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++/

最新文章

  1. tableview最后一行显示不全
  2. ASP.NET MVC3中Controller与View之间的数据传递总结
  3. poj2488骑士马走
  4. Design Tic-Tac Toe
  5. Mina、Netty、Twisted一起学(六):session
  6. 好好写,好好干-PHP基础(二)
  7. BZOJ3307 雨天的尾巴
  8. 对加密方式(公钥私钥)的形象理解(以http和https为例)
  9. alsa音频驱动科普第一课
  10. Eclipse 浏览文件插件- OpenExplorer
  11. WireShark抓包时TCP数据包出现may be caused by ip checksum offload
  12. rsync 文件校验及同步原理
  13. 团队作业8——第二次项目冲刺(Beta阶段)博客汇总
  14. 菜鸟入门【ASP.NET Core】5:命令行配置、Json文件配置、Bind读取配置到C#实例、在Core Mvc中使用Options
  15. ipfs cluster 模式部署使用(docker-compose 环境运行)
  16. const 关键字总结
  17. 可以获取JVM信息的一些管理工具类
  18. 使用图片预加载,解决断网后无法从后台获取提示网络异常的logo图片的问题
  19. es各类SearchType的意思
  20. MySQL-关于并发下的mysql_insert_id()

热门文章

  1. 数据备份的OSS接口
  2. x01.MagicCube: 简单操作
  3. IIS将错误信息发送到浏览器
  4. MVC+EF6+Oracle,提示ORA-01918: user '***' does not exist
  5. 树上启发式合并 (dsu on tree)
  6. 移动端web开发,click touch tap区别
  7. 一步一步学FRDM-KE02Z(一):IAR调试平台搭建以及OpenSDA两种工作模式设置
  8. [LeetCode] Word Pattern II 词语模式之二
  9. [LeetCode] Palindrome Permutation II 回文全排列之二
  10. [LeetCode] Longest Consecutive Sequence 求最长连续序列