IsUnique not available in C++ templates (#1583)
I am trying to substitue the unique flag of an c++ class operation so that it puts "explicit" in the code. However althouh the code responds fine to static and virtual, nothing happens with IsUnique.
<%==SIM:ForEach:Element.Operations==%>
<%==SIM:If:Equals(Operation.Visibility,public)==%>
<%==SIM:If:Operation.IsStatic==%> static <%==SIM:EndIf==%>
<%==SIM:If:Operation.IsVirtual==%> virtual <%==SIM:EndIf==%>
<%==SIM:If:Operation.IsUnique==%> explicit <%==SIM:EndIf==%>
<%==SIM:If:Operation.HasReturnType==%><%==SIM:Operation.ReturnType==%><%==SIM:EndIf==%><%==SIM:IfNot:Operation.HasReturnType==%><%==SIM:EndIf==%> <%==SIM:Operation.Name==%>(<%==SIM:ForEach:Operation.Parameters==%><%==SIM:Parameter.Type==%> <%==SIM:Parameter.Name==%><%==SIM:IfNot:IsLastItem==%>, <%==SIM:EndIf==%><%==SIM:EndFor==%>);<%==SIM:Line==%>
<%==SIM:EndIf==%>
<%==SIM:EndFor==%>
Dusan Rodina - softwareideas.net 17 January 2019 11:20:53
Thank you for your notice. You are right this command is missing. It will be added in the next release.