tomilov / quickhull

Header-only single-class implementation of Quickhull algorithm for convex hulls finding in arbitrary dimension (>1) space.
https://habr.com/ru/articles/245221/
70 stars 8 forks source link

Compiler support #5

Closed kzampog closed 2 years ago

kzampog commented 7 years ago

Thanks for sharing this code!

I was wondering if it's possible to use your implementation without clang/libc++ (just using gnu stuff).

Thanks!

tomilov commented 7 years ago

@kzampog I don't remember what is clang-specific here, but I'll try to port the code to g++/libstdc++ in the evening.

Abacn commented 5 years ago

By now the code compiles uses -std=c++14 flag with clang++. It uses std::decay and std::cbegin which is a part of c++14 standard. Even though the compiler outputs warnings such that It uses static_assert with no message info, which is a part of c++17 feature. After some modifications I made it compile with c++11 standard, because the intel compiler school's computing cluster only supports up to c++11