Code:
#include <boost/scope_exit.hpp>
int main() {
int a = 0;
BOOST_SCOPE_EXIT(&a) {++a;} BOOST_SCOPE_EXIT_END
return 0;
}
When compiling with /W4 in MS Visual Studio 2019, I get:
warning C4459: declaration of 'boost_scope_exit_aux_args' hides global declaration
…\boost\scope_exit.hpp(261,46): message : see declaration of 'boost_scope_exit_aux_args'
See also: