From 4be52a56982a79aa2cccfe20ac525ea9cfa2ec39 Mon Sep 17 00:00:00 2001 From: Chris Bachhuber Date: Fri, 13 Sep 2024 14:01:56 +0200 Subject: [PATCH] Specific unique_ptr lifetime --- _posts/2017-12-07-totw-123.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_posts/2017-12-07-totw-123.md b/_posts/2017-12-07-totw-123.md index f03729ee..12dc5de8 100644 --- a/_posts/2017-12-07-totw-123.md +++ b/_posts/2017-12-07-totw-123.md @@ -181,7 +181,7 @@ that works. Prefer bare object, if it works for your case. Otherwise, try Object lifetime Same as enclosing scope Restricted to enclosing scope - Unrestricted + Unrestricted if moved out of enclosing scope Call `f(Bar*)`