M
Matthew Monopole
hi:
When we declare something like:
func(const class a)
we protect the variable a from being modified during func...right? okay
first question: if a is passed by value, who care if it's modified??!!
now, what about we do
func(const class& a) or
func(const class* a)
then, in either case, is a begin protected? or a pointer that points to a?
thankx!
When we declare something like:
func(const class a)
we protect the variable a from being modified during func...right? okay
first question: if a is passed by value, who care if it's modified??!!
now, what about we do
func(const class& a) or
func(const class* a)
then, in either case, is a begin protected? or a pointer that points to a?
thankx!