Hi Carsten,

Carsten Neumann wrote:
> 
> Agreed. The only case I can see that right now is more efficient than
> with the changed interface is, if the user calls the MaxType
> get/setValue methods from the GeoVectorProperty level (i.e. not
> TypedGeoVectorProperty), because it avoids the second conversion done in
>  the template member functions.
> We can get rid of that by making some changes to the GeoConvert structs
> (to some degree these are needed anyway, see below), using partial
> template specialization (or do we need to support some crummy compiler
> that still can not handle that ? [1]

I don't think so. Our baseline is VS2003 and gcc 3.4, so those should be ok.

). I've attached a draft  of what I
> mean.

I like the idea of specializing for identical types, that is neat. Looks 
good to me, do you want to get it to the point that it compiles? And 
maybe add some unittests for it? ;)

> Ugh, let's just think real hard and hopefully come up with something
> that gets us there without this, please ?

;)

Thanks

        Dirk




-------------------------------------------------------------------------
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
_______________________________________________
Opensg-core mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-core

Reply via email to