yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #20782
Re: [Question #684115]: Some basic concepts in FrictPhys.cpp
Question #684115 on Yade changed:
https://answers.launchpad.net/yade/+question/684115
Robert Caulk posted a new comment:
Ah we worked on this at the same time, Jan ;-).
About this piece:
const shared_ptr<FrictPhys>& contactPhysics
According to stack overflow, a const shared_ptr<FrictPhys> contactPhys
(sans &), would mean that contactPhysics is constant [1]. So I am
guessing we can only modify it because we are taking it as a reference
too. Maybe you can clarify this?
[1]https://stackoverflow.com/questions/17793333/difference-between-
const-shared-ptrt-and-shared-ptrconst-t
--
You received this question notification because your team yade-users is
an answer contact for Yade.