https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80806

--- Comment #3 from Daniel Fruzynski <bugzi...@poradnik-webmastera.com> ---
"in" attribute is similar to "const", I am not sure if we need another one for
this.

"out" attribute would be handy. I recall than in the past I was looking for it.
gcc can print warning that uninitialized variable is passed to function. Now
one has to initialize that variable before passing it to function. With this
attribute initialization would not be necessary. Beside silenced warning this
also would produce a bit faster executable.

BTW, C# provides "out" parameter modifier, but no "in".

Reply via email to