03 Added in Boost 1.36.0
Categories: Domain

Zero-overhead dimensional analysis and unit/quantity manipulation and conversion.


Jürgen Hunold
Steven Watanabe


Boost.Units, part of collection of the Boost C++ Libraries, implements dimensional analysis in a general and extensible manner, treating it as a generic compile-time metaprogramming problem. With appropriate compiler optimization, no runtime execution cost is introduced, facilitating the use of this library to provide dimension checking in performance-critical code.


  • doc - QuickBook documentation sources
  • example - examples
  • images - images for documention
  • include - Interface headers
  • test - unit tests
  • test_headers - unit tests for self containment of headers
  • tutorial - tutorial

Test results

@ Travis AppVeyor
master Build Status Build Status
develop Build Status Build Status
Coverity Scan Build Status

More information


Distributed under the Boost Software License, Version 1.0.