index
:
blog
2015
2016
2017
2018
2019
gh-pages
master
redirect
My blog
Egor Tensin
about
summary
refs
log
blame
commit
diff
stats
homepage
log msg
author
committer
range
path:
root
/
_posts
/
snippets
/
static_vs_inline_vs_unnamed_namespaces
/
static
/
shared.hpp
blob: 647f49e64fbddbe184a39aee7006af0f0340be62 (
plain
) (
tree
)
9b3ad53
4759d2a
9b3ad53
1
2
3
4
5
6
#pragma once
static
int
shared
()
{
static
int
n
=
0
;
return
++
n
;
}