const对左值引用类型的影响

const对左值引用类型的影响

const&&一样,对左值引用类型不会产生影响。 例:

T const => T //T 是左值引用类型
T && => T //T 是左值引用类型
Show Disqus Comments

Search

    welcome to visit my github

    creatorlxd's github

    Table of Contents