当前学科:面向对象程序设计
  • 题目: 选择题
    下面函数模板的声明错误的是( )

    • A. template < class T> T fun(int x){…}
    • B. template < class T> void fun(T x){…}
    • C. template < class T> void fun(T x){…}
    • D. template < class T> T fun(int x){…}

    答案: <查看本题扣1积分>

    查看答案

    答案不对?请尝试站内搜索