Use the ST-Developer IFC4 BIM library for building applications with the latest Industry Foundation Classes. It contain C++ classes for the new IFC4 definitions, plus additional migration code for continuing to work with older IFC 2x3 or IFC 2x2 data.