adolgert / cpp11check Goto Github PK
View Code? Open in Web Editor NEWCheck for C++11 features in your compiler.
Check for C++11 features in your compiler.
This uses SCons (www.scons.org), an equivalent of Make, to look for C++11 features in your C++ compiler. Pick a compiler by editing local.cfg. cpp_compiler=/opt/gcc-4.3.1/bin/g++ See what is compiled by running with --echo. $ scons --echo If scons is caching results, and you want to see them, remove its temporary files and run again. $ rm -rf .scon* Sample output: -bash-3.2$ scons scons: Reading SConscript files ... INFO:SconsRoot:running with -j 2 Checking whether the C++ compiler worksyes Checking for c++0x conformance...-std=c++11?...-std=c++0x?...yes Checking snippet alias templates...no Checking snippet alternative function syntax...no Checking snippet explicit final...no Checking snippet explicit override...no Checking snippet explicitly defaulted special member functions...no Checking snippet explicitly deleted member functions...no Checking snippet generalized_constant...no Checking snippet hash tables...no Checking snippet initializer lists...no Checking snippet lambda functions...yes Checking snippet long long int...yes Checking snippet new string literals...no Checking snippet nullptr...no Checking snippet object construction constructors calling constructors...no Checking snippet object construction improvement using base constructor...no Checking snippet polymorphic wrappers for function objects...no Checking snippet random numbers...no Checking snippet range-based for-loop...no Checking snippet regex...no Checking snippet right angle brackets...yes Checking snippet shared_ptr...no Checking snippet sizeof on member objects...no Checking snippet static_assert...no Checking snippet strongly-typed enum...no Checking snippet templates with variable number of values...no Checking snippet tuple...no Checking snippet type inference auto...yes Checking snippet type inference decltype...yes Checking snippet type traits metaprogramming...no Checking snippet uniform initialization...no Checking snippet unrestricted unions...no Checking snippet user-defined literals...no Checking snippet using syntax instead of typedefs...no Checking snippet wrapper reference...no scons: done reading SConscript files. scons: Building targets ... scons: `.' is up to date. scons: done building targets. Build succeeded.
Hello,
The collection of C++11 feature tests looks really useful, and I'd like to incorporate it into some of my OSS code, but I couldn't find any license info. What license is it distributed under? MIT or BSD would be preferable. Thanks!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.