string literal as const var parameter

Prof. A Olowofoyeku (The African Chief) chief at greatchief.plus.com
Wed Jun 27 14:29:05 CEST 2012


On 27 Jun 2012 at 11:47, Adriaan van Os wrote:

[...]
> const var parameters were introduced to interface with external (C)
> routines where (1) the API requires that the parameter is passed by
> reference and (2) passing a constant as actual parameter should be
> allowed. For normal use, const parameters can be used.

Don't const parameters comply with both conditions?

Best regards,  
 The Chief
-------
Prof. Abimbola Olowofoyeku (The African Chief)
Web: http://www.greatchief.plus.com





More information about the Gpc mailing list