static virtual is a keyhole?
"Balog Pal" <[email protected]> Sat, 27 Sep 2003 13:17:42 +0100
| Newsgroups | gmane.comp.programming.keyholes |
|---|---|
| Message-ID | <00f501c384ff$68f63a40$65bf9f81@bpnt> |
In C++ member functions can be static, or can be virtual. However they can't be static and virtual at the same time. Currently there's a discussion on both csc++ and clc++m showing that implementig virtual statics in the compiler would be trivial. And the functionality is needed by programmers, who currently must use duplicate functions introducng redundancy. Looks like a case of a keyhole to me. Paul