The latest HCL RTist 11 release, version 2020.45, is now available. And there are several improvements and new features in this release:

Member Template Operations

The model compiler now supports member operations with template parameters. Both type and value template parameters are supported. Note that in most cases such operations must be marked as inline so that the implementation gets generated into the header file.


Member Template Operations


Customer Type Descriptor for Type Aliases

In the previous release we introduced the support for C++ 11 type aliases which is a modern alternative to traditional typedefs. In this release it’s now possible to write a custom type descriptor for a type alias. This means that you now can replace typedefs with type aliases also when a custom type descriptor is required. For type aliases of STL collection types (list, set, map etc) you can use the Type Descriptor Hint property to instruct the model compiler to generate a type descriptor automatically for such types.


Custom Type Descriptor for Type Aliases


Removal of C-style Casts

We have done a complete walkthrough of all code in the TargetRTS and removed all C-style casts, since many modern C++ compilers and static code analyzers report warnings for them. Such casts have either been removed (if they were unnecessary), or replaced with corresponding C++ casts (static_cast or reinterpret_cast). The model compiler was also updated in a similar way, to not generate C-style casts anymore.

A benefit with this improvement is that the TargetRTS and generated code now can be compiled without use of the GCC -fpermissive flag, which helps in finding potential problems in the code.

Comment wrap
Further Reading
Secure DevOps | November 29, 2021
What’s new in HCL RTist 11.1 2021.46
Today we ship another release of HCL RTist: 11.1 2021.46. As usual, there are several new features and a few bug fixes. Let's look at some of the highlights.
Secure DevOps | November 9, 2021
Writing a generic type descriptor with HCL RTist
Starting with HCL RTist 11.1 2021.24 it's now possible to write a generic type descriptor that uses the same template parameters as the type. This can save a lot of time and avoid code duplication.
Secure DevOps | November 3, 2021
HCL RTist 11.1 2021.40 is here!
It's time again for a new release of RTist: 11.1 2021.40. Let's look at the highlights of this release.
Filters result by