Macros in the middle of a class or function declaration

后端 未结 4 1030
长情又很酷
长情又很酷 2020-12-03 23:32

I\'ve read related questions like this and this, and other pages, but they don\'t really answer my question.

Basically, I see code like the following.



        
4条回答
  •  一向
    一向 (楼主)
    2020-12-04 00:11

    __declspec(dllimport)

    There are multiple types of attributes and specifiers that you can set based on what you are doing, what compiler you are using, what operating system you're targeting, ext. What most people learn is not targeted at a specific compiler but the core C++/C standards which everyone supports.

提交回复
热议问题