c ++ language features get to the bottom

  Say c ++ difficult to learn proficient, so be careful not half bottle sloshing, should have a clear understanding of the concept, not know to ask, slowly accumulated, exercise, nature is not difficult when learning c ++.

  Question: Reference Parameters can be used as a container of it?

  Authoritative books say No, but the reason is not very clear, access to relevant information, can be said about generic parameters requirement is that object type, and references are not. Similarly, there is no container storage function bar, python should be done.

  What type of extraction is? Java is a reflection of it?

  

 

Reference: http://www.cplusplus.com/reference/type_traits/

  

Guess you like

Origin www.cnblogs.com/Robin008/p/12173467.html