Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: sharing c++ class



So that would be the only way. Its not possible to have a library that exports a C++ class?

--
Alexander Cohen
http://www.toomuchspace.com
(819) 348-9237
(819) 432-3443
On Nov 29, 2003, at 06:09 PM, Tom Becker wrote:

On 11/29/03 2:51 PM, Alexander Cohen wrote:
What would be the best way to share a C++ class wich i have written
without actually sharing the source code (open source). I know i could
wrap the whole thing up into a regular c style library but i would
rather the user be able to have access to the actual C++ class. Is this
at all possible? All my attemps have failed up to now!

Make a C style library. That is your private implementation. Ship it with
the source for a C++ class that calls the private implementation.

Tom

--
Tom Becker "Within C++, there is a much smaller and
Object-Oriented Propeller Head cleaner language struggling to get out."
<email@hidden> -- Bjarne Stroustrup
_______________________________________________
carbon-development mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/carbon-development
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: sharing c++ class (From: Tom Becker <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.