From 10482a65989967be8b4a6a85114fcebc5e786f7d Mon Sep 17 00:00:00 2001 From: Jonathan Wakely Date: Thu, 13 Oct 2016 17:41:10 +0100 Subject: [PATCH] Qualify use of std::declval to avoid ADL * include/experimental/propagate_const (element_type): Qualify declval. From-SVN: r241129 --- libstdc++-v3/ChangeLog | 3 +++ libstdc++-v3/include/experimental/propagate_const | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 111bf5241e9..bfaeb703223 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,5 +1,8 @@ 2016-10-13 Jonathan Wakely + * include/experimental/propagate_const (element_type): Qualify + declval. + * testsuite/26_numerics/random/default_random_engine.cc: Use VERIFY instead of assert. diff --git a/libstdc++-v3/include/experimental/propagate_const b/libstdc++-v3/include/experimental/propagate_const index 15ffe4ac6ad..e1fb4e49198 100644 --- a/libstdc++-v3/include/experimental/propagate_const +++ b/libstdc++-v3/include/experimental/propagate_const @@ -63,7 +63,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION class propagate_const { public: - typedef remove_reference_t())> element_type; + typedef remove_reference_t())> element_type; private: template -- 2.30.2