Skip to content

Is it garanteed that ImageBuffer::new() returns a buffer filled with zero()s of the corresponding type ? #2217

Answered by HeroicKatora
Morgane55440 asked this question in Q&A
Discussion options

You must be logged in to vote

Yes, I don't see any reason to change that and it is usually the most efficient initialization routine there is. We can agree on this behavior without evolution issue.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@fintelia
Comment options

@Morgane55440
Comment options

Answer selected by Morgane55440
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #2216 on April 28, 2024 16:26.