Modificação para original e específico para o Ubuntu 17.04 usando g ++ - 6 que tem cmake 3.7
ao invés do 3.8
requerido.
sudo apt-get install cmake
cd ~/Downloads
wget https://github.com/CaseyCarter/cmcstl2/archive/master.zip
unzip master
cd cmcstl2-master
cat CMakeLists.txt \
| sed "s/VERSION 3.8/VERSION3.7/" \
| sed "s/target_compile_features(stl2 INTERFACE cxx_std_17)//" \
| sed "s/-fconcepts/-fconcepts -std=c++01z/" \
| cat >CMakeLists.txt
export CXX='which g++-6'
cmake .
cmake install .
Copie esses diretórios ( experimental meta stl2
) de: ~/Downloads/cmcstl2-master/include
Para: /usr/include/c++/6