On Thu, 2010-11-11 at 11:35 -0500, ArbolOne wrote:
> Hi kids!
> I just need a little bit of help to find my bearing when using giomm. If 
> some body would be so kind as to show me how this method would be change 
> from std to giomm.
> 
> TKNX!!
> 
> const char* jme::strtools::toStr( const int x ) {
>      std::stringstream num;
>      num << x;
>      tmp = num.str();
>      return tmp.c_str();
> }

Do you realize that this function's result is undefined? And really -
what's is the use of changing it to use Giomm? C++ bindings should
rather strive to use as most of C++ standard library as they can.

> _______________________________________________
> gtkmm-list mailing list
> [email protected]
> http://mail.gnome.org/mailman/listinfo/gtkmm-list


_______________________________________________
gtkmm-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gtkmm-list

Reply via email to