Ardupilot2/libraries/AP_Common
Peter Barker 4dc157951b AP_Common: add template to check structure size
This has the advantage of telling you what the sizes are

In file included from ../../libraries/AC_AttitudeControl/AC_PosControl.h:3:
../../libraries/AP_Common/AP_Common.h:103:3: fatal error: static_assert failed "wrong size"
  static_assert(s == t, "wrong size");
  ^             ~~~~~~
../../libraries/AP_Common/AP_Common.h:147:52: note: in instantiation of template class 'assert_structure_size<12, 11>' requested here
assert_structure_size<sizeof(struct Location), 11> _assert_location_size;
2019-01-16 11:45:29 +11:00
..
examples/AP_Common AP_Common: example fix travis warning 2017-04-13 19:56:16 +01:00
missing AP_Common: fixed cygwin ChibiOS build 2018-03-02 17:11:31 +11:00
tests AP_Common: add tests for Bitmask 2018-12-10 12:52:41 +09:00
AP_Common.cpp Global: remove mode line from headers 2016-10-24 09:42:01 -02:00
AP_Common.h AP_Common: add template to check structure size 2019-01-16 11:45:29 +11:00
AP_FWVersion.cpp AP_Common: AP_FWVersion: create singleton 2018-06-18 19:10:37 +01:00
AP_FWVersion.h AP_Common: AP_FWVersion: create singleton 2018-06-18 19:10:37 +01:00
AP_Test.h Global: remove mode line from headers 2016-10-24 09:42:01 -02:00
Bitmask.cpp AP_Common: Bitmask: use sizeof() in place of constant 2018-12-10 12:52:41 +09:00
Bitmask.h AP_Common: Bitmask: choose builtin based on type for find_first_set 2018-12-10 12:52:41 +09:00
c++.cpp Global: remove mode line from headers 2016-10-24 09:42:01 -02:00
keywords.txt Add support for 'new' and 'delete', so we can cons things on the fly. 2010-10-17 04:02:06 +00:00
Location.cpp AP_Common: Location: use AP_AHRS singleton 2018-06-01 16:18:33 +01:00
Location.h AP_Common: Location: use AP_AHRS singleton 2018-06-01 16:18:33 +01:00
Semaphore.h AP_Common: allow more than one WITH_SEMAPHORE per context 2018-09-06 08:23:02 +10:00