Repository navigation
Replies: 2 comments 4 replies
|
I'd say it should work. I find it more important with const buffers though, i.e. |
0 replies
|
Now that I think about it, currently |
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
As per the title, should the user expect that
std::vector<std::string>be satisfying conceptMutableBufferSequenceand usabe out-of-the-box with streams without any copying involved?Currently it does not work, and the reasons is that
const_bufferandmutable_bufferdo not provide converting constructors that would make any suitable type be converted to them.If the answer is "no", then there is no reason to keep the flexible concept
MutableBufferSequencethat allows types convertible toconst_bufferandmutable_buffer, because it adds no value alone.If the answer is "yes", then either the concept needs to change to include explicit conversions via
make_bufferorconst_bufferandmutable_buffershould get converting constructors.All reactions