size_t, size_t, wherefore art thou aliased?

Lionello Lunesu lionello at lunesu.remove.com
Wed Sep 20 11:08:14 PDT 2006


> Unfortunately, this makes assigning values to size_t and ptrdiff_t 
> obnoxious, since it only implicitly casts one way (not the way that's 
> helpful here).

typedef int test_t;
void main(){
  test_t x = 2;
}

works just fine. Am I missing something?

L. 





More information about the Digitalmars-d mailing list