This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/29266] Rule that binding rvalue to a refernce need a copy ctor don't work



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]