Newsgroups: comp.lang.c
From: Helmut Leitner <leit...@hls.via.at>
Date: 1999/06/28
Subject: Expert-Q: (a!=b) != memcmp(&a,&b,sizeof a) ?
Let's assume that a and b have the same basic data type
(e.g. int, long, float, double ...). On many platforms it is possible to replace the What are the conditions that this will not yield the Can someone give (an) implementation example(s), where The background is the wish of fast and easy comparison typedef struct test { TEST sa,sb; Is it possible to construct such a general system to work Would it be possible to construct an #if-expression #if (expression_memcmp_will_do_the_job) to react to the different situations? -- You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||