A object is initialized using CAF_PDM_InitObject and a field is initialized using CAF_PDM_InitField. These macros are defined in ResInsight\Fwk\AppFwk\cafProjectDataModel\cafPdmObject.h
Suggest how to initialize objects and fields without using macros.
Focus on use of modern C++ constructions like constexpr.
A object is initialized using
CAF_PDM_InitObjectand a field is initialized usingCAF_PDM_InitField. These macros are defined inResInsight\Fwk\AppFwk\cafProjectDataModel\cafPdmObject.hSuggest how to initialize objects and fields without using macros.
Focus on use of modern C++ constructions like
constexpr.