mirror of
https://github.com/wuye9036/CppTemplateTutorial.git
synced 2024-03-22 13:11:16 +08:00
修正了一个示例的格式问题。
This commit is contained in:
parent
7819d831fd
commit
ebfe1dfb91
|
@ -1550,7 +1550,7 @@ template <typename T> struct Y
|
||||||
|
|
||||||
我们运用我们2.3.2节中学习到的标准,来对Y内部做一下分析:
|
我们运用我们2.3.2节中学习到的标准,来对Y内部做一下分析:
|
||||||
|
|
||||||
```
|
```C++
|
||||||
template <typename T> struct Y
|
template <typename T> struct Y
|
||||||
{
|
{
|
||||||
// X可以查找到原型;
|
// X可以查找到原型;
|
||||||
|
@ -1658,4 +1658,4 @@ alexandrescu 关于 min max 的讨论:《再谈Min和Max》
|
||||||
|
|
||||||
[1]: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2012/n3337.pdf
|
[1]: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2012/n3337.pdf
|
||||||
[2]: http://blog.llvm.org/2009/12/dreaded-two-phase-name-lookup.html
|
[2]: http://blog.llvm.org/2009/12/dreaded-two-phase-name-lookup.html
|
||||||
[3]: https://goo.gl/zCRNYx
|
[3]: https://goo.gl/zCRNYx
|
||||||
|
|
Loading…
Reference in New Issue
Block a user