Units of measurement in C++

后端 未结 3 1723
后悔当初
后悔当初 2021-02-02 14:42

I\'m working on a game engine, and currently I\'m stuck designing the IO system. I\'ve made it so, the engine itself doesn\'t handle any file formats, but rathe

3条回答
  •  广开言路
    2021-02-02 15:37

    The Boost "Units" library is great for this type of thing.

    http://www.boost.org/doc/libs/1_55_0/doc/html/boost_units.html

提交回复
热议问题