What are the pros and cons of having an update source be a reference member instead of passing it to the update functions?

前端 未结 0 935
天涯浪人
天涯浪人 2020-12-21 04:36

I have a class whose instance relies completely on updates from an instance of a separate class. Simplified example:

#include "Source.h"

class Obje         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题