[nem-en] [Proposal] Extend Record or Accesor macro to create POD types

Ivan Lakhturov lakhturov at gmail.com
Mon Jan 8 12:56:02 CET 2007


Hello Michal,

Monday, January 8, 2007, 10:26:16 AM, you wrote:

> On 1/8/07, Kamil Skalski <kamil.skalski at gmail.com> wrote:
>> > Yes, using it explicitly kind of defeats the point -- seems longer
>> > than writing 'public' everywhere.
>>
>> The shortest (usual) version would be
>>
>> [AddModifiers (Public)]
>> class A {
>>  ...
>> }

> You still need to write [Record]. I think I like just [Record(Public)] more.


btw, how about an easy way to combine macros?
i mean if we have

[A]
[B]
[C]
[D]
[E]
class Foo {}

how about a way of combining e.g. [A,B,C,D] into [T]

[T]
[E]
class Foo {}

maybe add some support for this?


regards, phantom




More information about the devel-en mailing list