View Single Post
Old 05 January 2020, 11:26   #14

Join Date: Jun 2016
Location: Hamburg/Germany
Posts: 460
Originally Posted by alkis View Post
It's on stack (variable) on gcc-6.5

On gcc-2.9.5 it's on data segment.

I consider this as wrong, since it's not const. If DoSomethingWith modifies a value subsequent calls will start with the modified values.

bebbo is offline  
Page generated in 0.04381 seconds with 11 queries