aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/_posts
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2018-02-18 01:39:54 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2018-02-18 02:31:58 +0300
commit3f86aa8f02ab3c13f636934f5fdb560d84339bce (patch)
treeeae46f24870172e3c5e21be38ff37f23ebe61742 /_posts
parentbump dependencies (diff)
downloadjekyll-theme-3f86aa8f02ab3c13f636934f5fdb560d84339bce.tar.gz
jekyll-theme-3f86aa8f02ab3c13f636934f5fdb560d84339bce.zip
enable post categories
Diffstat (limited to '_posts')
-rw-r--r--_posts/2015-07-03-std-call-once-bug.md1
-rw-r--r--_posts/2017-01-07-building-boost.md1
-rw-r--r--_posts/2017-06-24-static-vs-inline-vs-unnamed-namespaces.md3
3 files changed, 4 insertions, 1 deletions
diff --git a/_posts/2015-07-03-std-call-once-bug.md b/_posts/2015-07-03-std-call-once-bug.md
index 5bf276f..ea69439 100644
--- a/_posts/2015-07-03-std-call-once-bug.md
+++ b/_posts/2015-07-03-std-call-once-bug.md
@@ -5,6 +5,7 @@ excerpt: >
In this post I will describe a nasty bug I've stumbled upon in the C++
Standard Library implementation shipped with Microsoft Visual Studio
2012/2013.
+category: C++
custom_css:
- syntax.css
---
diff --git a/_posts/2017-01-07-building-boost.md b/_posts/2017-01-07-building-boost.md
index 4e28669..ba55ebe 100644
--- a/_posts/2017-01-07-building-boost.md
+++ b/_posts/2017-01-07-building-boost.md
@@ -4,6 +4,7 @@ layout: post
excerpt: >
This post describes the process of building Boost on Windows using either
Visual Studio or the combination of Cygwin + MinGW-w64.
+category: C++
custom_css:
- syntax.css
---
diff --git a/_posts/2017-06-24-static-vs-inline-vs-unnamed-namespaces.md b/_posts/2017-06-24-static-vs-inline-vs-unnamed-namespaces.md
index 8094c3d..6f9f3dc 100644
--- a/_posts/2017-06-24-static-vs-inline-vs-unnamed-namespaces.md
+++ b/_posts/2017-06-24-static-vs-inline-vs-unnamed-namespaces.md
@@ -4,6 +4,7 @@ layout: post
excerpt: >
Should I use <code>static</code>, <code>inline</code> or unnamed namespaces
for function definitions?
+category: C++
custom_css:
- snippets.css
- syntax.css
@@ -154,7 +155,7 @@ name, but are defined in different translation units.
{: .alert .alert-info }
`namespace {`
-------------------
+-------------
With respect to function definitions, unnamed namespaces are, according to my
understanding, quite similar to the `static` keyword.