>  it looks like that
>
> std::set::insert which takes two iterators is standard in stl:
>
> http://www.cplusplus.com/reference/stl/set/insert/
>
> can it be that your sparc compiler stl implementation is not standard or 
> too old?
>
> At the above link there's an example using insert, could you please try 
> to compile it with your sparc compiler and see whether that works?

Works fine.

adebld1z:/tmp> /opt/sunstudio12.1/bin/CC example.cpp -o example.bin
adebld1z:/tmp> ./example.bin 
myset contains: 5 10 15 20 24 25 26 30 40 50

Stefan


_______________________________________________
Help-source-highlight mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-source-highlight

Reply via email to