I have two variables. One is __thread the other is static __thread. If I had a constructor all I'd do is zero all the member variables. I also happen to use this class only outside of function bodies. Will my variables be zero initalized skipping the need for me to write a constructor?
To clarify. I have a class that is defined as __thread Foo foo and static __thread Foo foo. I don't mean I have a variable literally named __thread that I somehow tricked the compiler to let me use without naming a type. I'm positive static is zero initialized but IDK if __thread undoes it or if __thread without static will be zero initalized