Page 2 of 2

C++11

Posted: October 26th, 2011, 10:58 am
by Cuchulainn
QuoteOriginally posted by: renormLet's be conservative and stick to C++03 for a while (next 2-3 years?).I second that. Any other views? It may take years before all platforms are using lambda as mainstream?

C++11

Posted: October 26th, 2011, 11:17 am
by Hansi
I'd say target C++03 but with boost etc. If anyone prefers coding in C++11 then provide a working C++03 version too so it can be escaped to.

C++11

Posted: October 26th, 2011, 11:25 am
by Cuchulainn
QuoteOriginally posted by: HansiI'd say target C++03 but with boost etc. If anyone prefers coding in C++11 then provide a working C++03 version too so it can be escaped to.Good proposal.C++ 11 is 'nice to have' but not on the critical path.

C++11

Posted: November 16th, 2011, 1:53 pm
by quartz
QuoteOriginally posted by: HansiI'd say target C++03 but with boost etc. If anyone prefers coding in C++11 then provide a working C++03 version too so it can be escaped to.Perfectly reasonable! I'd keep it forward looking though...E.g. it seems that (the freshly released) boost 1.48 has nice stuff such as move semantics :-)And one might use the alternative TR1/C++11 syntax for random numbers too... thoughts on this?

C++11

Posted: November 16th, 2011, 4:13 pm
by Cuchulainn
QuoteOriginally posted by: quartzQuoteOriginally posted by: HansiI'd say target C++03 but with boost etc. If anyone prefers coding in C++11 then provide a working C++03 version too so it can be escaped to.Perfectly reasonable! I'd keep it forward looking though...E.g. it seems that (the freshly released) boost 1.48 has nice stuff such as move semantics :-)And one might use the alternative TR1/C++11 syntax for random numbers too... thoughts on this?Where can these features be used in QFCL? Are they 'must have' or 'nice to have' at this moment?

C++11

Posted: November 16th, 2011, 4:32 pm
by Polter
Boost.Container looks pretty cool!

C++11

Posted: August 6th, 2012, 5:09 pm
by hamster
Lucky me. I can use C++11 at work (GCC compiler/Debian; Rule 1: Maintain good relationship to BOFHs). My approach is that I go for C++11 as long as there is no other own existing code that used the boost sibling/predecessor (or anything else). I am always favor an ISO standard over a custom lib (mature vs. experimental). If I write a project from the scratch and everything is covered in C++11, then I go for C++11. If I need to extend an existing program fully packed with boost features, then I stick to boost/C++03. http://stackoverflow.com/questions/8851 ... s-vs-c11As far as I see most code depends on boost, thus stick to it. Be pragmatic, not religious.

C++11

Posted: August 22nd, 2012, 5:26 am
by Cuchulainn
This is a nice overview of C++ 11 etc.