EffectiveModernCpp
latest
  • 类型推断
    • 模板类型推断机制
    • auto
    • decltype
    • 查看推断类型的方法
  • auto
  • 转向现代C++
  • 智能指针
  • 右值引用、移动语义和完美转发
  • lambda表达式
  • 并发API
  • 其他轻微调整
EffectiveModernCpp
  • Docs »
  • 类型推断
  • Edit on GitHub

类型推断¶

Contents:

  • 模板类型推断机制
    • ParamType 不是引用或指针
    • ParamType 是引用类型
    • ParamType 是指针类型
    • ParamType 是转发引用
    • expr 是函数名
  • auto
    • C++14中的auto
    • C++17中的auto
  • decltype
    • decltype的特殊情况
  • 查看推断类型的方法
Next Previous

© Copyright 2020, chayliu Revision a08fda66.

Built with Sphinx using a theme provided by Read the Docs.