/usr/include/boost/random/discrete_distribution.hpp:603:32: error: type/value mismatch at argument 1 in template parameter list for ‘template<class First, class ... Others> using first = First’
603 | if(a_iter->first < normalized_average) {
| ^~~~~~~~~~~~~~~~~~
/usr/include/boost/random/discrete_distribution.hpp:603:32: note: expected a type, got ‘normalized_average’