[Boost-bugs] [ boost-Bugs-1272315 ] boost.range and "const char[]".

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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/boost-bugs
participants (1)
-
SourceForge.net