SpECTRE Documentation Coverage Report
Current view: top level - Utilities - Literals.hpp Hit Total Coverage
Commit: 3c072f0ce967e2e56649d3fa12aa2a0e4fe2a42e Lines: 2 2 100.0 %
Date: 2024-04-23 20:50:18
Legend: Lines: hit not hit

          Line data    Source code
       1           1 : // Distributed under the MIT License.
       2             : // See LICENSE.txt for details.
       3             : 
       4             : /// \file
       5             : /// Defines useful literals
       6             : 
       7             : #pragma once
       8             : 
       9             : #include <string>
      10             : 
      11             : using namespace std::literals::string_literals;  // NOLINT
      12             : 
      13             : /// \ingroup UtilitiesGroup
      14             : /// Defines the _st size_t suffix
      15           1 : inline constexpr size_t operator"" _st(const unsigned long long n) {  // NOLINT
      16             :   return static_cast<size_t>(n);
      17             : }

Generated by: LCOV version 1.14