Boost logo

Boost :

From: Stefan Seefeld (seefeld_at_[hidden])
Date: 2005-11-05 15:49:17


Janusz Piwowarski wrote:

>>>>while 'insert_comment("foo")' will add (and return) the comment
>>>><!--foo-->
>>>
>>> node.insert( comment( "foo" ));
>
>
>>That assumes you can create a freestanding 'element' and 'comment' object,
>>which I deliberately try to avoid, as it would necessitate the API to become
>>more complex.
>
>
> I disagree - you have classes for different node types, but you don't
> use it for creating their instances.

Huh ? What is 'comment("foo")' then supposed to be, if not a constructor call ?

Regards,
                Stefan


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk