Open shahzadlone opened 5 years ago
Yes, this can be achieved!
Instead of new use make_unique or make_shared.
make_unique
make_shared
Since we are using smart pointers we will not need delete, or delete[].
delete
delete[]
This ties in with: https://github.com/splinter-build/splinter/issues/22
Yes, this can be achieved!
Instead of new use
make_unique
ormake_shared
.Since we are using smart pointers we will not need
delete
, ordelete[]
.This ties in with: https://github.com/splinter-build/splinter/issues/22