![]() |
OpenPFC
0.1.4
Phase Field Crystal simulation framework
|
Convert std::array to string representation. More...
#include <array>#include <cstddef>#include <sstream>#include <string>

Go to the source code of this file.
Functions | |
| template<typename T , std::size_t D> | |
| std::string | pfc::utils::array_to_string (const std::array< T, D > &arr) |
Convert std::array to string representation.
This header provides the array_to_string() template function for converting std::array<T, D> to a formatted string representation.
The function produces output in the format: {value1, value2, value3} which is useful for debugging, logging, and displaying array contents.