Commit Graph

17 Commits

Author SHA1 Message Date
1f270f760f posix/fd: increment iterators by sizeof(ValueT) not byte count 2018-02-26 10:54:55 +11:00
8c8a252d9f build: prefer nodiscard over warn_unused_result 2018-02-01 13:47:42 +11:00
fd03c344b2 fd: remove const from members that modify fd state 2018-02-01 13:47:14 +11:00
9045e16476 io: expose only view style read/write from io module
Allow the destination file-like object to implement whatever style
writers and readers they want, but don't expose those directly via the
io module.
2018-01-31 19:30:48 +11:00
39894b5619 fd: add read/write methods for views 2017-12-26 17:26:53 +11:00
fe979fc2a9 fd: add reset and release methods 2017-12-26 17:25:58 +11:00
a6af7a8657 posix/fd: add explicit native conversion function 2017-12-22 18:34:30 +11:00
bfcd63ec65 posix/fd: add read overloads that take char/byte views 2017-12-19 18:18:10 +11:00
09de734185 posix/fd: label write/read calls with warn_unused 2017-02-20 18:10:04 +11:00
9a798446b5 build: remove unnecessary includes
discovered with include-what-you-use
2016-10-12 15:08:22 +11:00
5a810010fe posix/fd: add lseek member function 2016-10-11 20:58:31 +11:00
4196702b38 posix/fd: add read and write member functions 2016-10-11 20:58:19 +11:00
598c5d4e48 change const char paths to std::filesystem::path 2016-10-08 17:18:18 +11:00
51c8ee84ca posix/fd: add std::string overloads for paths 2016-10-07 18:14:56 +11:00
b949b90dd7 posix/fd: add more comments 2016-10-02 16:34:40 +11:00
152a55ad78 Merge remote-tracking branch 'origin/master' 2016-10-02 16:13:31 +11:00
790728d3b1 posix/fd: extract file descriptor into own unit 2016-10-02 15:50:13 +11:00