ChaiScript / ChaiScript

@@ -40,12 +40,6 @@
Loading
40 40
      {
41 41
      }
42 42
43 -
      template<>
44 -
      constexpr explicit Function_Params(const std::array<Boxed_Value, size_t{0}> &a)
45 -
        : m_begin(nullptr), m_end(nullptr)
46 -
      {
47 -
      }
48 -
49 43
      [[nodiscard]] constexpr const Boxed_Value &operator[](const std::size_t t_i) const noexcept {
50 44
        return m_begin[t_i];
51 45
      }
@@ -80,6 +74,13 @@
Loading
80 74
81 75
  };
82 76
77 +
  // Constructor specialization for array of size 0
78 +
  template<>
79 +
  constexpr Function_Params::Function_Params(const std::array<Boxed_Value, size_t{0}> &a)
80 +
    : m_begin(nullptr), m_end(nullptr)
81 +
  {
82 +
  }
83 +
83 84
}
84 85
85 86
Files Coverage
include/chaiscript 90.95%
src 72.79%
static_libs 100.00%
unittests 45.97%
Project Totals (60 files) 69.78%
1161.3
TRAVIS_OS_NAME=linux

No yaml found.

Create your codecov.yml to customize your Codecov experience

Sunburst
The inner-most circle is the entire project, moving away from the center are folders then, finally, a single file. The size and color of each slice is representing the number of statements and the coverage, respectively.
Icicle
The top section represents the entire project. Proceeding with folders and finally individual files. The size and color of each slice is representing the number of statements and the coverage, respectively.
Grid
Each block represents a single file in the project. The size and color of each block is represented by the number of statements and the coverage, respectively.
Loading