Development

共62篇文章。

Preparing for 6.0-RC1

Development

Well, this Saturday and Sunday is not for rest, because we have a 7-days’ vacation from October 1.

I think FreeBSD 6.0-STABLE (RELENG_6) is in a quite nice shape and it’s a good time to cut 6.0-RC1 (also RELENG_6_0) and be more careful committing code against RELENG_6. However, according to my diff service there are still a lot of unmerged changes.

I have submitted a plenty (about 4 or 5 or even 6 dozens) of MFC requests last week. I wish that the diff reduction part of these changes, in conjunction with important bugfixes, would got approved soon so we will have a healthy RC1 for test.

参与评论:Preparing for 6.0-RC1

How to represent some type inherted from other template, in a C++ template class?

Development

It’s not quite easy to represent a type that is found in base “template class”. Consider the following code:


template <class Key,class T>     class CMyClass: public map<Key,T>{public:    void lookup(Key x)    {        map<Key,T>::iterator iter;         iter = find(x);    }};


阅读全文…:How to represent some type inherted from other template, in a C++ template class?(本文约63字,阅读大致需要1分钟)
搜索文章…(按ESC退出)