Resolving C++ Name Collision
Posted
by
jnm2
on Stack Overflow
See other posts from Stack Overflow
or by jnm2
Published on 2010-12-29T23:30:47Z
Indexed on
2010/12/29
23:54 UTC
Read the original article
Hit count: 184
InitializeQTML is a function in QTML.h. I'm writing a wrapper and I would like to use the name InitializeQTML for the wrapper function:
#include <QTML.h>
public class QuickTime
{
public:
static void InitializeQTML(InitializationFlags flag) {
InitializeQTML((long)flag));
};
};
How can I reference the original InitializeQTML function from inside the wrapper function and avoid the name collision without renaming the wrapper?
© Stack Overflow or respective owner