Why do we need to use reference-qualified functions?
class Y {
void h() &;
void h() &&;
};
What is their feature and advantage over functions without reference-qualifiers (& or &&)?
Why do we need to use reference-qualified functions?
class Y {
void h() &;
void h() &&;
};
What is their feature and advantage over functions without reference-qualifiers (& or &&)?