We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2aab403 commit d299b77Copy full SHA for d299b77
source/utilities.tex
@@ -362,7 +362,7 @@
362
void g() {
363
A a;
364
shared_ptr<A> sp1 = factory<A>(a); // ``\tcode{a}\!'' binds to \tcode{A(const A\&)}
365
- shared_ptr<A> sp1 = factory<A>(std::move(a)); // ``\tcode{a}\!'' binds to \tcode{A(A\&\&)}
+ shared_ptr<A> sp2 = factory<A>(std::move(a)); // ``\tcode{a}\!'' binds to \tcode{A(A\&\&)}
366
}
367
\end{codeblock}
368
In the first call to \tcode{factory},
0 commit comments