摘要:
1 #include <utility> 2 3 struct A 4 { 5 void f() && { } 6 }; 7 8 void g(A &&a) 9 { 10 a.f(); //error, a是左值 11 std::move(a).f(); //fine 12 } 13 14 int 阅读全文
摘要:
jQueryUI自动完成部件autocomplete使用term作为查询字符串名称,如果对应的控制器Action的参数名不设置为term,将导致参数绑定失败进而使部件无法正常工作。 阅读全文