[Cs3] CS3 Move Semantics Question
Mikhail Nesterenko
mnestere at kent.edu
Wed Sep 17 21:52:14 EDT 2025
Weber, Matthew wrote:
> Hello Dr. Nesterenko,
>
> While I was looking more into move semantics and its use cases I came across this concept perfect forwarding. A technique that allows a function template to forward its arguments to another function while preserving their original value category (lvalue or rvalue) and const/volatile qualifiers. I was curious if this is something we will talk about or if it will come up in any design patterns.
Yes, perfect forwarding is an interesting concept. We have not covered
it in CS3 before. Maybe worth covering in the future.
For those, who are curious, here is simple article.
https://www.justsoftwaresolutions.co.uk/cplusplus/rvalue_references_and_perfect_forwarding.html
Thanks,
--
Mikhail
More information about the cs3
mailing list