cosmetics: queuePtr renamed to queue_ptr
cosmetics: enable_if_segment renamed to enable_if_connectable
cosmetics: swap range_output_segment template arguments