Wednesday, December 1, 2010

Linkage Specifications

All of the following linkage specifications compile:
    extern "C" int f1();
    extern "C" {int f2();}
    extern "C++" int f3();
    extern "C++" {int f4();}

No comments:

Post a Comment