http://llvm.org/bugs/show_bug.cgi?id=16993

Howard Hinnant <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |INVALID

--- Comment #1 from Howard Hinnant <[email protected]> ---
After:

    std::move(a);

a is in a valid but unspecified state.  That means that you can not reliably
perform any operation on a that has a precondition.

   a[100]

has a precondition that a.size() > 100.  And so this may or may not work after:

   std::move(a);

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to