Feature #1575

INamed: promote member m_name from private to protected

Added by wuttke almost 4 years ago. Updated almost 4 years ago.

Status:RejectedStart date:05 Aug 2016
Priority:LowDue date:
Assignee:-% Done:

0%

Category:-
Target version:-

Description

This member variable has many good uses in inherited classes, so why not expose it to them?

History

#1 Updated by herck almost 4 years ago

There's no need to expose it since derived classes can set it directly using setName(...). Exposing it would expose the implementation.

#2 Updated by wuttke almost 4 years ago

  • Priority changed from Normal to Low

There is no need, obviously, but it might be convenient.

There is no implementation, and there will never be one. INamed is entirely trivial and intended to be so.

#3 Updated by wuttke almost 4 years ago

  • Status changed from Rfc to Rejected

No convincing case for change.

Also available in: Atom PDF