help-source-highlight
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-source-highlight] source-highlight on solaris?


From: Stefan Palm
Subject: Re: [Help-source-highlight] source-highlight on solaris?
Date: Wed, 21 Apr 2010 09:21:01 +0200 (CEST)

>  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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]