Minor C++11 doc change

This commit is contained in:
William S Fulton 2014-10-21 08:02:25 +01:00
commit f84e1f823b

View file

@ -506,7 +506,7 @@ This is usually not a problem, however,
there may be some name clashes. For example, the following code:</p> there may be some name clashes. For example, the following code:</p>
<div class="code"><pre> <div class="code"><pre>
class Color { struct Color {
enum class PrintingColors : unsigned int { enum class PrintingColors : unsigned int {
Cyan, Magenta, Yellow, Black Cyan, Magenta, Yellow, Black
}; };
@ -611,6 +611,7 @@ The following is an example of an alias template:
<div class="code"><pre> <div class="code"><pre>
template&lt; typename T1, typename T2, int &gt; template&lt; typename T1, typename T2, int &gt;
class SomeType { class SomeType {
public:
T1 a; T1 a;
T2 b; T2 b;
int c; int c;