I don't see why being able to write
fd << "Hello world.";
instead of
fd->write("Hello world.");
is a problem of any sort. Sure, it's not terribly useful, but there is little likelihood of any serious confusion: `<< has no predefined semantics for anything other than ints, so it is pretty much free to do anything as long as this is properly documented for the class that defines an lfun::`<<. The only issue being whether this leads to a convenient notation that makes some sense once you know how it works (which is of course rather subjective).
/ rjb
Previous text:
2003-04-18 23:11: Subject: lfun::`+=()
That's a C++-ism that someone thought Pike needed, I don't know why. I'd like to obsolete it.
/ Martin Stjernholm, Roxen IS