Yupei Liu
Yupei Liu
- `void_t` idiom[1] ``` cpp template struct HasReference : std::false_type {}; template struct HasReference : std::true_type {}; ``` [1] [CppCon 2014: Walter E. Brown "Modern Template Metaprogramming: A Compendium, Part...
Notable changes: 1. `std::result_of` has been deprecated in C++ 17. Use `std::invoke_result` instead. 2. We should use `std::invoke` instead of write `f(args...)` directly. 3. We could use initializer in lambda's...
The manual in Lab3 shows that > Change the macros in trapentry.S to automatically generate a table for trap.c to use. Er...Any idea ?