$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Shunsuke Sogame (mb2act_at_[hidden])
Date: 2006-05-02 04:04:02
Hi gurus,
Under VC7.1/8,
    struct xxx : std::vector<int>
    {
        virtual void foo() = 0;
    };
    void test(xxx& rng)
    {
        BOOST_FOREACH (int x, rng) {
        }
    }
makes error,
    foreach.hpp(361) : error C2259: 'xxx' : cannot instantiate abstract class
GCC3.4.4 compiles.
Is this wrong code?
-- Shunsuke Sogame