http://www.sgi.com/tech/stl/stl_index_cat.html
http://h30097.www3.hp.com/cplus/strstream_3c__std.htm
http://www.roguewave.com/support/docs/sourcepro/stdlibref/strstream.html
// originaly posted on : http://pastebin.com/364045
#define BUG
extern "C" { void f(int a) {}; }
#ifdef BUG
template <typename T, typename X >
#else
template <typename T>
#endif
class Parent { public: T f(){} };
template <typename X>
class Child
#ifdef BUG
: public Parent< int , X>
#else
: public Parent< int>
#endif
{
public:
void g(){
this->f(); // ok, conflict avoided
f(); // too few arguments to function 'void f(int)'
}
};
int main()
{
f(2);
Child<char> o;
o.g();
}
//EOF
[C++]] static