|
[Sponsors] |
OpenFOAM smart pointers and Dependency Injection |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
July 16, 2021, 14:57 |
OpenFOAM smart pointers and Dependency Injection
|
#1 |
Member
Chris Harding
Join Date: Dec 2016
Posts: 76
Rep Power: 9 |
Hello,
Dr. Tomislav Maric told me to understand OpenFOAM smart pointers thoroughly. I know that auto_ptr and tmp are the two smart pointers often used. I would like to know if a main purpose of an OpenFoam smart pointer is to control coupling by dependency injection. |
|
July 17, 2021, 05:07 |
|
#2 | |
Senior Member
Mark Olesen
Join Date: Mar 2009
Location: https://olesenm.github.io/
Posts: 1,684
Rep Power: 40 |
Quote:
|
||
Tags |
dependency injection, smart pointer |
|
|