Add mention of unique_ptr and std::copy to contributing docs

This commit is contained in:
Dane Springmeyer 2014-12-05 12:28:51 -05:00
parent ce605e3982
commit 3da1342185

View file

@ -133,6 +133,9 @@ which triggers locks
void my_function(std::string const& val); // if std::string or user type, pass by const& void my_function(std::string const& val); // if std::string or user type, pass by const&
#### Use unique_ptr instead of new/delete
#### Use std::copy instead of memcpy
#### When to use shared_ptr and unique_ptr #### When to use shared_ptr and unique_ptr