Commit Graph

9 Commits

Author SHA1 Message Date
e48aebb503 io: remove lvalue write function
writing arbitrary lvalues is incredibly dangerous if we don't have total
coverage of suitable overloads. eg, we have accidentally written string
objects to file descriptors.

instead we prefer byte/char views which the user can create as desired.
there's a little more cognitive overhead here, but it's substantially
less dangerous in casual usage.
2017-12-19 18:18:10 +11:00
790728d3b1 posix/fd: extract file descriptor into own unit 2016-10-02 15:50:13 +11:00
3993e561f8 unify licences 2016-02-26 13:36:01 +11:00
cb12d4fd1f io: remove redundant write overloads 2015-10-29 10:51:42 +11:00
ba9a8f8b35 io: add more write wrappers 2015-10-20 21:04:14 +11:00
75a1f1e5e7 io: add more write overloads 2015-07-02 16:34:17 +10:00
51b119f0fc io: move identer ostream to util namespace 2014-08-01 20:43:51 +10:00
8df51f7830 io: use rvalue-ref for indented ostream operator 2014-07-15 19:48:00 +10:00
c76914b354 io: add make_indented 2014-06-29 22:49:26 +10:00