IronsDu / brynet

A Header-Only cross-platform C++ TCP network library . We can use vcpkg(https://github.com/Microsoft/vcpkg/tree/master/ports/brynet) install brynet.
MIT License
1.04k stars 241 forks source link

It doesn't make sense to have different C++ standard for different compilers #132

Open yurivict opened 1 year ago

yurivict commented 1 year ago

Here.

The code is either C++11 or C++17. This can't depend on compiler.

IronsDu commented 1 year ago

Yes, It is unnecessary.

yurivict commented 1 year ago

Why?

IronsDu commented 1 year ago

Oh, Because If user's compiler have C++14/17, brynet will use some feature of C++14/17.

IronsDu commented 1 year ago

I fx this issue: https://github.com/IronsDu/brynet/pull/133.