mirror of
https://github.com/CnTransGroup/EffectiveModernCppChinese.git
synced 2025-01-15 06:41:14 +08:00
commit
a71fbb9d7a
@ -12,7 +12,7 @@ bool f(const Widget& w); //decltype(w)是const Widget&
|
|||||||
|
|
||||||
struct Point{
|
struct Point{
|
||||||
int x; //decltype(Point::x)是int
|
int x; //decltype(Point::x)是int
|
||||||
int y; //decltype(Point:;y)是int
|
int y; //decltype(Point::y)是int
|
||||||
};
|
};
|
||||||
|
|
||||||
template<typename T>
|
template<typename T>
|
||||||
|
Loading…
Reference in New Issue
Block a user