gambit is hosted by Hepforge, IPPP Durham
GAMBIT  v1.5.0-252-gf9a3f78
a Global And Modular Bsm Inference Tool
stream_overloads.cpp
Go to the documentation of this file.
1 // GAMBIT: Global and Modular BSM Inference Tool
2 // *********************************************
22 
24 
25 namespace Gambit
26 {
27 
29  std::string spacing(int len, int maxlen)
30  {
31  int offset = 0;
32  if (len < maxlen) {offset=maxlen-len;}
33  return std::string(offset+5,' ');
34  }
35 
36 }
37 
Define overloadings of the stream operator for various containers.
TODO: see if we can use this one:
Definition: Analysis.hpp:33
std::string spacing(int, int)
Spacing utility for stream overloads.