← Back to team overview

ooc-dev team mailing list archive

Re: template

 

The question is far from stupid. However, I'd need a very very good reason
to support templating as it can be found in C++.
For a discussion of some issues related to templates in C++, read this
article by Yossi Kreinin.
<http://www.yosefk.com/blog/oo-c-is-passable.html>As for type safety
(e.g. for collections), I'm thinking of implementing
generics somewhat like in Java.
What I'd be very interested in, though, is what you feel you'd need
templates/metaprog for, so maybe we can think of another, simpler, more
elegant way to achieve it.

Amos

2009/6/30 Vincent R. <forumer@xxxxxxxxxxxxxxx>

> maybe my question is stupid but would it be possible to support
> meta-programming and templated class ?
> After all templates are just a kind of magic where all work is done by a
> smart preprocessor ...
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~ooc-dev<https://launchpad.net/%7Eooc-dev>
> Post to     : ooc-dev@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~ooc-dev<https://launchpad.net/%7Eooc-dev>
> More help   : https://help.launchpad.net/ListHelp
>

Follow ups

References