I'm not sure I get your point. In C++ classes without vtables are exactly like structs. Also I don't see any difference between a struct or a class name mangling on Gnu Linux.
Do you want it to be compatible with Gnu Linux only?
What did I miss ? Do you have compelling examples ?
AFAIK, MSVC++. There are other C++ compilers too.
