Tutorial :Explain about linkages(external/internal) in c++?



Question:

Explain about linkages(external/internal) in c++? How does linkage differ for a function,constant,inline function,template function ,class and template class


Solution:1

Can you clarify your question a bit? C++ linkage is a pretty big topic and giving a complete answer in an SO post is probably a bit more information than you're looking for (Litb may prove me wrong).

Here is a link which provides a general overview of linkage: http://gaubuali.wordpress.com/linkage-in-c-and-c/


Solution:2

http://www.informit.com/guides/content.aspx?g=cplusplus&seqNum=41

check section 3.5 in standard http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2008/n2798.pdf


Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Previous
Next Post »