【发布时间】:2014-09-25 22:00:35
【问题描述】:
很简单,有什么办法让A引用B::value_type,B引用A::value_type?
struct B;
struct A {
using value_type = int;
value_type a;
B::value_type b;
};
struct B {
using value_type = int;
value_type b;
A::value_type a;
};
【问题讨论】: