diff options
-rw-r--r-- | styleguide/c++/c++11.html | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/styleguide/c++/c++11.html b/styleguide/c++/c++11.html index 80e99d8..8cfc013 100644 --- a/styleguide/c++/c++11.html +++ b/styleguide/c++/c++11.html @@ -185,12 +185,22 @@ codebase. <td><code>constexpr</code></td> <td>Compile-time constant expressions</td> <td>TODO: documentation link</td> -<td>Doesn't work in MSVS2013. Reevalute once it does.<a +<td>Doesn't work in MSVS2013. Reevalute once it does. <a href="https://google-styleguide.googlecode.com/svn/trunk/cppguide.html#constexpr">Google Style Guide on <code>constexpr</code></a></td> </tr> <tr> +<td>Explicit Conversion Operators</td> +<td><code>explicit operator <i>type</i>() { +<br /> // code<br /> }</code></td> +<td>Allows conversion operators that cannot be implicitly invoked</td> +<td><a href="http://en.cppreference.com/w/cpp/language/explicit"> +explicit specifier</a></td> +<td><a href="https://connect.microsoft.com/VisualStudio/feedback/details/811334/bug-in-vs-2013-support-for-explicit-conversion-operators">Doesn't work in MSVS2013</a>. Reevaluate once it does. <a href="https://groups.google.com/a/chromium.org/d/msg/chromium-dev/zGF1SrQ-1HQ/BAiC12vwPeEJ">Discussion thread</a></td> +</tr> + +<tr> <td>Function Local Variable</td> <td><code>__func__</code></td> <td>Provides a local variable of the name of the enclosing @@ -346,16 +356,6 @@ std::exception</a></td> </tr> <tr> -<td>Explicit Conversion Operators</td> -<td><code>explicit operator <i>type</i>() { -<br /> // code<br /> }</code></td> -<td>Allows conversion operators that cannot be implicitly invoked</td> -<td><a href="http://en.cppreference.com/w/cpp/language/explicit"> -explicit specifier</a></td> -<td></td> -</tr> - -<tr> <td>Function Suppression</td> <td><code><i>Function</i>(<i>arguments</i>) = delete;</code></td> <td>Suppresses the implementation of a function, especially a |