What is monomorphisation with context to C++?

前端 未结 4 1841
孤独总比滥情好
孤独总比滥情好 2020-11-30 23:00

Dave Herman\'s recent talk in Rust said that they borrowed this property from C++. I couldn\'t find anything around the topic. Can somebody please explain what monomorphisat

4条回答
  •  渐次进展
    2020-11-30 23:27

    Not sure about this; could you link to the talk? It might have been an offhanded remark.

    Herman might have coined a term for something like template specialization, which generates types/objects which are mutually unrelated (not-polymorphic or "monomorphic") from the template, which is a polymorphic structure.

提交回复
热议问题