mariusbancila / stduuid

A C++17 cross-platform implementation for UUIDs
MIT License
758 stars 112 forks source link

Description is stating c++17 support but... #44

Closed mrspirytus closed 2 years ago

mrspirytus commented 3 years ago

Hello,

Trying to build this code on Linux using g++ (-std=c++17) with c++17 I get error not able to find

#include <span>

which is the c++20 feature. span

$ g++ --version
g++ (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0
mariusbancila commented 3 years ago

When you build the project with cmake, there is a variable called UUID_USING_CXX20_SPAN. It's OFF by default, which means the GLS span should be used. There is a gls folder within the project and contains a span implementation.

mariusbancila commented 2 years ago

Better documentation is now provided in the readme.md file.