tag:blogger.com,1999:blog-14389137.post1449582890610766636..comments2023-05-26T17:02:08.410+05:30Comments on Learning C++: Inline specializations and multiple inclusionsabnegatorhttp://www.blogger.com/profile/09139822935584399971noreply@blogger.comBlogger5125tag:blogger.com,1999:blog-14389137.post-60673957865127911382011-05-12T12:14:32.291+05:302011-05-12T12:14:32.291+05:30This is a very interesting blogsite. I also teach ...This is a very interesting blogsite. I also teach software engineering in Asia.I'd like to understand how the compilers handle it. I think this problem lurks in your post when you say...<a href="http://www.logo-genie.com/" rel="nofollow">logo design</a>symenhttps://www.blogger.com/profile/10925652220205079134noreply@blogger.comtag:blogger.com,1999:blog-14389137.post-83329198615032753172009-12-20T08:43:50.071+05:302009-12-20T08:43:50.071+05:30This blog has been very helpful to me! I look forw...This blog has been very helpful to me! I look forward on learning new ideas and stuffs in here, I will bookmark! Thanks for this.cheap shoeshttp://www.shoecartel.com/noreply@blogger.comtag:blogger.com,1999:blog-14389137.post-11452992170199976782009-04-10T02:33:00.000+05:302009-04-10T02:33:00.000+05:30Yes I got that Abhishek.I admit I don't get why a ...Yes I got that Abhishek.<BR/>I admit I don't get why a function defined inline in a header is okay while its non-inline version breaks.<BR/>Both have external linkage I believe. And the compiler is not required to implement it as "inline" (just a hint).<BR/>In this case the function becomes like a non-line function with external linkage and multiple definition can occurs, can't it ?<BR/><BR/>I'd like to understand how the compilers handle it. I think this problem lurks in your post when you say "They become inline in the final executable or not is irrelevant"<BR/>If you have more insights I'd be glad to hear from you.<BR/><BR/>Buy the way it's an interesting blog. I hope to read more.<BR/>-SebAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-14389137.post-21378218323867094692009-03-24T13:35:00.000+05:302009-03-24T13:35:00.000+05:30Hi Seb,The reasons for those are explained above i...Hi Seb,<BR/><BR/>The reasons for those are explained above in the paragraph starting: "The linker error seen is not specific to templates ...." and the next one.<BR/><BR/>The link to codeguru thread and C++ FAQ Lite seem to have disappeared too. Will try to fix them as soon as possible.<BR/><BR/>Cheers,<BR/>Abhishekabnegatorhttps://www.blogger.com/profile/09139822935584399971noreply@blogger.comtag:blogger.com,1999:blog-14389137.post-6193797029690299392009-03-23T21:18:00.000+05:302009-03-23T21:18:00.000+05:30You didn't explain why removing the inline keyword...You didn't explain why removing the inline keyword resulted in a linker error and adding it make the linker okay.<BR/>-SebAnonymousnoreply@blogger.com