Refactoring #1545

Feature #1290: === Core: framework ===

INamed: replace default "" by typeid()

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

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

0%

Category:-
Target version:-

Description

In most or all of the ISample hierarchy, m_name is initially set to the class name. This can be easily achieved by a default constructor that calls std::typeid.

History

#1 Updated by wuttke almost 4 years ago

  • Status changed from New to Rejected

won't work as typeid() will return "INamed", not the name of the child class

Also available in: Atom PDF