20 Commits

Author SHA1 Message Date
3a60c0abcf Improve static_assert snippet & increase sync minlines 2018-11-30 17:46:46 +00:00
446063c2e3 Add sizeof, decltype, and declval snippets 2018-11-30 17:46:46 +00:00
10fd48a703 Improve cpp template snippet 2018-08-26 10:51:11 +01:00
456e52467a Update C++ namespace snippet to match clang-format
New snippet outputs this

```cpp
namespace {
}  // namespace
```

instead of

```cpp
namespace {
}  // anonymous
```

and this

```cpp
namespace foo {
}  // namespace foo
```

instead of

```cpp
namespace foo {
}  // foo
```
2018-08-26 10:51:11 +01:00
83114d25a9 Add extern "C" block snippet 2018-08-26 10:51:11 +01:00
f4915efffd Add string_view c++ printf snippet 2018-08-26 10:51:11 +01:00
60664eaa16 Add std::printf and std::fprintf snippets 2018-08-26 10:50:07 +01:00
c727e7647a Allow C++ lambda snippet to be inline 2018-08-26 10:50:07 +01:00
1a2f732259 Add std::enable_if snippet 2018-08-26 10:49:14 +01:00
d0019fdc0d Improve C++ namespace snippet 2018-08-26 10:48:16 +01:00
dab43be08c Add noisy struct snippet 2018-08-26 10:42:42 +01:00
aaf73e3988 Allow C++ casts to be substring 2018-08-26 10:42:42 +01:00
b2f9c43e6a Change template snippet to use class not typename 2018-08-26 10:42:42 +01:00
1c08e92063 Improve C++ for loop snippet 2018-08-26 10:42:42 +01:00
69b97dc3d8 Add static_assert snippet 2018-08-26 10:42:41 +01:00
8ed09b1597 Add C++ lambda function snippet 2018-08-26 10:42:41 +01:00
b1af2d0eff Refactor C/C++ snippets 2018-08-26 10:42:41 +01:00
8fb6507c1c Add C++ cast snippets 2018-08-26 10:42:41 +01:00
02520a6a20 Simplify C++ class snippet 2018-08-26 10:42:41 +01:00
9d0a0f85f7 Add UltiSnips snippets 2018-08-26 10:36:05 +01:00