mirror of
https://github.com/CnTransGroup/EffectiveModernCppChinese.git
synced 2026-09-04 07:12:45 +08:00
@@ -12,7 +12,7 @@ bool f(const Widget& w); //decltype(w)是const Widget&
|
||||
|
||||
struct Point{
|
||||
int x; //decltype(Point::x)是int
|
||||
int y; //decltype(Point:;y)是int
|
||||
int y; //decltype(Point::y)是int
|
||||
};
|
||||
|
||||
template<typename T>
|
||||
|
||||
Reference in New Issue
Block a user