boostorg / sort

Boost.Sort
50 stars 45 forks source link

Compile failure when usign togerther with range/algorithm #35

Open RegexPuzzle opened 5 years ago

RegexPuzzle commented 5 years ago

The following code fails to compile:

include <boost/range/algorithm.hpp>

include <boost/sort/sort.hpp>

void main(){}

spreadsort commented 4 years ago

Yes, that's due to a known scoping problem in boost/range/algorithm

On Fri, Jun 28, 2019 at 8:34 AM RegexPuzzle notifications@github.com wrote:

The following code fails to compile:

include <boost/range/algorithm.hpp>

include <boost/sort/sort.hpp>

void main(){}

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/boostorg/sort/issues/35?email_source=notifications&email_token=ABG2HXCYFFZBSQGSXSBCYITP4YAOTA5CNFSM4H4E7E2KYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4G4JYRJQ, or mute the thread https://github.com/notifications/unsubscribe-auth/ABG2HXB7JMCT5OKAP56NLGTP4YAOTANCNFSM4H4E7E2A .