Add g++ configuration to project file.
Need <stdexcept> for std::out_of_range
Include <cstdio> for printf, and <tr1/unordered_map> instead of <unordered_map> ifdef USE_TR1
Rename the array_view default implementation selector to simpl "rep"
Avoid nullptr so USE_TR1 compiles