*/
template<class _IntT>
class BitField : public Range<_IntT, 0, MaxBits<_IntT>::value>
- , public base::SafeBool<BitField<_IntT> > /* private, but gcc refuses */
+ , private base::SafeBool<BitField<_IntT> >
{
typedef typename base::SafeBool<BitField<_IntT> >::bool_type bool_type;
DEFINE_PTR_TYPE(RepositoryImpl);
class RepositoryImpl;
}
-
- class Repository : protected base::SafeBool<Repository> /* private, but gcc refuses */
+
+ class Repository : private base::SafeBool<Repository>
{
public:
friend std::ostream & operator<<( std::ostream & str, const Repository & obj );
/** Runtime unique numeric Repository Id. */
NumericId numericId() const;
-
+
const ResStore & resolvables();
-
+
const RepoInfo info() const;
-
+
private:
friend base::SafeBool<Repository>::operator bool_type() const;
/** \ref SafeBool test. */
private:
/** Pointer to implementation */
- Impl_Ptr _pimpl;
+ RW_pointer<Impl,rw_pointer::Intrusive<Impl> > _pimpl;
};
}
Repository RepositoryFactory::createFrom( const RepoInfo & context )
{
-
+ return Repository::noRepository;
}
} // ns zypp
* \note Source is a reference to the implementation. No COW
* is performed.
*/
- class Source_Ref : protected base::SafeBool<Source_Ref> /* private, but gcc refuses */
+ class Source_Ref : private base::SafeBool<Source_Ref>
{
friend std::ostream & operator<<( std::ostream & str, const Source_Ref & obj );
friend bool operator==( const Source_Ref & lhs, const Source_Ref & rhs );