Skip to main content

yes you can, look for std::reference_wrapperstd::reference_wrapper, that mimics a reference but is assignable and also can be "reseated"

yes you can, look for std::reference_wrapper, that mimics a reference but is assignable and also can be "reseated"

yes you can, look for std::reference_wrapper, that mimics a reference but is assignable and also can be "reseated"

Source Link
user90843
user90843

yes you can, look for std::reference_wrapper, that mimics a reference but is assignable and also can be "reseated"