pocoproject / poco

The POCO C++ Libraries are powerful cross-platform C++ libraries for building network- and internet-based applications that run on desktop, server, mobile, IoT, and embedded systems.
https://pocoproject.org
Other
8.33k stars 2.15k forks source link

Moving operator<< and operator>> overloads into the Poco::Net namespace. #4491

Closed andrewauclair closed 6 months ago

andrewauclair commented 6 months ago

Addresses the issues in #3997.

andrewauclair commented 6 months ago

Looks like I missed something. I'll investigate why gcc doesn't like this.

andrewauclair commented 6 months ago

The issue was the operator<< for MacAddress. I forgot that MacAddress is just an alias of std::vector<unsigned char>. Now that I see this, I think it's a bit wrong for Poco to define a operator<< for std::vector<unsigned char>.