SpECTRE Documentation Coverage Report
Current view: top level - Utilities - ContainsAllocations.hpp Hit Total Coverage
Commit: 3c072f0ce967e2e56649d3fa12aa2a0e4fe2a42e Lines: 2 3 66.7 %
Date: 2024-04-23 20:50:18
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 <complex>
       7             : 
       8             : /// Check whether an object contains memory allocations.  Classes can
       9             : /// add overloads as needed.
      10             : /// @{
      11           1 : inline bool contains_allocations(const double /*value*/) { return false; }
      12           1 : inline bool contains_allocations(const std::complex<double> /*value*/) {
      13             :   return false;
      14             : }
      15             : /// @}

Generated by: LCOV version 1.14