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