$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Peter Dimov (pdimov_at_[hidden])
Date: 2021-02-02 14:56:18
Alexander Grund wrote:
> What about classes, which have a non-inline function, e.g. the recently
> mentioned exception class with a non-inline `what()`?
> Wouldn't that need to be IMPORT/EXPORT declared for Windows? And VISIBLE
> for Linux (to be caught)? So would you need both here?
I suspect that for exported exception classes the right thing to do would
indeed be to declare them both _DECL and _VISIBLE. _EXPORT mapping to
_VISIBLE is kind of a hack (that often does the right thing) but it's not
enough here.
However, repeating the visibility attribute may be an error.