aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/development/c++.md
diff options
context:
space:
mode:
Diffstat (limited to 'src/development/c++.md')
-rw-r--r--src/development/c++.md17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/development/c++.md b/src/development/c++.md
index d9fbbda..4ce1538 100644
--- a/src/development/c++.md
+++ b/src/development/c++.md
@@ -10,3 +10,20 @@ auto foo = bar();
typename decltype(foo)::_;
```
+## Variadic templates ([parameter pack][parameter-pack])
+
+```cpp
+{{#include c++/meta.cc:3:}}
+```
+
+## [SFINAE][sfinae] example ([enable_if][enable-if])
+
+```cpp
+{{#include c++/meta2.cc:3:}}
+
+```
+
+[gist-strict-asliasing]: https://gist.github.com/shafik/848ae25ee209f698763cffee272a58f8
+[parameter-pack]: https://en.cppreference.com/w/cpp/language/parameter_pack
+[enable-if]: https://en.cppreference.com/w/cpp/types/enable_if
+[sfinae]: https://en.cppreference.com/w/cpp/language/sfinae