This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/29266] Rule that binding rvalue to a refernce need a copy ctor don't work
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 28 Sep 2006 13:39:17 -0000
- Subject: [Bug c++/29266] Rule that binding rvalue to a refernce need a copy ctor don't work
- References: <bug-29266-13316@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from pinskia at gcc dot gnu dot org 2006-09-28 13:39 -------
There is no
tdat_hash_map(_Alloc&) in the sources.
Adding one makes it get past that error and then we get:
t.cc: In constructor ?tdat_hash_map<_AllocType>::tdat_hash_map(const
_AllocType&) [with _AllocType = MemAllocator<int>]?:
t.cc:64: instantiated from here
t.cc:38: error: ?MemAllocator<Type>::MemAllocator() [with Type = int]? is
private
t.cc:49: error: within this context
So this is invalid still.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29266