aboutsummaryrefslogblamecommitdiffstatshomepage
path: root/_posts/snippets/static_vs_inline_vs_unnamed_namespaces/inline/weird/another.cpp
blob: 330ba80fe9e5ccb5a38f93ded1d0242b77af7777 (plain) (tree)
1
2
3
4
5
6
7
8
9



                      
                      


                                           
                

             
#include "another.hpp"

#include <iostream>

inline void shared() {
    std::cout << "another.cpp: shared()\n";
}

void another() {
    shared();
}