Re: [iostreams] When plan to move to C++20
Dominique Pellé via Boost-users <[email protected]> Thu, 9 Feb 2023 19:49:32 +0100
| Newsgroups | gmane.comp.lib.boost.user |
|---|---|
| Message-ID | <CAON-T_jV07GFZ1UMQUPCMbv135=m_ZsdWKO_nfZ197qpwNtKdw@mail.gmail.com> |
Seyyed Soroosh Hosseinalipour via Boost-users <[email protected]> wrote: > ITNOA > > I have question about the plan to migrate code base from C++03 to C++20 for iostreams library > > I think iostreams library have very more clean if using modern C++ features, such as Concept > > Did you have any plan about that? > > thanks Lots of people use boost because they cannot use C++20 or even C++17. For those users, boost provides C++11 or C++14 portable equivalent of new std libs (boost::optional, boost::variant, boost::filesystem, etc.) If boost required C++20, many users would not be able to use boost anymore. Boost should be not require such a recent C++ standard. C++11 or C++14 are probably the best minimal standard for Boost IMO at the moment. Furthermore, looking at https://en.cppreference.com/w/cpp/20 (core language + STL), recent versions of gcc or msvc are in good shape with C++20 but clang is less complete. Dominique