why.gcc.in.c++.pdfVIP

  • 3
  • 0
  • 约1.73万字
  • 约 17页
  • 2016-03-12 发布于山西
  • 举报
why.gcc.in.c

Write gcc in C++ Ian Lance Taylor Google Write gcc in C++ Ian Lance Taylor Google June 17, 2008 C++ Write gcc in C++ Ian Lance Taylor Google ◮ C++ is a standardized, well known, popular language. ◮ C++ is nearly a superset of C90 used in gcc. ◮ The C subset of C++ is just as efficient as C. ◮ C++ supports cleaner code in several significant cases. ◮ C++ makes it easier to write cleaner interfaces by making it harder to break interface boundaries. ◮ C++ never requires uglier code. ◮ C++ is not a panacea but it is an improvement. VEC or vector? Write gcc in C++ Ian Lance Taylor Google / ∗ C ∗/ typedef struct loop ∗ loop p ; DEF VEC P ( loop p ) ; DEF VEC ALLOC P ( loop p , gc ) ; VEC ( loop p , gc ) ∗ superloops ; VEC reserve ( loop p , gc , superloops , depth ) ; VEC index ( loop p , superloops , depth ) VEC quick push ( loop p , superloops , fa the r ) ; VEC or vector? Write gcc in C++

文档评论(0)

1亿VIP精品文档

相关文档