ukoethe / vigra

a generic C++ library for image analysis
http://ukoethe.github.io/vigra/
Other
406 stars 191 forks source link

Enforce using C++11 #554

Closed AdrianBunk closed 8 months ago

AdrianBunk commented 9 months ago

Support for older standards was dropped in #507

Keeping the default CMAKE_CXX_EXTENSIONS=ON fixes #550

hmaarrfk commented 8 months ago

@k-dominik do we want to consider sometihng like this? again, what is our C++ support policy? Do we want to support C++11 still?

k-dominik commented 8 months ago

for the particular case we would still be able to support cpp11: https://en.cppreference.com/w/cpp/algorithm/random_shuffle, as std::shuffle is already part of that. I'd say we support it until we find it too painful? :)