Boost logo

Boost :

From: (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:

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:

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 *
Boost-bugs mailing list

Boost list run by bdawes at, gregod at, cpdaniel at, john at