Boost
C++ Libraries
...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
This is an older version of Boost and was released in 2020. The current version is 1.90.0.
boost::sort::spreadsort::float_mem_cast — Casts a float to the specified integer type.
// In header: <boost/sort/spreadsort/float_sort.hpp> template<typename Data_type, typename Cast_type> Cast_type float_mem_cast(const Data_type & data);