search for: _libcpp_extern_template

Displaying 1 result from an estimated 1 matches for "_libcpp_extern_template".

2014 Aug 12
4
[LLVMdev] Explicit template instantiations in libc++
...of libc++ doesn't have explicit template instantiations, which leads to a pretty significant build time and code size cost when using libc++, since a large number of common templates will be emitted by the compiler and coalesced by the linker. Notably, in include/__config, we have: #ifndef _LIBCPP_EXTERN_TEMPLATE #define _LIBCPP_EXTERN_TEMPLATE(...) #endif whereas before r189601 this was: #define _LIBCPP_EXTERN_TEMPLATE(...) extern template __VA_ARGS__; This was apparently done to fix http://llvm.org/bugs/show_bug.cgi?id=17027, but disabling explicit instantiations seems like a pretty big ham...