Click here to Skip to main content
       

C / C++ / MFC

 
AnswerRe: Very happy with C++11 PinmemberChris Losinger6-Nov-12 2:05 
GeneralRe: Very happy with C++11 Pinmember_Josh_6-Nov-12 8:51 
QuestionRe: Very happy with C++11 PinmemberDavidCrow6-Nov-12 3:00 
AnswerRe: Very happy with C++11 PinmemberMaximilien6-Nov-12 3:24 
auto will "automagically" derive the type of the expression.
 
For normal simple types it does not add much, but more complex types it can make things easier.
 
auto i = 0; // kind of useless.
 
std::vector<int>::iterator iterator = myVector.begin();
auto iterator = myVector.begin(); // much usefull, unless you use badly named variables.
 
It makes things easier when working with lambdas (and I have not use them yet, current project is still VS2008).
Nihil obstat

AnswerRe: Very happy with C++11 PinmemberChris Losinger6-Nov-12 9:01 
QuestionPutting a COM dll inside a COM dll Pinmemberandrewdunbabin5-Nov-12 4:39 
AnswerRe: Putting a COM dll inside a COM dll PinmvpRichard MacCutchan5-Nov-12 5:20 
GeneralRe: Putting a COM dll inside a COM dll Pinmemberandrewdunbabin5-Nov-12 5:47 
GeneralRe: Putting a COM dll inside a COM dll PinmvpRichard MacCutchan5-Nov-12 5:56 
AnswerRe: Putting a COM dll inside a COM dll PinmemberChris Meech5-Nov-12 7:13 

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

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


Advertise | Privacy | Mobile
Web04 | 2.8.140926.1 | Last Updated 2 Oct 2014
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid