ploum (but obscenities may come to fill in for empty commit messages)

This commit is contained in:
Marc Glisse 2011-05-11 20:15:08 +00:00
parent 217ed569f2
commit dc29aebfd2
3 changed files with 1871 additions and 2 deletions

File diff suppressed because it is too large Load Diff

View File

@ -124,6 +124,11 @@ namespace CGAL {
}
};
#ifdef CGAL_CXX0X
using std::decay;
#else
template<class T> struct decay : boost::remove_cv<typename boost::decay<T>::type> {};
#endif
}
#endif

View File

@ -3,11 +3,11 @@ all: normal cxx0x
CGAL_INC = -I/home/glisse/repos/cgal/trunk/Algebraic_foundations/include -I/home/glisse/repos/cgal/trunk/STL_Extension/include -I/data/repos/cgal/trunk/Algebraic_foundations/include -I/data/repos/cgal/trunk/STL_Extension/include
normal:
g++ test.cpp -O2 -g -lCGAL -frounding-math -Wall -I. -lgmp -I../../include -I/usr/include/eigen2 -DCGAL_USE_EIGEN ${CGAL_INC}
g++ test.cpp -O2 -g -lCGAL -lboost_thread -frounding-math -Wall -I. -lmpfr -lgmp -I../../include -I/opt/eigen -DCGAL_USE_EIGEN ${CGAL_INC}
./a.out
cxx0x:
/usr/lib/gcc-snapshot/bin/g++ -std=c++0x -O2 -g test.cpp -lCGAL -frounding-math -Wall -I. -lgmp -DCGAL_CXX0X -I../../include -I/usr/include/eigen2 -DCGAL_USE_EIGEN ${CGAL_INC}
/usr/lib/gcc-snapshot/bin/g++ -std=c++0x -O2 -g test.cpp -lCGAL -lboost_thread -frounding-math -Wall -I. -lmpfr -lgmp -DCGAL_CXX0X -I../../include -I/opt/eigen -DCGAL_USE_EIGEN ${CGAL_INC}
./a.out
#-DBOOST_RESULT_OF_USE_DECLTYPE