Re: [Plib-devel] sg & STL
Brought to you by:
sjbaker
From: Curtis L. O. <cu...@me...> - 2000-08-01 18:44:46
|
Amit Bakshi writes: > Has anyone tried putting any of the sg* types into an STL container yet? > I tried it but it doesnt work as most types are typedef'd to float[n]. I was > thinking of wrapping the simple types into a class which provides proper > operators so that the sg* functions still work. Has anyone done this yet? Just so you know, the plib author is not exactly thrilled with using the STL (probably mostly because of the portability issues it creates.) There is a wide variety of STL implimentations (or various stages of implimentations) out there which can cause a lot of compatibility problems between the various compilers. Before you get too far down this path, you probably will want to have a serious discussion about it with Steve because I doubt he will be in favor of making these sorts of modifications to plib. Regards, Curt. -- Curtis Olson Human Factors Research Lab Flight Gear Project Twin Cities cu...@hf... cu...@fl... Minnesota http://www.menet.umn.edu/~curt http://www.flightgear.org |