'noncopyable' : base class undefined

28 Sep
2005
28 Sep
'05
1:40 p.m.
Hi, I attempt to port program from x86 to arm, so I move the code from vc7.1 to evc4. But I encounter some problem.... By include <boost/utility.hpp>, I use class noncopyable to a base class, and derive my own class from noncopyable. In vc7.1 it works fine, while evc4 doesn't. Error message: error C2504: 'noncopyable' : base class undefined Any suggestion? Best Regards.

28 Sep
28 Sep
2:07 p.m.
On 9/28/05, Jing-Hsuan <edcedcedc@gmail.com> wrote: Error message: error C2504: 'noncopyable' : base class undefined Sounds like you're relying on a "using" declaration being in scope. You include the namespace in your declaration (e.g. boost::noncopyable instead of just noncopyable). -- Caleb Epstein caleb dot epstein at gmail dot com
7197
Age (days ago)
7197
Last active (days ago)
1 comments
2 participants
participants (2)
-
Caleb Epstein
-
Jing-Hsuan