There was an interface change in Boost 1.86. Now we do not have only an IteratorConnectHandler. Boost 1.86 adds a RangeConnectHandler. Compiler now selects another handler type for 'auto&&'. Hence we need to clarify expected handler type here.
Compilers tested: MSVC 16 (VS 2019) and MSVC 17 (VS2022)
Should also work on older revisions of Boost, although untested.
There was an interface change in Boost 1.86. Now we do not have only an IteratorConnectHandler. Boost 1.86 adds a RangeConnectHandler. Compiler now selects another handler type for 'auto&&'. Hence we need to clarify expected handler type here.
Compilers tested: MSVC 16 (VS 2019) and MSVC 17 (VS2022)
Should also work on older revisions of Boost, although untested.