Prototype vs Function declaration, const

in the prototype declaration for a method i did not declare that an argument was const

however in the actual method header i declared that it was const

does this still make the argument in the function const even though i did not define this in the prototype?
The compiler will treat them as two entirely different functions. If you attempt to call the prototyped version, you will get a linker error because that function has no body.
Topic archived. No new replies allowed.