your local binary_reader::binR overlaps your class binary_reader::binR