35 #ifndef OPENMS_DATASTRUCTURES_LISTUTILSIO_H 36 #define OPENMS_DATASTRUCTURES_LISTUTILSIO_H 57 inline std::ostream& operator<<(std::ostream& os, const std::vector<T>& v)
60 const std::streamsize prec_save = os.precision();
67 std::copy(v.begin(), v.end() - 1, std::ostream_iterator<T>(os,
", "));
73 os.precision(prec_save);
78 template <
typename TString>
79 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:295
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:47