$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Neal Becker (ndbecker2_at_[hidden])
Date: 2008-01-03 09:42:13
The common idiom is:
for (; i != boost::end (vector); ++i) ...
The compiler had damn well better realize that boost::end is a constant
function that can be lifted from the loop, or performance can be severely
impacted.
Does anyone have any experience with this? Is there a portable way to give
hints to the compiler? Should boost provide such a facility?