mirror of
https://github.com/isocpp/CppCoreGuidelines.git
synced 2025-12-17 20:54:41 +03:00
@@ -2653,7 +2653,7 @@ Using `std::shared_ptr` is the standard way to represent shared ownership. That
|
||||
|
||||
##### Example
|
||||
|
||||
shared_ptr<Image> im { read_image(somewhere) };
|
||||
shared_ptr<const Image> im { read_image(somewhere) };
|
||||
|
||||
std::thread t0 {shade, args0, top_left, im};
|
||||
std::thread t1 {shade, args1, top_right, im};
|
||||
|
||||
Reference in New Issue
Block a user