codeplaysoftware / standards-proposals

Repository for publicly sharing proposals in various standards groups
Apache License 2.0
27 stars 17 forks source link

Add proposal for default-constructible buffers #97

Closed DuncanMcBain closed 4 years ago

DuncanMcBain commented 5 years ago

Default constructible buffers would be a useful addition for generic code. This proposal adds a zero-argument constructor and functions for determining whether or not a buffer is usable.

DuncanMcBain commented 5 years ago

@AerialMantis I've added some more words that hopefully clarify what default-constructed buffers should do when various of their functions are called. Thanks for the feedback!