[mercury-users] map and c_pointer

Michael Day mikeday at bigpond.net.au
Thu Apr 11 17:01:33 AEST 2002


If I have a map(string, foo), where foo ---> foo(c_pointer), should I
expect a segfault when I attempt to insert a value into the map?

Presumably foo has no tag so a value of type foo is an unadorned C
pointer, but given that it's just a value to be looked up this should not
cause any problems?

Michael


--------------------------------------------------------------------------
mercury-users mailing list
post:  mercury-users at cs.mu.oz.au
administrative address: owner-mercury-users at cs.mu.oz.au
unsubscribe: Address: mercury-users-request at cs.mu.oz.au Message: unsubscribe
subscribe:   Address: mercury-users-request at cs.mu.oz.au Message: subscribe
--------------------------------------------------------------------------



More information about the users mailing list