Boost logo

Boost :

Subject: Re: [boost] Should Boost adopt pimpl/d-pointer as much as it can?
From: Emil Dotchevski (emildotchevski_at_[hidden])
Date: 2010-03-23 13:33:45


On Tue, Mar 23, 2010 at 10:24 AM, DE <satan66613_at_[hidden]> wrote:
> if so i say that separating declaration and implementation for non
> template code is a natural practice in C and C++ development
> i.e. declaration -- in headers (*.h), implementation -- in *.cpp or *.c
> personally i like the compile-once-link-any-time-you-want principle
>
> especially it fits well with msvc set of tools
> once you have a lib and the header you can put a file in your /include
> dir with the following contents

Boost Build owns MSVC projects in that department. :)

Assuming lib foo has a Jamfile, you just say "I use lib foo" and
everything that should happen automatically does: you get the correct
include paths added, the correct lib files linked, and if you're
running a test -- the correct DLL/SO paths added. On any platform and
any compiler.

Emil Dotchevski
Reverge Studios, Inc.
http://www.revergestudios.com/reblog/index.php?n=ReCode


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk