使用 Boost.Lambda 库创建并存储在 Boost.Function 对象中的函子中使用 Boost.Units 的数量、单位和绝对类型
实现功能
使用 Boost.Lambda 库创建并存储在 Boost.Function 对象中的函子中使用 Boost.Units 的数量、单位和绝对类型
C++实现代码
#include <iostream>
#include <boost/function.hpp>
#include <boost/units/io.hpp>
#include <boost/un