----------------------------------------------------------------------------------
@MSGID:
<ee5025c7-3121-4e6d-87a9-f54452f1c145n@googlegroups.com> 5d000181
@REPLY:
<9b605c0b-c8a1-40eb-a73f-428377f906a5n@googlegroups.com> bae80e94
@REPLYADDR Arjen Markus
<arjen.markus895@gmail.com>
@REPLYTO 2:5075/128 Arjen Markus
@CHRS: CP866 2
@RFC: 1 0
@RFC-References: 1@dont-email.me>
<5fbb8dcc-d5b9-45a4-9d4f-23caeebc0778n@googlegroups.com> 1@dont-email.me>
<9b605c0b-c8a1-40eb-a73f-428377f906a5n@googlegroups.com>
@RFC-Message-ID:
<ee5025c7-3121-4e6d-87a9-f54452f1c145n@googlegroups.com>
@TZUTC: -0700
@PID: G2/1.0
@TID: FIDOGATE-5.12-ge4e8b94
On Tuesday, August 29, 2023 at 6:56:51 PM UTC+2, Jeff Ryman wrote:
> On Tuesday, August 29, 2023 at 7:21:30 AM UTC-7, db wrote:
> > On 28.08.2023 12.27, Arjen Markus wrote:
> > > On Monday, August 28, 2023 at 11:37:28 AM UTC+2, db wrote:
> > >> Is there a good C++ converter to Fortran?
> > >> --
> > >> Dieter Britz
> > >
> > > Just to clarify: you do mean a tool to convert C++ code
to Fortran code? Not a tool to make the connection between C++ code
and Fortran code work smoothly?
> > >
> > > Regards,
> > >
> > > Arjen
> > That`s what I wanted, but maybe I should learn how to call C++
> > code from Fortran instead.
> > --
> > Dieter Britz
> That prompts me to ask if the Fortran C Interoperability is
sufficient to handle the needs of calling C++.
The interface would have to use the `extern "C"` construction, so
any C++ routine (function) to be called has to follow the C
conventions. Other than that (and the limitations that puts on the interfacing),
yes, I would say so.
Regards,
Arjen
--- G2/1.0
* Origin: usenet.network (2:5075/128)
SEEN-BY: 5001/100 5005/49 5015/255 5019/40 5020/715
848 1042 4441 12000
SEEN-BY: 5030/49 1081 5058/104 5075/128
@PATH: 5075/128 5020/1042 4441