common: use decltype to approximate typeof for C++. v0.0.70 v0.0.72 v0.0.73
authorKrisztian Litkey <krisztian.litkey@intel.com>
Tue, 16 Dec 2014 19:05:03 +0000 (21:05 +0200)
committerKrisztian Litkey <krisztian.litkey@intel.com>
Tue, 16 Dec 2014 19:36:27 +0000 (21:36 +0200)
commitb83f55fc4c6f354c7939d2952940edbde1ddd647
tree18aa44ad855fd6363d901ee4caf525ea00f5db75
parentab35d3076ac662026502a2a719c45aaaf8cc2693
common: use decltype to approximate typeof for C++.

decltype looks good enough to approximate some usage of the
very handy gcc-compatible typeof extension. It does not seem
to be good enough to cover all cases (one known cas where it
breaks down is mrp_list_entry).
src/common/macros.h