On 27/09/21 11:06 pm, Jonathan Wakely wrote:
On Mon, 27 Sept 2021 at 21:26, François Dumont via Libstdc++
<libstd...@gcc.gnu.org> wrote:
Here is a small patch to fix a test which fails in
_GLIBCXX_VERSION_NAMESPACE mode.
IMHO it would be better to avoid putting <type_traits> content in
versioned namespace, no ?
No opinion on this, you prefer to use consistently the versioned namespace ?
There is of course more work to do, so for now here is the simpler approach.
Ok to commit ?
Leaving the pattern ending with just "struct" isn't very useful.
Wouldn't it be better to do:
// { dg-prune-output "no type named 'type' in" }
or just:
// { dg-prune-output "enable_if" }
?
Either of those is OK to commit.
Done with "enable_if"