Benjamin Thaut:

> abstract class foo {
> protected:
>       void WrongType(){
>               assert(0,"Using wrong type");
>       }

In D classes start with an upper case, and methods with a lower case (and both 
generally use camelCase/CamelCase instead of underscores).

So the way to write that code is:

abstract class Foo {
  protected:
    void wrongType() {

Bye,
bearophile

Reply via email to