Opened 16 years ago

Last modified 15 years ago

#823 closed Feature Requests (fixed)

Seekable file_descriptor_source /sink? — at Initial Version

Reported by: gmsb Owned by: beman_dawes
Milestone: Component: iostreams
Version: None Severity: Showstopper
Keywords: Cc:

Description

The supplied file_descriptor_source and file_descriptor_sink are not seekable. Is this an oversight?

For file_descriptor_source, all that appears to be needed is changing from:

    struct category : public source_tag, closable_tag { };

to:

    struct category
      : input_seekable,
        device_tag,
        closable_tag
    { };

and adding:

    using file_descriptor::seek;

Similarly for file_descriptor_sink.


Change History (0)

Note: See TracTickets for help on using tickets.