This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/34480] Argument packs treat __null oddly
- From: "sylvain dot pion at sophia dot inria dot fr" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Subject: [Bug c++/34480] Argument packs treat __null oddly
- References: <bug-34480-7796@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from sylvain dot pion at sophia dot inria dot fr 2008-01-02 21:37 -------
In fact, this is not really an issue with variadic templates,
since you get the same problem with:
void* g(int a) { return new (char*)(a); }
int main() {
g(__null);
}
Nevertheless, I opened an issue for the LWG for the original problem
with std::vector::push_back() which bothers me as well. The preview
of it can be found here:
http://home.twcny.rr.com/hinnant/cpp_extensions/issues_preview/lwg-active.html#767
I suggest that the component for this bug be changed from c++ to libstdc++,
and the title to something like:
"[LWG Issue 767] push_back and push_front need overloads for type T"
--
sylvain dot pion at sophia dot inria dot fr changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |sylvain dot pion at sophia
| |dot inria dot fr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34480