Block or report user
Developer Program Member

Organizations

@moseeker @sourcemd

Pinned repositories

  1. webpackrails

    Webpack+Rails, forked from browserify-rails. [No Longer Maintained]

    Ruby 11 4

  2. zmjdc

    🎱 怎么记单词网站 zmjdc website built in PHP

    PHP 1

  3. bin-packing

    😔 Failed to implement some kind layout in browser.

    Python 54 2

  4. snakego

    🐍 Greedy snake game in Go, Project for Codelympics.

    Go 3

  5. calgos

    🎗 Algorithms in C++, radix, counting, quicksort, bucket sort etc.

    C++ 4 1

  6. react-best-practice

    Demonstrate the benefit from using a good architecture.

    JavaScript 1

497 contributions in the last year

May Jun Jul Aug Sep Oct Nov Dec Jan Feb Mar Apr Mon Wed Fri

Contribution activity First pull request First issue First repository Joined GitHub

April 2017

Created an issue in towry/n that received 2 comments

C++实例化和具体化

模板只是生成具体定义的方案,编译器使用模板生成具体定义(具体的函数定义或者类定义)时,得到的是模板的实例(instantiation)。对于函数来说,在函数调用时,编译器会根据函数参数来隐式实例化模板。而对于类来说,只有在声明出一个对象的时候才会进行隐式实例化(A *a,不会;A *a = n…

Seeing something unexpected? Take a look at the GitHub profile guide.