
"Gennadiy Rozental" <gennadiy.rozental@thomson.com> wrote in message news:c1hl7t$ls9$1@sea.gmane.org...
Hi,
Could anybody suggest workaround for Internal error I am getting when trying to compile using Borland command line tools with following code:
template<class PropertyType> class class_property { protected: PropertyType value; };
template<class PropertyType> class readwrite_property : public class_property<PropertyType> { typedef class_property<PropertyType> base;
using base::value; // <------- right here };
An access declaration seems to work: template<class PropertyType> class readwrite_property : public class_property<PropertyType> { typedef class_property<PropertyType> base; protected: class_property<PropertyType>::value; }; Jonathan