SpECTRE Documentation Coverage Report
Current view: top level - Utilities - Literals.hpp Hit Total Coverage
Commit: 817e13c5144619b701c7cd870655d8dbf94ab8ce Lines: 2 2 100.0 %
Date: 2024-07-19 22:17:05
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