mirror of
https://github.com/isocpp/CppCoreGuidelines.git
synced 2025-12-17 20:54:41 +03:00
bad signature
# Conflicts: # CppCoreGuidelines.md
This commit is contained in:
@@ -11452,11 +11452,11 @@ Defining "small amount" precisely is impossible.
|
||||
##### Example
|
||||
|
||||
string modify1(string);
|
||||
void modify2(shared_ptr<string);
|
||||
void modify2(shared_ptr<string>);
|
||||
|
||||
void fct(string& s)
|
||||
{
|
||||
auto res = async(modify1,string);
|
||||
auto res = async(modify1, s);
|
||||
async(modify2, &s);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user