QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#883021 | #9734. Identify Chord | tzl_Dedicatus545 | Compile Error | / | / | C++14 | 4.0kb | 2025-02-05 14:26:28 | 2025-02-05 14:26:30 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
详细
answer.code:69:79: error: ‘void_t’ was not declared in this scope 69 | template<typename T> constexpr bool canbe_output<T,void_t<decltype(*(ostream *)nullptr<<declval<T>())>> =true; | ^~~~~~ answer.code:69:79: note: ‘std::void_t’ is only available from C++17 onwards answer.code:69:129: error: template argument 2 is invalid 69 | template<typename T> constexpr bool canbe_output<T,void_t<decltype(*(ostream *)nullptr<<declval<T>())>> =true; | ^~