|
Boost : |
From: ÐмиÑÑий ÐÑÑ
ипов (grisumbras_at_[hidden])
Date: 2024-09-16 16:25:08
ÑÑ, 12 ÑенÑ. 2024â¯Ð³. в 17:29, Julien Blanc via Boost <boost_at_[hidden]>:
> i think the following can be done quite easily:
>
> * the macro to opt out from gdb pretty printing already exists, move its
> usage from inside gdb_printers.hpp to config.hpp
> * provide a public (ie, not in details) json/debug_printers.hpp file, which
> unconditionally includes gdb_printers.hpp, to opt-in again. This file
> shall not be included by any library code.
>
> This allows client code to circumvent the limitations, and is fully transparent
> for users not affected by the duplicated python code issue.
>
> I can file a PR if you are ok with this approach.
Sure, sounds like a good idea.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk