56 inline std::ostream& operator<<(std::ostream& os, const std::vector<T>& v)
59 const std::streamsize prec_save = os.precision();
66 std::copy(v.begin(), v.end() - 1, std::ostream_iterator<T>(os,
", "));
72 os.precision(prec_save);
77 template <
typename TString>
78 inline std::vector<String>& operator<<(std::vector<String>& sl,
const TString& string)
Int writtenDigits(const FloatingPointType &=FloatingPointType())
Number of digits commonly used for writing a floating point type (a.k.a. precision). Specializations are defined for float, double, long double.
Definition: Types.h:294
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:46