| | | | Browse by category |
Article ID: 1032
Last updated: 05 Feb, 2008
Problem
Shifting an RWCollectable string onto or out of one of the derived virtual stream classes causes an ambiguity error.
Cause
Operator overloading problem.
Action
Cast the derived virtual stream to a virtual stream base class reference. For example:
Shifting an RWCollectable string onto or out of one of the derived virtual stream classes causes an ambiguity error.
Cause
Operator overloading problem.
Action
Cast the derived virtual stream to a virtual stream base class reference. For example:
(RWvostream&) my_postream << my_coll_string;
This article was:
Helpful |
Not helpful
Report an issue
Article ID: 1032
Last updated: 05 Feb, 2008
Revision: 1
Views: 2859
Posted: 25 Jun, 1997 by
Dean J.
Updated: 05 Feb, 2008 by
Dean J.
Others in this category
Powered by KBPublisher (Knowledge base software)