forked from lix-project/lix
eldritch horrors
5eec6418de
generators are a better basis for serializers than streaming into sinks
as we do currently for many reasons, such as being usable as sources if
one wishes to (without requiring an intermediate sink to serialize full
data sets into memory, or boost coroutines to turn sinks into sources),
composing more naturally (as one can just yield a sub-generator instead
of being forced to wrap entire substreams into clunky functions or even
more clunky custom types to implement operator<< on), allowing wrappers
to transform data with clear ownership semantics (removing the need for
explicit memory allocations and Source wrappers), and many other things
Change-Id:
|
||
---|---|---|
.. | ||
canon-path.cc | ||
chunked-vector.cc | ||
closure.cc | ||
compression.cc | ||
config.cc | ||
escape-string.cc | ||
fmt.cc | ||
generator.cc | ||
git.cc | ||
hash.cc | ||
hilite.cc | ||
json-utils.cc | ||
logging.cc | ||
lru-cache.cc | ||
paths-setting.cc | ||
pool.cc | ||
references.cc | ||
serialise.cc | ||
shlex.cc | ||
suggestions.cc | ||
tests.cc | ||
url-name.cc | ||
url.cc | ||
xml-writer.cc |