Overview
| Artifact ID: | e239ea5dc44ff15ae99734d55629b60e3966d9158c500dd47250540386bd3acb |
|---|---|
| Ticket: | 1865198fffffffffffffffffffffffffffffffff
Support class methods |
| User & Date: | dkf on 2024-05-23 14:23:01 |
Changes
- closedate changed to: "2460454.09932471"
- closer changed to: "dkf"
- comment changed to:
There is one function, which is needed in itcl-ng but I think it should be in the TclOO Source code: calling a class method without an object context. This is mostly used for the equivalent of the C++ static class method invocation, which in itcl is called a "class proc". As it mostly does the same as TclOO's InvokeProcedure method and it uses TclOO internal stuff, I think it should be added to TclOO source code. A prototype implementation, which is used at the moment in itcl-ng is in the attachment.
- icomment:
Tcl 8.7/9.0 have the solution to this: the `classmethod` definition command in [TIP #478](https://core.tcl-lang.org/tips/doc/trunk/tip/478.md).
- login: "dkf"
- mimetype: "text/x-markdown"
- resolution changed to: "Out of Date"
- severity changed to: "Minor"
- status changed to: "Closed"