--- Comment #11 from konto dot dydaktyczne at gmail dot com 2008-11-29
16:40 ---
(In reply to comment #10)
> an explicit constructor constructs objects only where the
> direct-initialization syntax or where casts are explicitly used. None of these
> cases occurs in the code
--- Comment #10 from konto dot dydaktyczne at gmail dot com 2008-11-29
16:36 ---
(In reply to comment #9)
The Standard does not require that std::uninitialized_copy be invoked when
constructing an std::vector or std::deque.
Moreover, an explicit constructor constructs objects only
--- Comment #7 from konto dot dydaktyczne at gmail dot com 2008-11-28
11:23 ---
(In reply to comment #1)
> GCC 4.4.0 also accepts this code as does Comeau 4.3.10.1.
Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 15.00.21022.08 for 80x86
does not accept this code.
--
h
--- Comment #3 from konto dot dydaktyczne at gmail dot com 2008-11-28
10:07 ---
Let me add an std::list and an std::set to my code; see below. Both additions
produce errors. So,
[sequence containers]
std::vector -> no error signaled, "explicit" ignored
NCONFIRMED
Severity: normal
Priority: P3
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: konto dot dydaktyczne at gmail dot com
GCC build triplet: i686-pc-linux-gnu
GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-