Advertisement
Guest User

aswerg

a guest
Apr 6th, 2016
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. //globals.h
  2. namespace Globals {
  3. bool _use_shares();
  4. static const bool use_shares = _use_shares();
  5. }
  6.  
  7. //globals.cpp
  8. bool Globals::_use_shares()
  9. {
  10.     bool b;
  11.     //do stuff
  12.     return b;
  13. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement