Reputation: 43311
I tried to use arm-linux-gnueabihf-g++ compiler (from g++-arm-linux-gnueabihf package) to compile simple program with lambda expressions, with -std=c++0x switch. It works. Does anybody have experience using C++0x features with this compiler? I want to know, whether this support is reliable and safe for use.
The package is from Ubuntu repository, OS is updated (12.04 32 bits). Version: arm-linux-gnueabihf-g++ (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3
Upvotes: 1
Views: 2167
Reputation: 51832
Use the --version
flag to get the GCC version. Then, consult the C++-11 feature matrix to see which features you can use on that particular version.
Upvotes: 9