
10 May
2004
10 May
'04
9:13 a.m.
Hi, I an trying to make protected member defined in base class public: template<class PropertyType> class class_property { protected: PropertyType value; }; template<class PropertyType> class readwrite_property : public class_property<PropertyType> { public: typedef class_property<PropertyType> base; #if BOOST_WORKAROUND(__BORLANDC__, <= 0x570) base::value; #else using base::value; #endif }; Borland fail to compile it, stating something about an attempt to grant access to protected member. Well that's the whole point!! Any suggestions? Gennadiy.
7701
Age (days ago)
7701
Last active (days ago)
0 comments
1 participants
participants (1)
-
Gennadiy Rozental