transform_iterator and c++ lambda's
twiggler opened this issue · comments
twiggler commented
Under the hood, slotmap uses boost::transform_iterator with lambdas. This results in compilation errors when combining them with certain adapters from boost::range
or algorithms
which require default construction of those iterators, because lambdas are not default constructable. The range-v3 library, which is part of this formal proposal, will add ranges with proper lambda support to the standard library, when accepted. Until then, this issue will not be fixed.