• Elizabeth Smith's avatar
    msvc packed attribute translation · aafd8ff9
    Elizabeth Smith authored
    Summary:
    Provide translations for gcc packed
    
    MSVC has a very very ugly syntax for packing using pragmas which is very different from the gcc attribute
    this makes it very hard to macro around, but lots of ifdefs are also painful - cleanest of the hackery is to simply have push, pop, and attribute macros for packed that define properly depending on the compiler
    
    Test Plan: fbmake runtests
    
    Reviewed By: njormrod@fb.com
    
    FB internal diff: D1279966
    aafd8ff9
small_vector.h 33.8 KB