mirror of
https://github.com/CnTransGroup/EffectiveModernCppChinese.git
synced 2025-01-14 22:30:25 +08:00
commit
a71fbb9d7a
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user