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 libstdc++/48631] [C++0x] default_delete<T[]> accepts pointer conversions in function call operator


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48631

--- Comment #3 from paolo at gcc dot gnu.org <paolo at gcc dot gnu.org> 2011-04-16 02:05:01 UTC ---
Author: paolo
Date: Sat Apr 16 02:04:56 2011
New Revision: 172535

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=172535
Log:
2011-04-15  Daniel Krugler  <daniel.kruegler@googlemail.com>
        Paolo Carlini  <paolo.carlini@oracle.com>

    PR libstdc++/48631
    * include/bits/unique_ptr.h (default_delete<_Tp[]>): Add deleted
    function call operator.
    * testsuite/20_util/default_delete/48631_neg.cc: New.
    * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust dg-error
    line numbers.

Added:
   
branches/gcc-4_6-branch/libstdc++-v3/testsuite/20_util/default_delete/48631_neg.cc
Modified:
    branches/gcc-4_6-branch/libstdc++-v3/ChangeLog
    branches/gcc-4_6-branch/libstdc++-v3/include/bits/unique_ptr.h
   
branches/gcc-4_6-branch/libstdc++-v3/testsuite/20_util/weak_ptr/comparison/cmp_neg.cc


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