You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The library is inconsistent about the placement of the ptr-operator, sometimes even within the same class, e.g. [util.smartptr.shared] has
template<class Y> explicit shared_ptr(Y* p);
template<class Y, class D> shared_ptr(Y* p, D d);
[...]
template<class Y> shared_ptr(const shared_ptr<Y>& r, T *p) noexcept;
It would be better to be consistent. A couple of quick searches indicate the more common placement is on the left with the type (which is the correct style IMHO ;-)
The text was updated successfully, but these errors were encountered:
The library is inconsistent about the placement of the ptr-operator, sometimes even within the same class, e.g. [util.smartptr.shared] has
It would be better to be consistent. A couple of quick searches indicate the more common placement is on the left with the type (which is the correct style IMHO ;-)
The text was updated successfully, but these errors were encountered: