Click here to Skip to main content
15,910,358 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: SOLVED How to construct / build / interpret regular expression ? Pin
jschell27-May-24 12:18
jschell27-May-24 12:18 
GeneralRe: SOLVED How to construct / build / interpret regular expression ? Pin
Salvatore Terress28-May-24 4:21
Salvatore Terress28-May-24 4:21 
QuestionOkay, real C++ question - who makes use of the auto keyword? Pin
charlieg19-May-24 1:29
charlieg19-May-24 1:29 
AnswerRe: Okay, real C++ question - who makes use of the auto keyword? Pin
Mircea Neacsu19-May-24 2:28
Mircea Neacsu19-May-24 2:28 
GeneralRe: Okay, real C++ question - who makes use of the auto keyword? Pin
Richard Andrew x6419-May-24 3:11
professionalRichard Andrew x6419-May-24 3:11 
AnswerRe: Okay, real C++ question - who makes use of the auto keyword? Pin
Dave Kreskowiak19-May-24 4:54
mveDave Kreskowiak19-May-24 4:54 
AnswerRe: Okay, real C++ question - who makes use of the auto keyword? Pin
CPallini19-May-24 20:27
mveCPallini19-May-24 20:27 
AnswerRe: Okay, real C++ question - who makes use of the auto keyword? Pin
Greg Utas20-May-24 3:20
professionalGreg Utas20-May-24 3:20 
The only time I don't use auto is to override the type that the compiler would deduce. That's very rare, usually with the size of a numeric. auto is almost always a type returned by a function, or maybe the type of a class member, so there's nothing "dangerous" about it in those situations. Someone reading the code needs to be familiar with the functions and classes being used, or they're fooling themselves as to their level of understanding.
Robust Services Core | Software Techniques for Lemmings | Articles
The fox knows many things, but the hedgehog knows one big thing.

AnswerRe: Okay, real C++ question - who makes use of the auto keyword? Pin
Maximilien21-May-24 2:41
Maximilien21-May-24 2:41 
GeneralRe: Okay, real C++ question - who makes use of the auto keyword? Pin
charlieg21-May-24 3:21
charlieg21-May-24 3:21 
GeneralRe: Okay, real C++ question - who makes use of the auto keyword? Pin
Maximilien21-May-24 3:25
Maximilien21-May-24 3:25 
GeneralRe: Okay, real C++ question - who makes use of the auto keyword? Pin
trønderen21-May-24 4:31
trønderen21-May-24 4:31 
GeneralRe: Okay, real C++ question - who makes use of the auto keyword? Pin
Maximilien21-May-24 5:28
Maximilien21-May-24 5:28 
GeneralRe: Okay, real C++ question - who makes use of the auto keyword? Pin
jschell21-May-24 12:22
jschell21-May-24 12:22 
GeneralRe: Okay, real C++ question - who makes use of the auto keyword? Pin
CPallini21-May-24 20:41
mveCPallini21-May-24 20:41 
GeneralRe: Okay, real C++ question - who makes use of the auto keyword? Pin
Richard MacCutchan21-May-24 22:37
mveRichard MacCutchan21-May-24 22:37 
GeneralRe: Okay, real C++ question - who makes use of the auto keyword? Pin
jschell23-May-24 13:17
jschell23-May-24 13:17 
GeneralRe: Okay, real C++ question - who makes use of the auto keyword? Pin
Richard Andrew x6423-May-24 14:09
professionalRichard Andrew x6423-May-24 14:09 
GeneralRe: Okay, real C++ question - who makes use of the auto keyword? Pin
Richard MacCutchan23-May-24 22:13
mveRichard MacCutchan23-May-24 22:13 
GeneralRe: Okay, real C++ question - who makes use of the auto keyword? Pin
k505424-May-24 8:55
mvek505424-May-24 8:55 
GeneralRe: Okay, real C++ question - who makes use of the auto keyword? Pin
Richard MacCutchan24-May-24 22:43
mveRichard MacCutchan24-May-24 22:43 
GeneralRe: Okay, real C++ question - who makes use of the auto keyword? Pin
jschell27-May-24 12:10
jschell27-May-24 12:10 
GeneralRe: Okay, real C++ question - who makes use of the auto keyword? Pin
Richard MacCutchan27-May-24 21:57
mveRichard MacCutchan27-May-24 21:57 
GeneralRe: Okay, real C++ question - who makes use of the auto keyword? Pin
trønderen28-May-24 5:19
trønderen28-May-24 5:19 
GeneralRe: Okay, real C++ question - who makes use of the auto keyword? Pin
jschell29-May-24 5:26
jschell29-May-24 5:26 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.