Re: [Capy review] On peer dependencies

Ruben Perez via Boost <[email protected]> Tue, 23 Jun 2026 19:45:12 +0200
Newsgroups gmane.comp.lib.boost.devel
Message-ID <CACR-md+oe0KFXyEBZ1wzEtUJV=qeucn-bOYCrtocgW8rXp8AnA@mail.gmail.com>
On Tue, 23 Jun 2026 at 19:28, Vinnie Falco <[email protected]> wrote:
>
> On Tue, Jun 23, 2026 at 10:26 AM Ruben Perez <[email protected]> wrote:
>>
>> The only problem with an "ignore directory" is that these components may have an implementation header counterpart (mysql/impl/pfr.hpp).
>
>
> That's OK. Boostdep only promises to show you stock dependencies. If you include an optional header then you get what you get.

I may have explained myself incorrectly. You've got an optional
header, mysql/pfr.hpp. This header includes mysql/impl/pfr.hpp for the
implementation of its template functions (the same way as you've got
in Beast). These two are the only places where Boost.Pfr is included,
and together form the peer dependency. The user does not include the
impl header at all. They just happen to not be in a separate
directory.
_______________________________________________
Boost mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://lists.boost.org/mailman3/lists/boost.lists.boost.org/
Archived at: https://lists.boost.org/archives/list/[email protected]/message/D7COG5T4J6JB555CBKXIXEQ556OUHUSE/