|
From: Jose' C. <cru...@ce...> - 2007-03-03 06:49:57
|
Il giorno 03/mar/07, alle ore 00:25, James Walker ha scritto: > Jose' Cruanyes wrote: >> Il giorno 01/mar/07, alle ore 18:33, James W. Walker ha scritto: >> >>> or we could change E3Num_Max to be a function template defined >>> exactly like std::max. >>> >> >> taked... I'm leaving now (CET here) if tomorrow is still to do, I'll >> do it. > > So, where did you get that template implementation? my own... my wrong own... > > When I tried a more standard definition of E3Num_Max and E3Num_Min, I > was surprised to find that we weren't using them directly with mixed > types, the only problem was with E3Num_Clamp. So, I wrote a template > version of E3Num_Clamp that casts its second and third parameters to > match the type of the first parameter. the fact is that there are mix of types detected by Visual_C... I'll investigate, and eventually add a cast in code... > > I've committed an update to E3Utils.h with the new template > definitions. > -- > James W. Walker, Innoventive Software LLC > <http://www.frameforge3d.com/> > > ---------------------------------------------------------------------- > --- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to > share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php? > page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Quesa-develop mailing list > Que...@li... > https://lists.sourceforge.net/lists/listinfo/quesa-develop > Pax et Bonum # dott. Jose' Cruanyes Aguilar - C.E. Soft srl # Pzza. Firenze,4 MILANO - XX Settembre 10, CREMONA # 02,33603122 0372,460602 |