小编sto*_*yan的帖子

P ::************在Boost assert.hpp文件中的含义是什么?

boost/mpl/assert.hpp中,我看到这样的事情:

template<class Pred>
struct eval_assert {
    typedef typename extract_assert_pred<Pred>::type P;
    typedef typename P::type p_type;
    typedef typename ::boost::mpl::if_c<p_type::value,
        AUX778076_ASSERT_ARG(assert<false>),
        failed ************ P::************
    >::type type;
};
Run Code Online (Sandbox Code Playgroud)

如果第一个************可以被视为struct失败的指针,那P::************对我来说真的没有任何意义.这是标准的C++吗?

c++ boost pointers

80
推荐指数
3
解决办法
4230
查看次数

标签 统计

boost ×1

c++ ×1

pointers ×1