--- Comment #6 from yuanfei8077 at gmail dot com 2006-10-02 14:19 ---
Subject: Re: Rule that binding rvalue to a refernce need a copy ctor don't
work
Thank you Andrew, appreciate your help on this topic.
-Kelvin
On 1 Oct 2006 20:33:33 -, pinskia at gcc dot gnu dot org
&l
--- Comment #3 from yuanfei8077 at gmail dot com 2006-09-29 03:02 ---
Plesae seee Comment #2 From Kelvin 2006-09-28 23:25 [reply].
In addition 2 questions I raised in the Commet2. I also have one more question
about the rule "bind an rvalue to a reference,
we need to let copy ct
--- Comment #2 from yuanfei8077 at gmail dot com 2006-09-28 23:25 ---
Subject: Re: Rule that binding rvalue to a refernce need a copy ctor don't
work
Hi Andrew,
You are right, I am omitting the code, however, my question is:
1)
> t.cc:38: error: 'MemAllocator::MemAllo
--
Summary: Rule that binding rvalue to a refernce need a copy ctor
don't work
Product: gcc
Version: 4.1.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
AssignedTo: un
ONFIRMED
Severity: normal
Priority: P3
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: yuanfei8077 at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29261
--- Comment #2 from yuanfei8077 at gmail dot com 2006-09-28 01:50 ---
Hi,
For your convinence, the following is the reproduction code.
Many Thanks,
-Kelvin
Compilation error
=
no matching function for call to tdat_hash_map
>::func(MemAllocator)
main.cpp:6: n
D
Severity: critical
Priority: P3
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: yuanfei8077 at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29252