C++ extension

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Has this idea come up before?

Instead of:

class foo {
private:
   bar field;

public:
    foo() : field(0) { }
};

allow a syntax like:

class foo {
private:
    bar field(0);

public:
  foo() { }
};

This seems "more  better" to me.

Perry


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux