texttransformer.jpg

03/31/2021

For recursively called nested functions, DelphiXE2Cpp11 now generates explicit forward declarations in C ++ instead of the error-causing auto routines. E.g .:


  function nested : boolean;

    function nested_reflexive(depth :Integer) : boolean;
    begin
      if depth = 2 then
        result := true
       else
        result := nested_reflexive(depth + 1);
    end;

  begin
    result := nested_reflexive(0);
  end;

->

function<bool (int)> nested_reflexive;

bool __fastcall nested()
{
  bool result = false;

  nested_reflexive = [&](int depth) -> bool 
  {
    bool result = false;
    if(depth == 2)
      result = true;
    else
      result = nested_reflexive(depth + 1);
    return result;
  };
  result = nested_reflexive(0);
  return result;
}

Additional RTL files have been translated:

System.ZLib
System.ZLibConst
System.Win.Registry


08/05/2020

Improved solution for the C ++ replication of module-wide visibility of class members in Delphi.

The actualized documentation already contains information to the planned programm Delphi2CB. Delphi2CB will be a low cost extract from DelphiXE2Cpp11 for users of C++Builder.


06/23/2020

DelphiXe2Cpp11 translation-service offer: 1000 lines of your code converted for free


04/02/2020
Documentation actualized, beta offer closed

11/15/2019
Nifty class references

For other compilers then C++Builder DelphiXE2Cpp11 supports a new pattern to create class references, which is much more nifty than that of the old Delphi2Cpp. There is a function:

template <class Class> TClass class_id()


which delivers instances of class references in a similar way as the __classid function at C++Builder. Class instances can be created from such class references by calling virtual constructor functions.


10/16/2019
Offer of DelphiXE2Cpp11 beta



   deutsch Deutsch

 

 
Latest News
06/11/21
TextTransformer: Free license [more...]

03/31/21
DelphiXE2Cpp11: Reflexive nested routines [more...]



"Thanks for your great work, really appreciate the work you have done on zlib and compiling ... test case."


Mattewada, Udayabhaskar
Nokia India 02/01/2021



 
This website is generated from plain text with [Minimal Website ]

Minimal Website
Minimal Website is made with TextTransformer

TextTransformer
TextTransformer is made with Borland CBuilder

  borland