I recently started porting my project over to asio. Everything was ok and i see the potential... but im now trying to compile on windows.
My project uses PascalCase function names and as such has many conflicts with the ascii/wide defines that asio is leaking (ie DeleteFile from any_io_context.hpp)
Unfortunately ASIO_SEPARATE_COMPILATION does not help in this situation.
I dont see a path to pimpl out any asio usage either as awaitable and executor are needed in headers regularly.
I gues asio as module could work? But that doesn't exist (yet?).
Is there any way i can use asio without it leaking all these preprocessor defines?
I recently started porting my project over to asio. Everything was ok and i see the potential... but im now trying to compile on windows.
My project uses PascalCase function names and as such has many conflicts with the ascii/wide defines that asio is leaking (ie DeleteFile from any_io_context.hpp)
Unfortunately ASIO_SEPARATE_COMPILATION does not help in this situation.
I dont see a path to pimpl out any asio usage either as awaitable and executor are needed in headers regularly.
I gues asio as module could work? But that doesn't exist (yet?).
Is there any way i can use asio without it leaking all these preprocessor defines?