51 std::ostringstream ss;
53 debug_assert_valid_ptr();
55 ss.setf (std::ios::scientific);
64 if (i + 1 < size ()) {
77 std::ostringstream ss;
79 debug_assert_valid_ptr();
81 ss.setf (std::ios::scientific);
90 if (i + 1 < size ()) {
103 std::ostringstream ss;
105 debug_assert_valid_ptr();
107 ss.setf (std::ios::scientific);
114 for (
size_type i = 0; i < size (); ++i) {
115 ss << operator[] (i);
116 if (i + 1 < size ()) {
129 std::ostringstream ss;
131 debug_assert_valid_ptr();
133 ss.setf (std::ios::scientific);
140 for (
size_type i = 0; i < size (); ++i) {
141 ss << operator[] (i);
142 if (i + 1 < size ()) {
std::string toString() const
Convert an ArrayView<T> to an std::string
Ordinal size_type
Type representing the number of elements in an ArrayRCP or view thereof.
#define TEUCHOSCORE_LIB_DLL_EXPORT
TypeTo as(const TypeFrom &t)
Convert from one value type to another.