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

Fei Xu flyingxu at gmail.com
Tue Apr 18 14:53:26 CST 2006


但是在楼主的帖子中,结构体是空的啊,这个时候类的成员的地址,是什么?

 ======== 10:33:37 您在来信中写道: ========




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

 去掉 namespace detail就是如下:

struct none_helper{};

typedef int none_helper::*none_t;

这个typedef 语句是什么意思?






--
Fei Xu
Shanghai, China



More information about the Cpp mailing list