C linking C++ static functions -


my question simple;

is possible c linking (extern "c") on c++ static class functions? - without using wrappers.

no can't write wrapper function.

class x { public:     static void f(); };  extern "c" void call_x_f() {     x::f(); } 

Comments

Popular posts from this blog

android - Why am I getting the message 'Youractivity.java is not an activity subclass or alias' -

python - How do I create a list index that loops through integers in another list -

c# - “System.Security.Cryptography.CryptographicException: Keyset does not exist” when reading private key from remote machine -