Opened 10 years ago
#7732 new Bugs
Spirit Karma calls compile unqualified, which causes it to use compile functions found by ADL
Reported by: | Owned by: | Joel de Guzman | |
---|---|---|---|
Milestone: | To Be Determined | Component: | spirit |
Version: | Boost Development Trunk | Severity: | Problem |
Keywords: | Cc: |
Description
In boost/spirit/home/karma/generate.hpp, the function generate and generate_delimited calls compile without qualification. Which allows finding compile functions by ADL if the expression contains terminals not defined in the spirit namespace.
The call should be qualified.
Attachments (1)
Note:
See TracTickets
for help on using tickets.
Patch for correction of ADL issues with the compile function called in generante and parse functions