$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Gennadiy Rozental (gennadiy.rozental_at_[hidden])
Date: 2004-05-10 04:13:48
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.