C++ doesn’t let functions return several values. But, what if, you just need that function to return multiple values without using a struct type.
this article explains the new ways of returning multiple values using standard c++ types.
https://www.fluentcpp.com/2017/11/10/strong-types-multiple-return-values/
this article explains the new ways of returning multiple values using standard c++ types.
https://www.fluentcpp.com/2017/11/10/strong-types-multiple-return-values/
Comments
Post a Comment