Where can I use alignas() in C++11?

前端 未结 4 1728
不思量自难忘°
不思量自难忘° 2020-11-27 17:26

In an effort to standardize my code and make it more portable, I replaced

#ifdef __GNUC__
typedef __attribute__((aligned(16))) float aligned_block[4];
#else
         


        
4条回答
提交回复
热议问题