Opened 11 years ago
#6116 new Bugs
In chain.hpp there is a variable named "null"
Reported by: | herod.scott at gmail.com | Owned by: | Jonathan Turkanis |
---|---|---|---|
Milestone: | To Be Determined | Component: | iostreams |
Version: | Boost 1.46.0 | Severity: | Problem |
Keywords: | null chain.hpp | Cc: |
Description
In boost/iostreams/chain.hpp on line 322 (of version 1.46 and others) there is a variable named "null". While that is legal C++, it is unfortunately all too common for people to place something like "#define null 0" somewhere else in their code base. It would be nice if that variable name could be made something like "null_device" which is less likely to cause a problem due to other code.
Note:
See TracTickets
for help on using tickets.