]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
common: WRITE_{EQ,CMP}_OPERATORS_1
authorLoic Dachary <loic@dachary.org>
Wed, 28 May 2014 12:53:47 +0000 (14:53 +0200)
committerLoic Dachary <loic@dachary.org>
Thu, 29 May 2014 19:53:19 +0000 (21:53 +0200)
commit6786d60917ac67cac570e5e7c4a3db6d91a3121f
treed2e856e1adc0d4fd3cbbabe72f21f53101daf335
parent18d56c27249bd12c8335763dbe6dc2bba8315356
common: WRITE_{EQ,CMP}_OPERATORS_1

For when a struct is defined to encapsulate a single value and get
control over implicit conversions that would otherwise be impossible
with typedef.

Signed-off-by: Loic Dachary <loic@dachary.org>
src/include/cmp.h