[libcxx] r183481 - Minor bug fix for allowing an extension of const-qualified types in containers.
David Blaikie
dblaikie at gmail.com
Thu Jun 6 22:11:20 PDT 2013
On Thu, Jun 6, 2013 at 6:56 PM, Howard Hinnant <hhinnant at apple.com> wrote:
> Author: hhinnant
> Date: Thu Jun 6 20:56:37 2013
> New Revision: 183481
>
> URL: http://llvm.org/viewvc/llvm-project?rev=183481&view=rev
> Log:
> Minor bug fix for allowing an extension of const-qualified types in containers.
Test case?
>
> Modified:
> libcxx/trunk/include/memory
>
> Modified: libcxx/trunk/include/memory
> URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/include/memory?rev=183481&r1=183480&r2=183481&view=diff
> ==============================================================================
> --- libcxx/trunk/include/memory (original)
> +++ libcxx/trunk/include/memory Thu Jun 6 20:56:37 2013
> @@ -1750,7 +1750,7 @@ public:
> typedef const _Tp* const_pointer;
> typedef const _Tp& reference;
> typedef const _Tp& const_reference;
> - typedef _Tp value_type;
> + typedef const _Tp value_type;
>
> typedef true_type propagate_on_container_move_assignment;
>
>
>
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
More information about the cfe-commits
mailing list