[cpp] 请教, boost::none_t 中一个语法问题

jiyong wu jiyong.wu at gmail.com
Fri Apr 14 20:17:10 CST 2006


namespace detail { struct none_helper{}; }
typedef int detail::none_helper::*none_t ;

去掉 namespace detail就是如下:

struct none_helper{};

typedef int none_helper::*none_t;

这个typedef 语句是什么意思?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://codingnow.com/pipermail/cpp/attachments/20060414/e8808d59/attachment.html


More information about the Cpp mailing list