10 Matching Annotations
  1. Apr 2021
  2. Oct 2019
  3. Sep 2019
  4. Dec 2018
  5. Jan 2017
    1. Notice the getter doesn't care about the type of the input in the json file, but only rely on the ability to convert the string to the type you are asking.

      json文件读取时要注意这点,json中数据类型并不重要

  6. Dec 2016
    1. always use a named smart pointer variable to hold the result of new

      使用shared_ptr的第一原则

    2. Because the implementation uses reference counting, cycles of shared_ptr instances will not be reclaimed.

      链表就有可能出现循环引用的问题