mpoeter / xenium

A C++ library providing various concurrent data structures and reclamation schemes.
https://mpoeter.github.io/xenium/
MIT License
488 stars 46 forks source link

Required C++ standard version / compiler version? #13

Closed twisteroidambassador closed 4 years ago

twisteroidambassador commented 4 years ago

What version of C++ standard (C++11, C++14, C++17) does xenium require? Are specific versions of compilers required?

I see the project is tagged "c++11", but when I try to include and compile with GCC 4.8.5, specifying --std=c++11, it prints out errors such as "expected '(' before 'constexpr'" and "'else' without a previous 'if'". According to this post, it seems like the code requires C++17?

It would be nice to document the version of C++ standard required.

mpoeter commented 4 years ago

Thanks for the note! I recently updated the code to C++17, but forgot to update the tags accordingly.

I started to create CI builds for different compilers and compilers version. At the moment the CI build covers gcc8, clang9 and Visual Studio 2017. I planned to write a small section with details about requirements and supported compilers, but did not yet find the time. Guess I should give this more priority! :-)

mpoeter commented 4 years ago

I have updated the readme and added some information about supported compilers and how to build unit tests and benchmarks. Please let me know if you are still missing something.