skip to content | skip to sidebar

archive for 2009

name hiding and the using-declaration

Thursday, March 12th, 2009

This post is inspired by a question posed by a colleague some time ago. Consider following C++ code fragment in which B derives from A and declares a fun with a different signature: #include <iostream> struct A { void fun(int x) { std::cout << “int A\n”; } }; struct B: A { void fun(float x) […]

How To Write Shared Libraries

Monday, March 9th, 2009

This post serves as a bookmark for a little gem I’ve found: How To Write Shared Libraries (pdf) by Ulrich Drepper. It’s a 47 page document on writing shared libraries in a Unix environment.