[PATCH][_GLIBCXX_INLINE_VERSION] Fix <contracts>

François Dumont frs.dumont@gmail.com
Wed Sep 20 04:51:05 GMT 2023


libstdc++: Remove std::constract_violation from versioned namespace

GCC expects this type to be in std namespace directly.

libstdc++-v3/ChangeLog:

     * include/experimental/contract:
     Remove _GLIBCXX_BEGIN_NAMESPACE_VERSION/_GLIBCXX_END_NAMESPACE_VERSION.

It does fix 29 g++.dg/contracts in gcc testsuite.

Ok to commit ?

François
-------------- next part --------------
A non-text attachment was scrubbed...
Name: contract.patch
Type: text/x-patch
Size: 550 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/libstdc++/attachments/20230920/e4c7a6f1/attachment.bin>


More information about the Libstdc++ mailing list