[Boost-bugs] [Boost C++ Libraries] #5929: empty(), data(), size()
- Next message: Boost C++ Libraries: "Re: [Boost-bugs] [Boost C++ Libraries] #5929: empty(), data(), size()"
- Previous message: Boost C++ Libraries: "[Boost-bugs] [Boost C++ Libraries] #5928: FileSystem runtime error: locale::facet::_S_create_c_locale name not valid"
- Next in thread: Boost C++ Libraries: "Re: [Boost-bugs] [Boost C++ Libraries] #5929: empty(), data(), size()"
- Reply: Boost C++ Libraries: "Re: [Boost-bugs] [Boost C++ Libraries] #5929: empty(), data(), size()"
- Reply: Boost C++ Libraries: "Re: [Boost-bugs] [Boost C++ Libraries] #5929: empty(), data(), size()"
- Reply: Boost C++ Libraries: "Re: [Boost-bugs] [Boost C++ Libraries] #5929: empty(), data(), size()"
- Reply: Boost C++ Libraries: "Re: [Boost-bugs] [Boost C++ Libraries] #5929: empty(), data(), size()"
- Reply: Boost C++ Libraries: "Re: [Boost-bugs] [Boost C++ Libraries] #5929: empty(), data(), size()"
#5929: empty(), data(), size()
----------------------------------+-----------------------------------------
Reporter: olafvdspek@⦠| Owner: daniel_frey
Type: Feature Requests | Status: new
Milestone: To Be Determined | Component: operators
Version: Boost 1.47.0 | Severity: Problem
Keywords: |
----------------------------------+-----------------------------------------
While not being operators, those functions can be defined in terms of
others.
empty(): end() == begin()
data(): empty() ? NULL : &*begin()
size(): end() - begin()
Could those be added to the operators lib?
--
Ticket URL: <https://svn.boost.org/trac/boost/ticket/5929>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.
- Next message: Boost C++ Libraries: "Re: [Boost-bugs] [Boost C++ Libraries] #5929: empty(), data(), size()"
- Previous message: Boost C++ Libraries: "[Boost-bugs] [Boost C++ Libraries] #5928: FileSystem runtime error: locale::facet::_S_create_c_locale name not valid"
- Next in thread: Boost C++ Libraries: "Re: [Boost-bugs] [Boost C++ Libraries] #5929: empty(), data(), size()"
- Reply: Boost C++ Libraries: "Re: [Boost-bugs] [Boost C++ Libraries] #5929: empty(), data(), size()"
- Reply: Boost C++ Libraries: "Re: [Boost-bugs] [Boost C++ Libraries] #5929: empty(), data(), size()"
- Reply: Boost C++ Libraries: "Re: [Boost-bugs] [Boost C++ Libraries] #5929: empty(), data(), size()"
- Reply: Boost C++ Libraries: "Re: [Boost-bugs] [Boost C++ Libraries] #5929: empty(), data(), size()"
- Reply: Boost C++ Libraries: "Re: [Boost-bugs] [Boost C++ Libraries] #5929: empty(), data(), size()"
This archive was generated by hypermail 2.1.7
: 2017-02-16 18:50:07 UTC