Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

operator<<() for SocketAddress doesn't work with ADL #3997

Closed
vehlwn opened this issue Apr 4, 2023 · 0 comments
Closed

operator<<() for SocketAddress doesn't work with ADL #3997

vehlwn opened this issue Apr 4, 2023 · 0 comments

Comments

@vehlwn
Copy link

vehlwn commented Apr 4, 2023

Poco 1.12.4.

Operator<<() declared here is not findable using ADL because it's declared in global namespace and not in a namespace of SocketAddress. Due to that it's not possible to output SocketAddress into BOOST_LOG_TRIVIAL because it expects to find it using ADL. See the beginning of issue here.

Is this operator<<() even part of public API? I couldn't find any references to it neither on the doc page for SocketAddress nor Poco::Net namespace.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

No branches or pull requests

3 participants