Some repositories couldn't be updated, please check application logs for details.
BadCredentialsException: 401 {"message": "Bad credentials", "documentation_url": "https://docs.github.com/rest", "status": "401"}

aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/_posts/snippets/static_vs_inline_vs_unnamed_namespaces/inline/shared.hpp
blob: 91313f2d2f8b2113ddfd6031f3f1f45284b19870 (plain) (blame)
1
2
3
4
5
6
7
#pragma once

inline int shared()
{
    static int n = 0;
    return ++n;
}