This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/85128] Local scope type(def) falsely assumed to change meaning of outer scope type(def)
- From: "steffen at sdaoden dot eu" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 31 Mar 2018 21:02:06 +0000
- Subject: [Bug c++/85128] Local scope type(def) falsely assumed to change meaning of outer scope type(def)
- Auto-submitted: auto-generated
- References: <bug-85128-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85128
--- Comment #10 from Steffen Nurpmeso <steffen at sdaoden dot eu> ---
Hello Andrew Pinski!
Ok i have to apologize for not searching in Bugzilla very carefully it seems.
I see now, indeed i was -- even if that sounds inconceivable -- under the
impression that the error message
typedef class SF::Sys::Coll::AutoToolbox<T>
SF::Sys::Coll::TypeTraits<T>::AutoToolbox
reflected the code, but that is, again indeed, not true, so gcc is right!
template<class T, boolean OWNS=TypeTraits<T>::ownguess>
class CPDict
pub typedef typename TTraits::AutoToolbox TAutoToolbox;
template<class T>
class TypeTraits
pub typedef AutoToolbox<Type> AutoToolbox;
(but but but: mysteriously fully references the non-auto Toolbox!)
Sorry for the noise!