| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Add a test for "perfect" forwarding | Douglas Gregor | 2011-01-21 | 1 | -0/+22 |
| | | | | | llvm-svn: 124005 | ||||
| * | Implement the preference for move-construction over copy-construction | Douglas Gregor | 2011-01-21 | 1 | -1/+3 |
| | | | | | | | | | | | | | when returning an NRVO candidate expression. For example, this properly picks the move constructor when dealing with code such as MoveOnlyType f() { MoveOnlyType mot; return mot; } The previously-XFAIL'd rvalue-references test case now works, and has been moved into the appropriate paragraph-specific test case. llvm-svn: 123992 | ||||
| * | Add unique_ptr example to test the use of rvalue references. I'll grow | Douglas Gregor | 2011-01-21 | 1 | -0/+88 |
| this example further as more rvalue-reference features come online. llvm-svn: 123980 | |||||

