[Boost-bugs] [Boost C++ Libraries] #6116: In chain.hpp there is a variable named "null"

Subject: [Boost-bugs] [Boost C++ Libraries] #6116: In chain.hpp there is a variable named "null"
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-11-11 22:00:57


#6116: In chain.hpp there is a variable named "null"
--------------------------------------+-------------------------------------
 Reporter: herod.scott at gmail.com | Owner: turkanis
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: iostreams
  Version: Boost 1.46.0 | Severity: Problem
 Keywords: null chain.hpp |
--------------------------------------+-------------------------------------
 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.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/6116>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:07 UTC