Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:13:15

0001 #include "FWCore/Utilities/interface/typedefs.h"
0002 
0003 // Will fail compilation if any assert is violated.
0004 int main() {
0005   static_assert(sizeof(cms_int8_t) == 1, "type does not match size problem");
0006   static_assert(sizeof(cms_uint8_t) == 1, "type does not match size problem");
0007   static_assert(sizeof(cms_int16_t) == 2, "type does not match size problem");
0008   static_assert(sizeof(cms_uint16_t) == 2, "type does not match size problem");
0009   static_assert(sizeof(cms_int32_t) == 4, "type does not match size problem");
0010   static_assert(sizeof(cms_uint32_t) == 4, "type does not match size problem");
0011   static_assert(sizeof(cms_int64_t) == 8, "type does not match size problem");
0012   static_assert(sizeof(cms_uint64_t) == 8, "type does not match size problem");
0013 }