Take the 2-minute tour ×
Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.

I am not asking for full support but do any of the current gen support C++11? I know VS C++ supports lambda and the auto keyword and I believe gcc supports both as well. Do any of the current gen consoles or handheld (3ds, sony vita) support it?

share|improve this question
    
This belongs on SO. –  The Communist Duck Jun 19 '11 at 9:19
3  
@Duck: I don't think so, these compilers are not widely available outside the game development community. If anything they are so locked down even anyone here who knows couldn't answer. –  user744 Jun 19 '11 at 10:13
2  
This is a very good question, if you're starting out on a project, and hope to be succesful you might dream of buying a PS3 or Wii devkit someday and port your game. Would be pretty painful if it turns out you're heavily relying on language features their compilers don't support. –  Tinco Jun 19 '11 at 10:24
    
I believe the Android toolchain supports C++0x. –  stephelton May 8 '12 at 1:35
add comment

1 Answer 1

Most of the major gaming consoles do not have public development kits, and forbid sharing much information about the underlying SDKs. They do tend to trail a few years behind other platforms for cost and stability reasons. If you have development kits for these consoles or the resources to get them, you should be able to contact your licensor for details on C++0x support.

So I can't answer for any of the major gaming consoles, but perhaps more important for independent development, the iOS toolchain does not. Xcode is still based on GCC 4.2, and they're moving forward by switching to Clang/LLVM, not newer versions of GCC. Clang keeps a feature matrix for C++0x support, and it's not nearly as complete as GCC's. Picking some major features, variadic templates, auto, and rvalue references are present, but constexpr, defaulted/deleted methods, and lambdas are not.

share|improve this answer
1  
To add on, if you are an indie developer or part of a company looking to develop for a certain system, you could always contact the company and ask whether they support or plan on support certain languages. –  Latency Jun 19 '11 at 23:51
1  
Just as an update, the newest Clang does have some seriously complete C++11 feature support. –  DeadMG May 8 '12 at 1:00
    
-1: Answer needs updating to reflect current Clang C++11 feature support. –  Nicol Bolas Nov 27 '12 at 21:46
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.