thread_local static member template definition: initialisation fails with gcc thread_local static member template definition: initialisation fails with gcc multithreading multithreading