More C++11 support (added typeId operator support and examples).
Merge remote branch 'origin/master' into HEAD