SpECTRE Documentation Coverage Report
Current view: top level - Utilities - GetOutput.hpp Coverage Total Hit
Commit: 0d1d717af84a81fb1284a20c4013708fe85cc2f0 Lines: 50.0 % 2 1
Test Date: 2026-10-22 17:29:42
Legend: Lines:     hit not hit

            Line data    Source code
       1            0 : // Distributed under the MIT License.
       2              : // See LICENSE.txt for details.
       3              : 
       4              : #pragma once
       5              : 
       6              : #include <sstream>
       7              : #include <string>
       8              : 
       9              : /*!
      10              :  * \ingroup UtilitiesGroup
      11              :  * \brief Get the streamed output of `t` as a `std::string`
      12              :  */
      13              : template <typename T>
      14            1 : std::string get_output(const T& t) {
      15              :   std::ostringstream os;
      16              :   os << t;
      17              :   return os.str();
      18              : }
        

Generated by: LCOV version 2.0-1