indicates rather questionable behaviour. The standard demands a templated static field to be defined before first odr-use. IIRC, it even demands a static field to be initialised prior to use in a ctor. But here the definition of the templated static member field is dropped off even after the definition of another static field, which uses the (templated) Front-end-class in its initialiser. |
||
|---|---|---|
| .. | ||
| clang-static-init-1.cpp | ||
| clang-static-init-2.cpp | ||
| clang-static-init.hpp | ||
| crash_gdb_jessie-2015-08.sh | ||
| DIR_INFO | ||
| SConscript | ||
| try.cpp | ||