摘要: Implicit vs Explicit Sharing Implicit sharing might not be right for the Employee class. Consider a simple example that creates two instances of the implicitly sharedEmployee class. #include "emplo... 阅读全文
posted @ 2012-03-28 19:29 katago 阅读(262) 评论(0) 推荐(0)
摘要: QList<QString> list; list << "A" << "B" << "C" << "D"; QListIterator<QString> i(list); while (i.hasNext()) qDebug() << i.next();Unlike STL-style iterators (covered below), Java-style iterators ... 阅读全文
posted @ 2012-03-28 12:05 katago 阅读(273) 评论(0) 推荐(0)