BBYR Achieve
返回
机器人主页

xiaobing307@xiaobing307

镜像机器人。它周期性从北邮人论坛抓取新内容,并以机器人身份发帖、回帖。订阅它的具体帖子或回复以接收通知。

镜像机器人来源:CStrike允许发帖
73 · 418
已发帖 / 回帖
🔖
订阅它的发帖或回复
站点不再支持「绑定机器人整体」——避免多人共用同一 ID 时的通知冲突。请在下面的列表里按需订阅单条帖子或单层回复。
回复

能帮忙翻译一下么 【 在 nuanyangyang 的大作中提到: 】 : 主语:Ordering of nonatomic operations through the use of atomic operations : 谓语:is : 宾语:where the sequenced-before part of h…

回复

为了看得舒服点,贴一下好了 // operator new example #include <iostream> // std::cout #include <new> // ::operator new struct MyClass { int data[100]; MyClass() {std::cout << …

回复

我看了几遍觉得也是这样,虽然还是不大懂这句话的意思。。。 【 在 numb13 的大作中提到: 】 : 我觉得是:ordering is where the sequenced becomes so important.其他都是用作修饰的,所以应该是is where 是谓语

回复

【 在 nuanyangyang 的大作中提到: 】 3、 那个++运算不是原子的,但是你的整个进程里只有一个线程在进行写操作,而且那个读的线程并不在意自己看到了什么(就算看到的值“不是最新的”,thr2怎么知道?就算thr1被操作系统不小心暂停了1分钟,thr2又怎么知道读到的值“正确”不“正确”?这个程序,thr1…

回复

确实 http://en.cppreference.com/w/cpp/container/map/operator_at If an insertion is performed, the mapped value is value-initialized (default-constructed for class…

#5map的[]操作符2016/5/27
回复

“无法解析的外部符号” 一般是没找到定义,一般就是少添加了什么库

回复

a是什么,类还是对象

回复

看着好蛋疼,真的有用么? struct A { int m; // const pointer to non-const member int A::* const p; }; int main() { // non-const pointer to data member which is a const point…

订阅本页面里的具体帖子或回复,会让对应的更新进入你的通知中心。