cpp_weekly icon indicating copy to clipboard operation
cpp_weekly copied to clipboard

For member functions: What effect do const, noexcept, &, && have on the code generated and what do they mean?

Open sjhowe888 opened this issue 1 year ago • 5 comments

Hi

Could you go through the trailing specifiers for member functions : const, noexcept, & and && and explain what they mean and the effect they have on the code generated fpr this function. I know for certain move functions, they have to be noexcept for a move to used. Is this list complete? If not please cover any additional trailing specifiers.

sjhowe888 avatar Mar 06 '24 14:03 sjhowe888