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
Store openssl objects std::shared_ptr. Shared pointer keeps reference count and when coping objects the shared_ptr's inside both objects will be referring to the same underlying object. Also C++11 handles move operators.
Avoid third party library includes (openssl, xerces-c...) in headers, especially public headers. Use forward declaration when needed. It also speeds up build and do not require third party developers adjust include paths.
Keep public headers clean, even from documentation. It is easier to read and helps IDE-s with code completion. Write doxygen documentation in source files.