Re: source-highlight on solaris?

Stefan Palm <[email protected]> Wed, 21 Apr 2010 09:21:01 +0200 (CEST)
Newsgroups gmane.comp.gnu.source-highlight.general
Message-ID <4000810.98.1271834460951.JavaMail.root@troubadix>
>  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