摘要: #include <complex>#include <iostream>using namespace std;int main(void ){ complex< int> z(20, 200); cout << abs< int>(z) << endl; return 0;}According to the C++ ISO spec, §26.2/2:The effect of instantiating the templatecomplexfor any type other thanfloat,doub 阅读全文
posted @ 2012-06-20 09:30 嗷嗷 阅读(313) 评论(0) 推荐(0) 编辑