Skip to Main Content
Cloud Platform


This is an IBM Automation portal for Cloud Platform products. To view all of your ideas submitted to IBM, create and manage groups of Ideas, or create an idea explicitly set to be either visible by all (public) or visible only to you and IBM (private), use the IBM Unified Ideas Portal (https://ideas.ibm.com).


Shape the future of IBM!

We invite you to shape the future of IBM, including product roadmaps, by submitting ideas that matter to you the most. Here's how it works:

Search existing ideas

Start by searching and reviewing ideas and requests to enhance a product or service. Take a look at ideas others have posted, and add a comment, vote, or subscribe to updates on them if they matter to you. If you can't find what you are looking for,

Post your ideas
  1. Post an idea.

  2. Get feedback from the IBM team and other customers to refine your idea.

  3. Follow the idea through the IBM Ideas process.


Specific links you will want to bookmark for future use

Welcome to the IBM Ideas Portal (https://www.ibm.com/ideas) - Use this site to find out additional information and details about the IBM Ideas process and statuses.

IBM Unified Ideas Portal (https://ideas.ibm.com) - Use this site to view all of your ideas, create new ideas for any IBM product, or search for ideas across all of IBM.

ideasibm@us.ibm.com - Use this email to suggest enhancements to the Ideas process or request help from IBM for submitting your Ideas.


Status Future consideration
Created by Guest
Created on Jun 30, 2020

RSARTE: Better support for generated class operators

Better support for generated methods for C++ classes.
Via the C++ general tab several C++ methods (constructor/equality operator etc.) can be generated automatically
Several improvements and extensions are possible:
- Make these generated operators visible in the project explorer or at least in the properties/operations tab, because
these operators are also part of the class interface.
- Add an option to generate the equality operator and inequality operator as friend instead of as member functions (due to symmetry reasons creating these operators as external methods is preffered above member functions)
- Add for each class attribute an option to exclude this attribute from the equality/inequality operator, so class comparision can be done based on only a subset of the attributes
- Beside equality and inequality operators also operators <, <=, > and >= can be generated automatically
- In C++20 comparision will be updated with the introduction of a "space ship" operator <=>, add support for this operator
- add options to automatically create ostream operator<<
- Based on a user defined base operator, other operators can also be generated automatically, e.g. postfix operator++(int)
based on user defined prefix operator++, addition operator+ based on user defined operator+= etc.
A A::operator++(int) // postfix
{
const auto tmp(*this);
operator++(); // prefix
return tmp;
}

A operator+(const A& a, const A& b)
{
auto tmp(a);
return tmp += b;
}

Idea priority Medium
RFE ID 143578
RFE URL
RFE Product Rational Software Architect Real Time Edition
  • Guest
    Reply
    |
    Jul 2, 2020

    A preliminary evaluation of this request indicates that it is consistent with our business strategy. Further evaluation of this RFE is underway.