Ticket #234 (closed defect: fixed)

Opened 8 weeks ago

Last modified 8 weeks ago

COBIA code generation for C++ incorrectly omits template argument for base class

Reported by: jasper Owned by: jasper
Priority: minor Milestone: Phase III
Component: Code generation Version:
Keywords: Cc:

Description

When a templated COBIA class is created that derives from CapeOpenObject?, the template argument to CapeOpenObject? requires the class name. This template argument itself should have a proper template argument, which is currently omitted, causing a compilation error in generated code.

Change History

comment:1 Changed 8 weeks ago by jasper

  • Status changed from new to closed
  • Resolution set to fixed

comment:2 Changed 8 weeks ago by jasper

Note that the MSVC compiler accepted previous version of code generated code, but not with C++20 mode selected.

Note: See TracTickets for help on using tickets.