Re: [review] The review of boost::container::hub starts! April 16 - April 26
Ion Gaztañaga via Boost <[email protected]>
| Newsgroups | gmane.comp.lib.boost.devel |
|---|---|
| Message-ID | <[email protected]> |
El 19/04/2026 a las 21:34, Christian Mazakas via Boost escribió: > On Wed, Apr 15, 2026 at 3:48 PM Ion Gaztañaga via Boost < > [email protected]> wrote: > >> Dear users and members of Boost, >> >> I'm proud to announce that the formal review of Joaquín M López Muñoz's >> boost::container::hub container, for inclusion in the Boost.Container >> library, starts today ( in my timezone ;-) ), April 16, and runs through >> April 26. >> > > I'm not sure if we've already had this discussion or not but I'd actually > suggest considering putting Hub either in its own library or one that's > unconditionally header-only. > > My concern here is that if we put Hub into Container, people looking for > Hub and using CMake will wind up using Boost::container which I fear > transitively carries a binary dependency. I was certainly not an optimal decision to make Boost.Container compiled for some functions. I don't think those functions are very popular, and maybe Boost.Container should contain in the future the code that the user should put in its own DLL (say, globals for PMR, allocators, etc.). In the latest CMakeLists.txt there is a BOOST_CONTAINER_HEADER_ONLY option to avoid the binary dependency: https://github.com/boostorg/container/blob/boost-1.90.0/CMakeLists.txt Best, Ion _______________________________________________ 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/5SPO2LOEUGCB7F4TQACFHNL5IWACFWI5/