Skip to content

Rationale for removing namespace customization and amalgamated header? #346

Answered by ColinH
gitamohr asked this question in Q&A
Discussion options

You must be logged in to vote

The amalgamated header was removed because (a) we don't see much value in it, if you can copy one header you can copy a directory of them (for us the dividing line for ease-of-use is header-only vs. needs-to-be-compiled), (b) there are several choices of what all to include (no pun intended) or not; if contrib is part of the amalgamated header then you pull in ICU (!) and iostream as dependencies which not everybody will want ... and (c) it was more work to maintain than one might think.

The namespace customisation was originally introduced shortly after placing a copy of the PEGTL in taoJSON, i.e. to prevent a clash when a project uses both the PEGTL and taoJSON where the latter embeds a…

Replies: 1 comment 9 replies

Comment options

You must be logged in to vote
9 replies
@gitamohr
Comment options

@ColinH
Comment options

@gitamohr
Comment options

@ColinH
Comment options

@gitamohr
Comment options

Answer selected by ColinH
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
2 participants