This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Undefined ref to 'function<void ()()>::operator()() const' when called from free function defined in cc file.


Hi Peter,

thanks for the feedback...
Can you use thread locals?

extern __thread void* __once_callable;
In case, careful to conditionalize on _GLIBCXX_HAVE_TLS...

Paolo.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]