列表 第页
我目前是在发展中的C ++ 11 OS内核的过程中,我也遇到一个问题,我似乎无法找到答案,以我自己。I'm currently in the process of developing an OS kernel in C++11, and I've come across a question, I cannot s...阅读全文
我有被用作类型的对象 T 的底层存储阵列:I have an array which is used as the underlying memory of an object of type T:char memory[sizeof T];...new(memory) T(whatever);我怎样才能确...阅读全文
我无法理解的目的 alignas 和 alignof 关键字,我不能肯定我完全明白对齐是什么。I'm having trouble understand what the purpose of the alignas and alignof keywords are, and I'm not quite sure I...阅读全文
在为了规范我的code,使之更便于携带,我换成In an effort to standardize my code and make it more portable, I replaced#ifdef __GNUC__typedef __attribute__((aligned(16))) float ali...阅读全文