On Thu, 24 Feb 2011, Colin McCabe wrote: > > Also, what is the constructor Pool(Rados *rados_, pool_t *pool_) > > intended to be used for? I don't see a method to get a pool_t from > > this API. > > Rados has to create Pools somehow, and that means they need a constructor. > > It could be hidden deeper using the usual C++ bag of tricks (like > private constructors and friend functions), but it didn't seem > necessary. What about a private constructor, and then in Rados have Pool *pool_open(const char *name); IMO that's less weird than Rados::Pool *p = new Rados::Pool(...); rados->pool_open(name, p); sage -- To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html