Skip to content

Instantly share code, notes, and snippets.

@wen-long
Created April 15, 2015 15:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wen-long/27fce46946ffb7d280af to your computer and use it in GitHub Desktop.
Save wen-long/27fce46946ffb7d280af to your computer and use it in GitHub Desktop.
➜ Desktop /usr/local/Cellar/gcc5/5-20150405/bin/g++-5 -v
Using built-in specs.
COLLECT_GCC=/usr/local/Cellar/gcc5/5-20150405/bin/g++-5
COLLECT_LTO_WRAPPER=/usr/local/Cellar/gcc5/5-20150405/libexec/gcc/x86_64-apple-darwin14.1.0/5.0.0/lto-wrapper
Target: x86_64-apple-darwin14.1.0
Configured with: ../configure --build=x86_64-apple-darwin14.1.0 --prefix=/usr/local/Cellar/gcc5/5-20150405 --libdir=/usr/local/Cellar/gcc5/5-20150405/lib/gcc/5 --enable-languages=c,c++,objc,obj-c++ --program-suffix=-5 --with-gmp=/usr/local/opt/gmp --with-mpfr=/usr/local/opt/mpfr --with-mpc=/usr/local/opt/libmpc --with-isl=/usr/local/opt/isl014 --with-system-zlib --enable-libstdcxx-time=yes --enable-stage1-checking --enable-checking=release --enable-lto --disable-werror --with-pkgversion='Homebrew gcc5 5-20150405' --with-bugurl=https://github.com/Homebrew/homebrew-versions/issues --enable-plugin --disable-nls --enable-multilib
Thread model: posix
gcc version 5.0.0 20150405 (experimental) (Homebrew gcc5 5-20150405)
➜ Desktop /usr/local/Cellar/gcc5/5-20150405/bin/g++-5 iter.cpp -std=c++11
➜ Desktop ./a.out
iter is a N9__gnu_cxx17__normal_iteratorIPcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEE
void is a v
iter1 is a N9__gnu_cxx17__normal_iteratorIPcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEE
➜ Desktop
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment