← Back to team overview

yade-users team mailing list archive

Re: [Question #684115]: Some basic concepts in FrictPhys.cpp


Question #684115 on Yade changed:

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?


You received this question notification because your team yade-users is
an answer contact for Yade.