This returns a new empty class to which I can add attributes.
它返回一个新的空类,我能向此空类添加属性。
The compiler still has to allocate space for the empty class, right?
编译器仍然必须为空类分配空间,对吧?
Note that when the first element is an empty class, compressed_pair_imp returns *this.
请注意,当第一个元素为空类时,compressed_pair_imp返回 *this。
Note that when the first element is an empty class, compressed_pair_imp returns *this.
请注意,当第一个元素为空类时,compressed_pair_imp返回 *this。
应用推荐