const question

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/OpenBSC@lists.osmocom.org/.

Neels Hofmeyr nhofmeyr at sysmocom.de
Wed Jan 27 08:23:19 UTC 2016


On Tue, Jan 26, 2016 at 05:25:16PM +0100, Jacob Erlbeck wrote:
> Yes, C is not optimal for providing such a family of functions.

Sheesh.

I'm kinda disappointed now. It seems C++ has the same kludge, though I
thought I remembered to have used <type> as const <type> implicitly
before... maybe some old memory from Java times long passed...


> Perhaps
> http://stackoverflow.com/questions/28062095/pass-a-two-dimensional-array-to-a-function-of-constant-parameter
> sheds some light on that.

Thanks for the link! That one evaded me while searching.

And thanks for nothing, C  *sulk*
;)

~Neels

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.osmocom.org/pipermail/openbsc/attachments/20160127/abab40e2/attachment.bin>


More information about the OpenBSC mailing list