Mac にて UUID を生成する の続きです
Boost はC++用のソフトウェアライブラリです。
Boost には UUID を生成する random_generator() などの関数がある。
下記を参考にした。
using namespace boost::uuids; const uuid id1 = random_generator()();
サンプルコードを Guthub に公開した。
https://github.com/ohwada/MAC_cpp_Samples/tree/master/boost/uuid