diff options
Diffstat (limited to 'development/c++.html')
-rw-r--r-- | development/c++.html | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/development/c++.html b/development/c++.html index 1f939d2..a478e7b 100644 --- a/development/c++.html +++ b/development/c++.html @@ -160,6 +160,13 @@ // force compile error typename decltype(foo)::_; </code></pre> +<h2><a class="header" href="#variadic-templates-a-hrefhttpsencppreferencecomwcpplanguageparameter_packparameter-packa" id="variadic-templates-a-hrefhttpsencppreferencecomwcpplanguageparameter_packparameter-packa">Variadic templates (<a href="https://en.cppreference.com/w/cpp/language/parameter_pack">parameter pack</a>)</a></h2> +<pre><code class="language-cpp">{{#include c++/meta.cc:3:}} +</code></pre> +<h2><a class="header" href="#a-hrefhttpsencppreferencecomwcpplanguagesfinaesfinaea-example-a-hrefhttpsencppreferencecomwcpptypesenable_ifenable_ifa" id="a-hrefhttpsencppreferencecomwcpplanguagesfinaesfinaea-example-a-hrefhttpsencppreferencecomwcpptypesenable_ifenable_ifa"><a href="https://en.cppreference.com/w/cpp/language/sfinae">SFINAE</a> example (<a href="https://en.cppreference.com/w/cpp/types/enable_if">enable_if</a>)</a></h2> +<pre><code class="language-cpp">{{#include c++/meta2.cc:3:}} + +</code></pre> </main> |