This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/58130] [C++11] Compilation fails using "const decltype(...)& getter() const {...}"
- From: "vittorio.romeo at outlook dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sun, 11 Aug 2013 21:33:27 +0000
- Subject: [Bug c++/58130] [C++11] Compilation fails using "const decltype(...)& getter() const {...}"
- Auto-submitted: auto-generated
- References: <bug-58130-4 at http dot gcc dot gnu dot org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58130
--- Comment #1 from Vittorio Romeo <vittorio.romeo at outlook dot com> ---
Isn't
decltype(items)
equivalent to
std::vector<std::unique_ptr<ItemBase>>
?