yaml-cpp icon indicating copy to clipboard operation
yaml-cpp copied to clipboard

emitter: Support std::string_view

Open dendy opened this issue 1 year ago • 0 comments

Accept Emitter::operator<<(std::string_view).

ABI remains C++11 compatible by exposing new method Emitter::Write(const char*, size_t).

All affected calls optimized to pass std::string values as pointer + size tuple into appropriate routines.

dendy avatar Oct 20 '24 06:10 dendy