I have seen instances of __declspec in the code that I am reading. What is it? And when would I need to use this construct?
__declspec
This is a Microsoft specific extension to the C++ language which allows you to attribute a type or function with storage class information.
Documentation
__declspec (C++)
1.4m articles
1.4m replys
5 comments
57.0k users