4 ms·
That's likely the use case for 99% of people who zip things though or play audio. Your corner case is exactly what simple libraries should avoid.
by alar44 5y ago
That's likely the use case for 99% of people who zip things though or play audio. Your corner case is exactly what simple libraries should avoid.
- pie_flavor 5y agoThe only thing they're going to do is open it as an ifstream. Zero value is gained over taking an istream instead; initializing it is one bit of extra code for the user, in exchange for being able to pull in data from anywhere. Embedding it in the binary might be rare, but how about stdin? Or for that matter the Internet?