boostorg / algorithm

Boost.org algorithm module
http://boost.org/libs/algorithm
Boost Software License 1.0
112 stars 105 forks source link

The apply_permutation algorithm requires C++11 #78

Closed eldiener closed 3 years ago

eldiener commented 4 years ago

The apply_permutation algorithm requires C++11. Is this intended ?

If so, should the apply_permutation test only run when the compiler is at the C++11 or higher level ? If not so, should apply_permutation be changed to use Boost type traits rather than standard type traits, and will it work that way ?

mclow commented 3 years ago

As far as I know, this has not ben true since October 2018. (commit b6c04d6dc52ace864bb1f5cd26b65f9b639a39b9)

eldiener commented 3 years ago

See https://github.com/boostorg/algorithm/pull/82.

ksoni-1258 commented 3 years ago

what is the issue,could you please elaborate

eldiener commented 3 years ago

It has been fixed. The issue is that the header file included , which is a C++11 header file.