Skip to content

Conversation

@jcelerier
Copy link

Currently, BOOST_ASIO_DECL is set by the library, with the logic:

  • Header-only => inline
  • Not header-only =>
    Win32?
    => dllexport / dllimport.

In some cases it is important to have more control over this.
For instance:

  • To be able to set visibility attributes under ELF platform
  • To be able to disable visibility under DLL platform.

etc.

The source code in this repository is generated from an upstream repository at https://github.com/chriskohlhoff/asio.

Please consider raising new pull requests at https://github.com/chriskohlhoff/asio/pulls.

Currently, BOOST_ASIO_DECL is set by the library, with the logic:
- Header-only => inline
- Not header-only =>
	Win32?
		=> dllexport / dllimport.

In some cases it is important to have more control over this.
For instance:
 - To be able to set visibility attributes under ELF platform
 - To be able to disable visibility under DLL platform.

etc.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant