Boost logo

Boost :

From: SourceForge.net (noreply_at_[hidden])
Date: 2005-08-25 09:38:35


Bugs item #1272315, was opened at 2005-08-26 00:08
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=107586&aid=1272315&group_id=7586

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Sergey Shandar (sergey_shandar)
Assigned to: Nobody/Anonymous (nobody)
Summary: boost.range and "const char[]".

Initial Comment:
// Both boost::end(...) and boost::size(...) return
wrong values.
// Compilers: GCC 3.3.4 and VC 7.1.
// A simple example:

#include <boost/range/size.hpp>
#include <boost/test/minimal.hpp>

int test_main(int, char *[])
{
        const char A[] = "\0A";
        BOOST_CHECK(boost::size(A)==2); // failed.
        return 0;
}

----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=107586&aid=1272315&group_id=7586

-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Boost-bugs mailing list
Boost-bugs_at_[hidden]
https://lists.sourceforge.net/lists/listinfo/boost-bugs


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk