C++ Logo

std-proposals

Advanced search

Re: [std-proposals] Concept of Libraries in C and C++

From: Thiago Macieira <thiago_at_[hidden]>
Date: Tue, 04 Apr 2023 20:53:41 -0300
On Tuesday, 4 April 2023 10:27:30 -03 Julian Waters via Std-Proposals wrote:
> it wouldn't make much
> sense to, say "export void createVM();" in C++ code that is indeed going to
> be compiled as an executable program for example :P

Yes, it does make sense. It's a horrible practice for libraries or plugins to
depend on symbols exported from the executable, but it is possible.

-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
   Software Architect - Intel DCAI Cloud Engineering

Received on 2023-04-04 23:53:47