other array types than char in templates?

BCS BCS at pathlink.com
Tue May 29 13:09:38 PDT 2007


dennis luehring wrote:
> what is the reason for allowing this
> 
> template test(char[] bla)
> {
> ....
> }
> 
> 
> but not
> 
> template test(int[] bla)
> {
> ....
> }
> 
> or other bultin(own) types?
> 
> ciao dennis


I'm with you on this.

see this:
http://www.digitalmars.com/webnews/newsgroups.php?art_group=digitalmars.D&article_id=53939



More information about the Digitalmars-d mailing list