Make PatBBDTSeedClassifier compatible with recent ranges-v3
Ranges-v3 has become more 'paranoid' wrt. InputRange vs. ForwardRange. As a result:
- do not use
front
on an input range - use
drop_exactly
instead oftail
for an InputRange - use
cached
instead of*begin
Edited by Gerhard Raven