Compiler Error C3552
'typename': a late specified return type cannot contain 'auto'
If you use the auto
keyword as a placeholder for the return type of a function, you must provide a late-specified return type. However, you cannot use another auto
keyword to specify the late-specified return type. For example, the following code fragment yields error C3552.
auto myFunction->auto; // C3552
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for