AMDG On 06/25/2018 12:49 PM, ian D Chivers via Boost-users wrote:
$ g++ -Ofast -std=c++11 -Wl,--stack,0x100000000 ch3604.cxx ch3604.cxx: In function ‘int main()’: ch3604.cxx:155:16: error: ‘parallel_stable_sort’ is not a member of ‘boost::sort’ boost::sort::parallel_stable_sort( x.begin() , x.end() ); ^~~~~~~~~~~~~~~~~~~~
Are you sure that you're not missing a #include?
It works for me.
#include
<snip> gcc version 7.3.0 (GCC) <snip> Microsoft (R) C/C++ Optimizing Compiler Version 19.13.26129 for x64 <snip>
ch3604.cxx
C:\Program Files\boost\boost_1_67_0\boost/sort/parallel_stable_sort/parallel_stable_sort.hpp(132): error C2146: syntax error: missing ')' before identifier 'or'
<snip>
I presume that if I replace the or with something belonging to an earlier standard that this may get me a bit further.
`or` was a keyword in C++98 (See [lex.digraph]). Try compiling with /permissive- In Christ, Steven Watanabe